[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-msdos
Subject:    Re: Optimizing DosEmu
From:       jt () npdaxp ! fuw ! edu ! pl
Date:       1999-10-25 12:30:29
[Download RAW message or body]

> From: ebiederm+eric@ccr.net (Eric W. Biederman)
> Date: 24 Oct 1999 14:46:11 -0500

> Bill <bkuker@marblehead.com> writes:
> > I am looking for a resource on optimizing dosemu.. Is there one on the
> > How can I keep performance good in the individual dos session (text
> > game, remember lord) with 20+ dosemu's running?  the program is 16bit
> > turbo pascal compiled... can I, for instance, make a dosemu run no
> > better than a 20mhz 386 w/ 640k (fine for this game) so more dosemu's
> > can run on a machine?
> Read about Hogthreshold.

There is a problem what the program does most of the time.
Simple using Hogthreshold helps in case it reads from keyboard
using DOS calls. In case the program directly uses BIOS setting
Hogthreshold is unefficient. I used an assembly program which
called some DosEmu function (I don't remember its name or code,
but it was just for short sleep) on INT 16h, and this helped.

Just the program I had trouble with used INT 16h AH=1 to check
if there is input from keyboard in its idle loop, and this way
it wasted a lot of CPU time. It was some database application.

I suppose game can have similar problem, or even worse: it may
read from keyboard by connecting to INT 9 (IRQ1).

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic