Mail Archives: djgpp/1998/08/28/22:15:31
Thomas J. Hruska wrote:
>
> I'm writing a spreadsheet block converter in Borland Turbo C (16-bit) which
> I will compile under DJGPP once I've got it working. DJGPP has poor
> error/warning alerts compared to Borland's (I use the IDE in both cases).
Without trying to argue with you, I want to ask if you've used the full
warning options that gcc has to offer. Before doing this comparison,
make sure to check the -Wall and -O switches in the compiler options.
If you _really_ want gcc to generate warnings, add -W, -ansi, and/or
-pedantic. :-)
> How badly is the performance cut since I only want to let the user know
> that the program is working and to please wait? Since most of the activity
> of the program is hard drive related (and some blocks can take 5-10 seconds
> to process in a 16-bit environment), I figured 32-bit was the best way to
> go to speed things up a bit.
>
> How long does it take to switch to and from real mode?
It depends largely on the speed of the system, from what I understand.
However, have you considered using the <conio.h> functions for this kind
of busy wait output? They are much more suited for the task than stdio
functions.
--
John M. Aldrich, aka Fighteer I <fighteer AT cs DOT net> UIN# 7406319
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS d- s+:- a-->? C++>$ U@>++$ p>+ L>++ E>++ W++ N++ o+>++ K? w(---)
O- M-- V? PS+ PE Y+ PGP- t+(-) 5- X- R+(++) tv+() b+++ DI++ D++ G>++
e(*)>++++ h!() !r !y+()
------END GEEK CODE BLOCK------
- Raw text -