I don't think that's qemu is bugged...
I can't correctly display text into the 80x35 VGA buffer.
I follow the http://wiki.osdev.org/Bare_Bones tutorial and it wasn't working on qemu.
Only the kernel.c is little bit different. Finally i decide to fill all the screen and y add a surprise, i can't write every where in the screen like that.
i should do some thing like that for be sure to write char:
Code: Select all
for(int i=0; i < 150; i++)
*((char*)0xb8000) = 'A';
Since one week i can;t get things correctly working on qemu.
But if i directly run the kernel on my hardware there is no problem without the for loop.
I test it on three computer:
- my computer(intel core 2 quad): qemu=NG hard=OK
- my laptop (AMD): qemu=NG hard=OK
- a friend computer (???): qemu=OK hard=???
qemu:
QEMU PC emulator version 0.11.0 (qemu-kvm-0.11.0), Copyright (c) 2003-2008 Fabrice Bellard
Linux dell 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 01:26:53 UTC 2010 i686 GNU/Linux
Can you tell me if you have some idea about the problem and/or tell test it for see if you have the same problem.
Thank's