delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/02/15:45:29

From: "Sly" <sly AT aussie DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Writing directly to vga memory in DJGPP
Date: 2 Mar 1997 03:15:13 GMT
Organization: Sly
Lines: 18
Message-ID: <01bc26b8$7dd23f60$87081ecb@sly>
References: <33164A10 DOT 1D88 AT bigfoot DOT com>
NNTP-Posting-Host: max0ppp05.bne.aussie.net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Stephen Liu <stephen_liu AT bigfoot DOT com> wrote in article
<33164A10 DOT 1D88 AT bigfoot DOT com>...
> The following program clears the screen in VGA mode (13h) in each 
> of the 255 colors.  My buffer is declared as:
> 
> unsigned char *vidbuffer=(unsigned char *)0xA0000;
> 
> Is this correct? When I run it under Win95, it creates
> a memory exception and quits the program.
> 

Point your web browser here...

http://www.rt66.com/~brennan/djgpp/how_to_access_vga.html

-- 
TTFN
Sly (Steve)

- Raw text -


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