Characters are not being shown in qemu.

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
jpal
Posts: 3
Joined: Sat Jan 12, 2013 10:35 am

Characters are not being shown in qemu.

Post 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?
User avatar
sortie
Member
Member
Posts: 931
Joined: Wed Mar 21, 2012 3:01 pm
Libera.chat IRC: sortie

Re: Characters are not being shown in qemu.

Post 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.
User avatar
Nessphoro
Member
Member
Posts: 308
Joined: Sat Apr 30, 2011 12:50 am

Re: Characters are not being shown in qemu.

Post by Nessphoro »

Yeah physics!
Post Reply