C language pointer to another pointer
Posted: Sun Jun 01, 2003 10:10 am
Hello
I have just managed where VESA LFB is .
In asm it works fine, but how to implement this:
if VESA LFB address is at 0x9A28 32 bit long.
can pointer to this LFB address pointer be like this :
unsigned char *VGAMEM=(unsigned char*)(VESA_MODE_INFO_BLOCK[0xA]);
unsigned int *VESA_MODE_INFO_BLOCK=(unsigned int*)0x9A00;
Thanks for help
I have just managed where VESA LFB is .
In asm it works fine, but how to implement this:
if VESA LFB address is at 0x9A28 32 bit long.
can pointer to this LFB address pointer be like this :
unsigned char *VGAMEM=(unsigned char*)(VESA_MODE_INFO_BLOCK[0xA]);
unsigned int *VESA_MODE_INFO_BLOCK=(unsigned int*)0x9A00;
Thanks for help