cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/26/11:19:04

From: urquhart AT netcomuk DOT co DOT uk (Adrian Urquhart)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: 0xA0000000h
Date: Sun, 26 Jan 1997 13:23:41 GMT
Organization: NETCOM Internet Ltd.
Lines: 21
Message-ID: <32eb597e.2608849@nntp.netcomuk.co.uk>
References: <01bc0a29$44be7280$b27a388f AT JNTF DOT jntf DOT osd DOT mil>
Reply-To: urquhart AT netcomuk DOT co DOT uk
NNTP-Posting-Host: dialup-16-41.netcomuk.co.uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

"Russ Hubbard" <hubbardr AT jntf DOT osd DOT mil> wrote:

>How would I create an array for video memory in djgpp? 
>Currently I have:
>
>char far *video_buffer = (char far)0xA0000000L;
>

This won't work, but that's not the reason for my reply. I use the
Mega Graphics Library (MGL) from SciTech Software, and one of the main
reasons for not using my own code is that, according to SciTech, you
should not assume that video memory always begins at A000:0000. Also,
there are SVGA cards coming onto the market which are not based on VGA
hardware, which means that VGA registers are missing, so your program
could wait for ever for a retrace which never takes place. The MGL
takes care of all this for me. (I have no connection to SciTech
Software, except as a happy customer).

Adrian.
 

- Raw text -


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