I modified it what little I could, and managed to produce this:
By doing
Code: Select all
int y = 0;
void write_string(char *str){
int z;
y++;
z = y*41;
*((unsigned char*)0x2006) = 0x20;
*((unsigned char*)0x2006) = z;
while(*str){
*((unsigned char*)0x2007) = *str;
str++;
}
}Are there any tutorials that can pick up where this left of? Or can someone explain to me what all of these *((unsigned char*)0x2006) ='s mean?