Jimbob42
Jun 15th, 2001, 01:15 AM
hi
i wanna know how to set up a far char * 2d array (ie the screen in 320*200*8 mode) and how to access it
the best i've done is
far char (*screen)[200][320];
but i can't seem to access it for some reason
the equivalent is a bit cumbersome
far char *screen = 0xa0000000;
*(screen + x + y * 320) = color;
i wanna know how to set up a far char * 2d array (ie the screen in 320*200*8 mode) and how to access it
the best i've done is
far char (*screen)[200][320];
but i can't seem to access it for some reason
the equivalent is a bit cumbersome
far char *screen = 0xa0000000;
*(screen + x + y * 320) = color;