Mail Archives: djgpp/1997/02/18/18:28:58
I'm trying to re-write my library file to use DJGPP and to do this
i've had to remove the far pointers. I have a problem with setting a pointer
to the vga memory.
I've written:
extern unsigned char *video_buffer; in the header file
and
unsigned char *video_buffer =
(unsigned char *) (__djgpp_conventional_base + 0xA000000);
in the code file.
It keeps giving me the message:
initializer element is not constant
Could someone tell me how to sort this, or at least translate the error
message into english for me.
TIA
James
- Raw text -