Date: Mon, 31 Mar 1997 17:58:40 +0300 (IDT) From: Eli Zaretskii To: S2200253 AT nickel DOT laurentian DOT ca cc: djgpp AT delorie DOT com Subject: Re: vesa graphics In-Reply-To: <01IH4S3SQZB692NDXD@NICKEL.LAURENTIAN.CA> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 31 Mar 1997 S2200253 AT nickel DOT laurentian DOT ca wrote: > The problem is this, after I call VBE_detect with the memory address > of my VBE_VgaInfo structure I try to print out OEMStringPtr and cause > a General Protection Fault. > > What am I doing wrong? The pointer to the OEMString is a real-mode seg:off pointer; you need to access the string using one of the techniques described in the DJGPP FAQ list, section 18.4.