Now I am trying to write on the screen, however when i call the function puts() does not pass the string.
I have no idea of why does not work, someone can have a look and help me find the problem
this is my kmain.c
Code: Select all
void kmain(void)
{
iniciarVideo();
puts("hello");
for (;;);
}
Code: Select all
void puts(char *str)
{
int i;
if(!str)
return;
for (i = 0; i < strlen(str) ; i++)
putch(str[i]);
}
Code: Select all
void puts(char *str)
{
int i;
char bla[] = "HELLO WORLD";
for (i = 0; i < strlen(bla) ; i++)
putch(bla[i]);
}