Mail Archives: djgpp/1997/03/02/06:29:38
On Thu, 27 Feb 1997, Stephen Liu wrote:
> 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.
Please download the DJGPP FAQ list (v2/faq210b.zip from the same place
you get DJGPP) and read section 10.2 there. The above doesn't work in
DJGPP, that FAQ section explains how to do it correctly.
- Raw text -