View Single Post
  #52  
Old March 13th 12, 10:10 PM posted to microsoft.public.win98.gen_discussion,microsoft.public.windowsxp.general,comp.os.msdos.programmer
Franc Zabkar
External Usenet User
 
Posts: 1,702
Default Running an old DOS program

On Fri, 9 Mar 2012 08:07:02 -0800 (PST), Industrial One
put finger to keyboard and composed:

On Mar 9, 2:36*am, Franc Zabkar wrote:
On Thu, 8 Mar 2012 09:06:13 -0800 (PST), Industrial One
put finger to keyboard and composed:

So I download DOS 7.1, then what? Do I have to install this on a thumb
drive to boot from it, and then do I cd to the directory with the
program I wanna run?


The program is not a game, btw. It's an emulator that runs ROMs
(games).


You could boot DOS from a USB drive or CD, and then create a RAM disk
via a line in autoxec.bat. If your app requires TEMP space, then SET
the TEMP directory to your RAM disk. Otherwise, if your app writes to
some other directory on the disc, then copy your app to your RAM drive
and launch it from there instead. All this could be done automatically
via appropriate lines in autoexec.bat.

If you could be more specific, perhaps one of us could expand on this
for you.

BTW, how much disc space does your DOS app occupy and how much RAM
does it require?


The application itself is around 300 KB, the roms are between 2 to 6
MB. RAM usage shouldn't be above 60 MB.

I set up DOS 7.1 with Virtualbox because this was more intuitive than
having to restart the comp every time to get around issues. This
virtualization **** is kinda cool, the only disappointing thing is the
fact that I can't browse my regular OS from it. The only way I could
copy files to the virtual DOS is making a CD ISO of the directory with
my app and loading from there.

This has failed, though. There is no sound and the emulator freezes
the moment I tried to load a game. How do you set color depth on
Virtualbox btw? It says its on 32-bit and needs 16-bit but I don't see
such option anywhere.


ISTM that you could follow the procedure used by Seagate in its
firmware updates. These packages boot to FreeDOS. They then create a
RAM drive and copy their executables to it. The program is then
launched from the RAM drive.

Some CD ISO based update packages incorporate a 1.44MB floppy diskette
image, while others incorporate a HDD image.

You can see what I mean if you use IsoBuster, Winimage, and 7-Zip to
analyse Seagate's CD ISOs:
http://seagate.custkb.com/seagate/cr...p?DocId=207931

- Franc Zabkar
--
Please remove one 'i' from my address when replying by email.