Page 1 of 1

Characters are not being shown in qemu.

Posted: Mon Jun 10, 2013 12:11 pm
by jpal
In c++ my putc and printf functions are not working. Even doing mov byte [0xB8000], 65 and mov byte [0bB8001], F0h does not. I have a cross compiler for x86_64-elf. Why is it not working?

Re: Characters are not being shown in qemu.

Posted: Mon Jun 10, 2013 2:40 pm
by sortie
My physic powers tell me that you produce a kernel that GRUB is not able to load because it doesn't load 64-bit kernels or that your fail to enter long mode correctly and hence nothing is ever displayed.

Write a 32-bit kernel (i586-elf) as a GRUB2 multiboot kernel.

Re: Characters are not being shown in qemu.

Posted: Mon Jun 10, 2013 2:54 pm
by Nessphoro
Yeah physics!