www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/06/12/22:35:43

From: sandmann AT clio DOT rice DOT edu (Charles W. Sandmann)
Subject: Correction in GrSetMode() (fwd)
To: djgpp AT sun DOT soe DOT clarkson DOT edu (djgpp)
Date: Sat, 12 Jun 1993 20:38:46 -0600 (CDT)

Forwarded message:
> From: jih-shin ho <u7711501 AT bicmos DOT ee DOT nctu DOT edu DOT tw>
> Subject: Correction in GrSetMode()
> To: djgpp AT sun DOT soe DOT clarkson DOT edu (djgpp)
> Date: Sun, 13 Jun 93 2:18:27 EAT
> 
>   Go32 1.10 uses ESI to return bytes per scan line information. But the ESI
> register in GrSetMode() function is not saved(in libgr.a). This may cause 
> problem if you program uses ESI as register variable.

This is another of the VESA modifications.  I think Csaba is reviewing all
of this for the new LIBGRX (?), so hopefully the next release will be fully
consistent and a little less buggy.  The graphics.c code still needs to be
fixed to work with any compiler, not just selected ones also (warning to 
anyone trying to rebuild GO32!)  It would probably have been better design
to use AX to return this information for backwards compatibility (if that
was possible, I haven't checked).

- Raw text -


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