Code: Select all
char *str = (char*)(0x100000 - 1600);
//memset(str, 0, 1600);
for(int j = 0; j < 40; j++)
{
for(int i = 0; i < 40; i++)
{
kprintf("%d ", str[j * 40 + i]);
}
kprintf("\n");
}
(Sorry for my suck English.)
My kernel runs on Bochs 2.7