www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/23/16:05:51

From: oak9755 AT silver DOT sdsmt DOT edu (Olav Kindt)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: VESA pointers ... again
Date: 17 Oct 1996 04:28:55 GMT
Organization: South Dakota School of Mines and Technology
Lines: 22
Distribution: world
Message-ID: <544cm8$e67@news.sdsmt.edu>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 961016140445 DOT 22571C-100000 AT is> <3265850F DOT 7EE9 AT gbrmpa DOT gov DOT au>
NNTP-Posting-Host: silver.sdsmt.edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi again,

Thanks to all that helped me. I finally figured out what went wrong when I
tried to compile on a different machine. My problem was that the pointer
to the vesamodes, was not going into some DOS memory as I expected, but
rather into the __tb (transfer buffer, where the data was copied).

It seems that some cards have the videomodes coded into the VBE BIOS, and
therefore returning a pointer to that memory location. Other cards simply
copy the all the videomodes into the unused portion of the VESAINFO
structure.

Took me a while to figure that on out though. I see  now why some people
say the learning curve for DJGPP is steep :-)

Have fun compiling.


 -- Olav
Kindt | email: oak9755 AT silver DOT sdsmt DOT edu
737 E. Anamosa Street #103   |		xedb_oak AT debet DOT nhh DOT no
Rapid City SD-57701	     | 		MAIL me man.......

- Raw text -


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