delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/12/02:28:00

From: jmartin AT obed DOT cs DOT ualberta DOT ca (Jon Martin)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Help! Confused by problems with VESA programming.
Date: 11 Jul 1997 06:01:01 GMT
Organization: U of Eh?
Lines: 11
Message-ID: <5q4i6t$q34$1@pulp.ucs.ualberta.ca>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 970710104205 DOT 19359G-100000 AT is>
Reply-To: jmartin AT obed DOT cs DOT ualberta DOT ca
NNTP-Posting-Host: obed.cs.ualberta.ca
Originator: jmartin AT obed-le0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

     Thanks for all the help, but the problem turned out to be a typo.  In my
VBE_getmodeinfo(), the call to dosmemget had sizeof(modeinfo) instead of
sizeof(*modeinfo).  So (if I am understanding correctly) I was getting four
bytes instead of 256.  Amazing how much chaos a simple typo can cause.
Everything works much better now, except for high colour modes, but I think I
should leave that for a while.
-- 
Serve Gonk.
Jon Martin  jmartin AT obed DOT cs DOT ualberta DOT ca  <-- finger for more info
http://elycion.geology.ualberta.ca/~jon/
Department of Computing Science at University of Alberta.

- Raw text -


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