www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/31/10:23:43

Date: Mon, 31 Mar 1997 17:58:40 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
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: <Pine.SUN.3.91.970331175654.17577K-100000@is>
MIME-Version: 1.0

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.

- Raw text -


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