Mail Archives: djgpp/1997/10/30/08:50:35
Simon DOT zalar AT guest DOT arnes DOT si wrote:
> Hi all!
> I would like to know how to run a program written with DJGPP under DOS.
Type the name of the program at the command line and press enter.
> Is there anything quicker and easyer than DPMI server?
First, you may not use anything but DPMI. Second, there is nothing slow or
uneasy about DPMI. A DOS extender can be insanely complicated (and anyway,
you put onerous restrictions on how a program may be run) and can be
slower.
> How did they do it with Quake?
Obviously, they used DPMI, since the program is compiled with DJGPP.
> I made a proggy that counts from 1 to 10.000 and ran it on win95.
> It took it 9 sec. I wrote the same program with Qbasic and it
> took only 4.5 sec. Where is the catch?
Mmmhmm. And your conclusion is what? How long did it take to start-up and
initilize QBasic? Did you include this time in the execution time for your
(-extremely- trivial) program? If not, why not? If you timed the execution
of your DJGPP program from enter-press to command prompt, you included
start-up and initilization time for -it-.
--
[- firewind -]
[- email: firewind AT metroid DOT dyn DOT ml DOT org (home), firewind AT aurdev DOT com (work) -]
[- "You're just jealous because the voices talk to -me-." -]
[- Have a good day, and enjoy your C. -]
[- (on a crusade of grumpiness where grumpiness is due) -]
- Raw text -