delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/07/06/19:09:45

Date: Mon, 6 Jul 92 18:22:56 EDT
From: DJ Delorie <dj AT ctron DOT com>
To: rezaei AT upenn5 DOT hep DOT upenn DOT edu
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: DJGCC and supervga

>1) I'm using the latest libgrx that has 32k color support.  Has anyone
>out there rewritten the old drivers in the new format? How can I get
>in touch with the author of libgrx? (I don't want to US mail him).

csaba AT vuse DOT vanderbilt DOT edu.  This should be in the documentation that
comes with it.

>2) Since there are many more drivers available in the old format,
>my code can be compiled to use them instead. I have not figured out one
>thing: how do I get the dimensions of GR_biggest_graphics? I desparately
>need to know this.

Set the mode, then call GrSizeX() and GrSizeY().

Try this: Ask for 1x1 graphics, then get the actual size.  Ask for one
pixel bigger to get the next size, etc.  Work on one dimension's
increase (first increment width, then height) to make sure you don't
miss one.

>3) Since I joined the mailing list a few days ago, I missed all the talk
>about DPMI and VCPI stuff. Can someone please forward me all the stuff.
>I would love to see my program run under OS/2. The features of go32 that
>it uses are virtual, flat memory model, 32bit code (i.e., 32bit integer
>multiplies/adds, etc.), and the mapping of the graphics page to 0x??????

DPMI 1.0 is feasible, but Windows doesn't support it, so it hasn't
been done yet.  VCPI is supported, and 1.07 will have full DESQview/X
support (yes, it works).  For OS/2, get emx instead of djgpp.  It
doesn't support graphics the same way at all, but in all other
respects is pretty much the same.

DJ
dj AT ctron DOT com
Life is a banana.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019