[comp.os.msdos.programmer] djG++ emu387 and graphics drivers

harryc@cs.uq.oz.au (Harry Courtice) (05/24/91)

      I have two questions about djgpp for DOS. Any help appreciated.

   1.  To use the emu387 library, what do I compile, and how do I link 
     in the compiled library to my programs. I've checked the readme files
     but can find no clues there. 


   2.  I have rewritten the paradise.asm file to incorporate several 
     modes included on my paradise card. (ie 800x600, 1024x768). 
       How do I compile this to a .grd file?? 

		 
                Thanks in advance. 


		Harry Courtice (harryc@cs.uq.oz.au).

sorrow@oak.circa.ufl.edu (05/24/91)

In article <1589@uqcspe.cs.uq.oz.au>, harryc@cs.uq.oz.au (Harry Courtice) writes:
|>
|>      I have two questions about djgpp for DOS. Any help appreciated.
|>
|>   1.  To use the emu387 library, what do I compile, and how do I link 
|>     in the compiled library to my programs. I've checked the readme files
|>     but can find no clues there. 
|>

Whoa!  Last time I checked GCC 386 didn't do floating point except with
a coprocessor?  Has a new release been released?  What does it have that is
new.

Brian

/*
Brian Hook -- MS-DOS Programmer for Contract
-----------------------------------------------------------------
"I was in the kitchen, Seamus, that's my dog, was outside....and buried
ALIVE....fritter and waste...but this one goes to 11!....anymore of that
plutonium nyborg?....SNOW TIME!....Hi, I'm Ramona....
*/

dj@ctron.com (DJ Delorie) (05/24/91)

In article <1589@uqcspe.cs.uq.oz.au>, harryc@cs.uq.oz.au (Harry Courtice) writes:
>       I have two questions about djgpp for DOS. Any help appreciated.

I also field djgpp questions at dj@ctron.com, my usual mail address.

>    1.  To use the emu387 library, what do I compile, and how do I link 
>      in the compiled library to my programs. I've checked the readme files
>      but can find no clues there. 

set GO32=emu c:\djgpp\emu387\emu387

This tells go32 (and debug32) to use the given file as the 387
emulator.  You don't have to change your program at all.  The clues
are in the patches documentation - I haven't integrated them yet as
the emulator is still experimental.


>    2.  I have rewritten the paradise.asm file to incorporate several 
>      modes included on my paradise card. (ie 800x600, 1024x768). 
>        How do I compile this to a .grd file?? 

Use the batch file provided.  Basically, it's just like building a .sys
or .com file.  If you get the driver working properly, send me a copy
and I'll add it to the distribution.

DJ
dj@ctron.com