PDA

Click to See Complete Forum and Search --> : Errors in code


parksie
Nov 29th, 2000, 12:33 PM
Since a pointer is synonymous with a long, just use:

byte *VGA = 0xA0000000L;
byte *screen = 0xA0000000L;

Hopefully the compiler will be in a good mood...

Quick warning - I can't remember exactly what it is, but be careful, because there's some caveat to getting a pointer to the screen memory :(.