void app(void) {
int num;
char cha;
char *text_video = (char*)0xB8000;
char attrib = 0x00;
char *str="Kernel Loaded";
while(*str!=0)
{
*text_video = *str;
*text_video++;
*text_video = attrib;
*text_video++;
*str++;
}
}
Test code
RE:Test code
void app(void) {
char *text_video = (char*)0xB8000;
char attrib = 0x07;
char *str="Kernel Loaded";
while(*str!=0)
{
*text_video = *str;
text_video++;
*text_video = attrib;
text_video++;
str++;
}
}
char *text_video = (char*)0xB8000;
char attrib = 0x07;
char *str="Kernel Loaded";
while(*str!=0)
{
*text_video = *str;
text_video++;
*text_video = attrib;
text_video++;
str++;
}
}