View Single Post
  #58  
Old April 6th 12, 05:49 PM posted to microsoft.public.win98.gen_discussion,microsoft.public.windowsxp.general,comp.os.msdos.programmer
Ronald Phillips
external usenet poster
 
Posts: 1
Default Running an old DOS program

On Mar 30, 8:45*pm, Industrial One wrote:
On Mar 30, 9:37*pm, Rugxulo wrote:

Hi,


Industrial One wrote:


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


60 MB? Okay, not that surprised, even DJGPP stuff uses a lot these
days, but it seems overkill for a few MB of data.


It was overkill actually, I set up a new VM with DOS 6.22 with 32 MB
of RAM this time and it works perfectly time. 60 MB was my upper
guestimate.

You may be able to use MS NET and/or an FTP server. Check
lazybrowndog's networking guide. (Or if you later try VMware, then try
Eduardo's VMSMOUNT tool.)


http://lazybrowndog.net/freedos/virtualbox/


Good to know, but it's allright. I never used a VM before so I
completely missed the point behind it which was to isolate itself
completely from the OS yet be operated from it. I thought it would
just be another directory on my hard disk where the files can be
manipulated from my physical OS.

I managed to install Soundblaster finally (I hate having a thousand
choices) and figured out why the sound was cracking up. When I set
core affinity to 1 the sound stopped crackling and was perfect. What
does core affinity have to do with sound quality, does anybody know?


In what, Windows orDOSBox? I'm not big on Windows internals, but I
thinkDOSBoxuses SDL, and later versions (1.3 ??) are multi-
threaded / multi-core or whatever for better performance, though
DOSBoxitself isn't. So maybe?? that's why? (Confusing.)


In the DOS VM, but onDOSBoxtoo and this has happened with other
programs too. Could it be that my audio drivers are multithreaded or
something? I'm genuinely curious. This hasn't happened to anyone else,
apparently.


Almost all old programs do not use multiple threads. Setting affinity
to a single thread (or using Windows compatibilities modes which does
this automagically) is a common technique to get games to work that
don't like multiple processors.