Legacy Hardware Support in OS

Discussions on more advanced topics such as monolithic vs micro-kernels, transactional memory models, and paging vs segmentation should go here. Use this forum to expand and improve the wiki!
Post Reply
User avatar
trinopoty
Member
Member
Posts: 87
Joined: Wed Feb 09, 2011 2:21 am
Location: Raipur, India

Legacy Hardware Support in OS

Post by trinopoty »

Doing some research on the net, I found that we need not provide support for PIC, PIT in OS. The hardware have become useless these days.
So, we should discourage anyone from using these legacy hardware as long as they are not specifically targeting pre Pentium 4 systems. These hardware will be completely removed in the future.

I want your views about this.
User avatar
bluemoon
Member
Member
Posts: 1761
Joined: Wed Dec 01, 2010 3:41 am
Location: Hong Kong

Re: Legacy Hardware Support in OS

Post by bluemoon »

trinopoty wrote:I want your views about this.
One should do all his/her research on those hardware for his/her own project and have his/her own design choice.
My opinion is no one need to discourage any other for anything.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Legacy Hardware Support in OS

Post by Combuster »

+1

It's unwise to see a particular attitude as universally superior. Some things are generally better, but even now the typical second-hand machine you'll be laying your hands on will want to be pit-pic programmed which makes your alternative infeasible for the majority until the cellar's computer is quite consistently a dual-core.

That particular bit of logic in turn includes the assumption that the best way of testing includes a dedicated second machine, and that all developers are scrooges, which obviously makes it nowhere near the universal superior solution either :wink:
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
Antti
Member
Member
Posts: 923
Joined: Thu Jul 05, 2012 5:12 am
Location: Finland

Re: Legacy Hardware Support in OS

Post by Antti »

trinopoty wrote:I found that we need not provide support for PIC, PIT in OS.
It is good if we support them. Of course it is more and more important that we also support systems not having them.
Combuster wrote:It's unwise to see a particular attitude as universally superior.
I agree.
OSwhatever
Member
Member
Posts: 595
Joined: Mon Jul 05, 2010 4:15 pm

Re: Legacy Hardware Support in OS

Post by OSwhatever »

If you don't want to write drivers for PIC and PIT, that's up to you. If you have designed your OS in a good way, you will be able to change the interrupt and timer driver with very little effort, then you can always come back later and add support for them if you want. That's what I like about software engineering, you're not stuck, you can always change.
gerryg400
Member
Member
Posts: 1801
Joined: Thu Mar 25, 2010 11:26 pm
Location: Melbourne, Australia

Re: Legacy Hardware Support in OS

Post by gerryg400 »

I found that we need not provide support for PIC, PIT in OS
If you're writing an OS for a Bios-based machine you must support the PIC and PIT. They may already be in a state that requires that you do something.

Of course that something may be to carefully disable and then ignore them.
If a trainstation is where trains stop, what is a workstation ?
Casm
Member
Member
Posts: 221
Joined: Sun Oct 17, 2010 2:21 pm
Location: United Kingdom

Re: Legacy Hardware Support in OS

Post by Casm »

trinopoty wrote:Doing some research on the net, I found that we need not provide support for PIC, PIT in OS. The hardware have become useless these days.
So, we should discourage anyone from using these legacy hardware as long as they are not specifically targeting pre Pentium 4 systems. These hardware will be completely removed in the future.

I want your views about this.
I wouldn't count on them being removed. Today's PCs can still run MS-D0S version 1.00. Backwards compatibility figures big in the PC world.

People can design their operating system anyway they want. You could argue that, with the advent of PCI Express, and message signalled interrupts, the I/O APIC will soon be of pensionable age.
linguofreak
Member
Member
Posts: 510
Joined: Wed Mar 09, 2011 3:55 am

Re: Legacy Hardware Support in OS

Post by linguofreak »

Casm wrote:I wouldn't count on them being removed. Today's PCs can still run MS-D0S version 1.00.
Dubiously: AFAIR, DOS 1.00 doesn't much like being booted off of anything other than 5.25" floppies, and most modern machines come with 3.5" drives if they have a floppy drive at all (which isn't to say you can't put one in, but nevertheless, most modern PC's won't run DOS 1.00 straight out of the factory).
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Legacy Hardware Support in OS

Post by Combuster »

Well, if you have used an original copy of DOS 1.0 it means you have a 5¼ floppy drive somewhere, right? :mrgreen:
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
freecrac
Member
Member
Posts: 69
Joined: Thu Sep 20, 2012 5:11 am
Location: germany hamburg

Re: Legacy Hardware Support in OS

Post by freecrac »

Combuster wrote:Well, if you have used an original copy of DOS 1.0 it means you have a 5¼ floppy drive somewhere, right? :mrgreen:
On my board there is no connection for a floppy drive. I can only boot from a hdd, CD, or USB device.

Alternatives:
Booting a CD we can use an emulations of a floppy.
Picture of a WinImage window
Image

For booting USB-Sticks we can the "HP usb disk storage format tool"
Image

But i hope nobody will try to use a MSDOS version lower than version 5, because there are many applications that based on version 5 or an above version of MSDOS or compatible.

....

One member of the german dosforum suggest that there is a greater jitter using the timerinterrupt with an own ISR and with an adjusted intervall of 1000 times/second and when the USB lagacy is enabled in the bios.
With disabled he become a lower jitter lesser than 3 microseconds and with enabled the jitter is above 1500 microseconds tested on three different boards.

Dirk
linguofreak
Member
Member
Posts: 510
Joined: Wed Mar 09, 2011 3:55 am

Re: Legacy Hardware Support in OS

Post by linguofreak »

Combuster wrote:Well, if you have used an original copy of DOS 1.0 it means you have a 5¼ floppy drive somewhere, right? :mrgreen:
I've used floppy images under VirtualBox exactly because I do not have a 5.25" floppy drive somewhere.
tom9876543
Member
Member
Posts: 170
Joined: Wed Jul 18, 2007 5:51 am

Re: Legacy Hardware Support in OS

Post by tom9876543 »

I am guessing that MS-DOS 3.30 would be the minimum for today's computers.

I guess from memory, MS-DOS 1 and 2 wouldn't support 3.5" disk drives and/or FAT16 for the hard drive.
halofreak1990
Member
Member
Posts: 41
Joined: Thu Aug 09, 2012 5:10 am

Re: Legacy Hardware Support in OS

Post by halofreak1990 »

Like others before me said, you should base the decision what hardware to support based on your OSs minimum system requirements.

For me, that is a Pentium 3 compatible CPU with SSE, including the original Xbox console, which still have PICs and the PIT alongside any possible APIC units.
<PixelToast> but i cant mouse

Porting is good if you want to port, not if you want maximum quality. -- sortie
rdos
Member
Member
Posts: 3297
Joined: Wed Oct 01, 2008 1:55 pm

Re: Legacy Hardware Support in OS

Post by rdos »

trinopoty wrote:Doing some research on the net, I found that we need not provide support for PIC, PIT in OS. The hardware have become useless these days.
So, we should discourage anyone from using these legacy hardware as long as they are not specifically targeting pre Pentium 4 systems. These hardware will be completely removed in the future.

I want your views about this.
Completely false. We will still see PCs without APICs for many years. Both as used PCs, and as embedded computers that often uses AMD Geode, which doesn't have an APIC. Some new embedded PCs uses Intel Atom, but that processor is not much faster than AMDs Geode, so I doubt it will replace it anytime soon.
Post Reply