hello all,
firstly i will have to thank u all for helping me out so far. i have a quick question here about the VDU memeory. i was writting a programm to read the data from the VDU. and the follwing code was my approch to do
Code:
#include<stdio.h>
int main()
{
char *vdu=(char *)0xB8000000;
int i;
for(i=0;i<10;i++)
printf("%c",*(vdu+i));
getchar();
return 0;
}
but when i do this i get a rum time error( from the microsoft windoows). i am just reading first 5 char from the memeory. can any one correct me please or guide me how to do that.
thank you ,
-onthewaytoC