Test code

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
DrivingMeNuts

Test code

Post by DrivingMeNuts »

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++;
}
}
pete

RE:Test code

Post by pete »

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++;
}
}
User avatar
df
Member
Member
Posts: 1076
Joined: Fri Oct 22, 2004 11:00 pm
Contact:

RE:Test code

Post by df »

cant you test it yourself instead of asking us to test it?
-- Stu --
Post Reply