Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have certain old DOS-era programs that expect to be able to bang on hardware directly, specifically, the printer port. These cannot be run in an NTVDM under 2K, XP or later, since the NTVDM environment doesn't give the programs direct access to hardware.

An obvious solution would be to use a derelict PC to run DOS 6.22 or Win 95/98, either of which would support direct I/O access. Problem with this being, I don't have any hardware I want to commit to running such an old OS, essentially just to run a couple of 1990's era hardware utilities.

The next most obvious solution would be to temporarily boot a system into an old OS, just on those occasions when the old utilities are needed. I know DOS 6.22 could boot from a floppy, but the problem with that is finding a machine that still has a floppy drive at all, let alone a reliable floppy.

So the idea occurred, what about running Win95 or Win98 from a CD, like a Linux live CD? And that's my question: first, is it even possible to do it, and if so, how does one proceed? Alternately, any way to run these from a flash drive would be welcome as well.

Some light searching only turned up some dubious looking results. I'm not asking to download a free copy of an OS, here, mind you. I already have W95 and W98 install media on hand, I'd just like to know if there's a way to configure a live CD for either of these. (And I assumed the answer for DOS 6.22 is flat out 'no', since DOS didn't even understand CD drives w/o extensions)

share|improve this question
7  
How about running it on a Virtual Machine? –  The_aLiEn Feb 19 '12 at 15:11
1  
@The_aLiEn - are there any that allow for direct access to the printer I/O port? I'm not aware of any that do. –  JustJeff Feb 19 '12 at 17:38
1  
@JustJeff There are forks of DOSBox that capture the DOS printer calls and redirect to the Windows print system. Check out Using a printer in Dosbox –  Ƭᴇcʜιᴇ007 Feb 19 '12 at 19:52
1  
Sounds like he needs the paralell port to program some EEPROMS or other stuff. Thing is about the paralell port is that there is no chip in between the port and the register that reads it's status, unlike every other port that has a UART, OHCI/EHCI/UHCI, RAMDAC/I2C EDID, etc. Put so many volts on one of the paralell port wires, a bit in a register goes from one to zero. So it's useful for all sorts of hobbyist electronics things. Anyway, DOS printer redirects won't do anything for this. –  ultrasawblade Feb 19 '12 at 22:10
    
@ultrasawblade Then it is a different approach... First four results in searching in google for "how to access parallel port directly in xp" gives enough information about direct I/O usage under NT based systems. –  The_aLiEn Feb 20 '12 at 1:47

3 Answers 3

up vote 3 down vote accepted

It's possible to boot DOS from a CD if the CD is properly burned with the required "El Torito" extensions and the BIOS supports "floppy emulation" and your BIOS is one of the 3 or 4 out of thousands that isn't buggy in this area.

It sounds like a mess, and the one time I tried to get a DOS CD to boot I had problems and don't even remember how to do it. But it is possible.

share|improve this answer

I found a Windows 98 "LiveCD" project here:

Based on WinBuilder.

This project creates a bootable image of Windows 98 SE, based on Mindows, with only 23MB.

enter image description here

Perhaps you can make some use of it. :)

share|improve this answer

If you have an image of the DOS 6.22 floppy, several boot managers can load floppy images e.g. GRUB4DOS ( https://sites.google.com/site/grubdos/ and http://diddy.boot-land.net/grub4dos/files/boot.htm#floppy ) or SYSLINUX + MEMDISK ( http://www.syslinux.org/wiki/index.php/MEMDISK )

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.