Mail Archives: djgpp/2000/07/20/22:31:35.1
On Thu, 20 Jul 2000 20:10:30 -0400, Nick DiToro <NDiToro AT ati DOT com>
wrote:
>I write diagnostics code at ATI (a graphics card company)
<slashdot>
I forget: Does ATI open-source its drivers?
</slashdot>
>and we use the Watcom 11.0a compiler to create DOS-extended dos4gw
>executables. Watcom is no longer supported
That is, unless you count the powersoft.* groups.
>and we are using GNU tools for other aspects of the project I am
>working on.
Good choice.
>I am thinking about recommending that we switch to the DJGPP compiler
>in order to minimize some porting, to get better optimizations
Watcom is better at some things; GCC is better at other things.
>1) How tough is it to port Watcom code?
Going from Watcom-based Doom to DJGPP-based Quake was not that much
bother for id Software :-)
>Ours is DPMI 0.9 based
That should make it easier.
>We have about 120k executable lines of code to port. Porting the
>assembly code is going to stink because of the different formats used.
>Has anybody had to do this in the past?
NASM the Netwide Assembler should help you. It uses the same Intel
syntax that most other x86 assemblers use.
>2) We sometimes run Watcom executables under Win 9x in a DOS box. As long
>as win 9x does not grab and use the hardware we are running the diagnostic
>on, this seems to work fine. Is this possible with CWSDPMI ?
Provided you used DPMI to get at the device's RAM, you should be ok.
>4) I would like to learn more about DJGPP and the go 32 DOS extender. DJ's
>web site has been a great resource. Can anybody point me to any other
>resources (other than those listed on the web site)? (Books, magazine
>articles, etc.)
A short go32-like extender is part of the DJGPP 2.x startup code.
--
Damian Yerrick
"I refuse to listen to those who refuse to listen to reason."
See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html
This is McAfee VirusScan. Add these two lines to your signature to
prevent the spread of signature viruses. http://www.mcafee.com/
- Raw text -