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: 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 Precedence: bulk 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.