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.
Remove the -nographic from qemu and it should display something.
Display options:
-nographic - Normally, QEMU uses SDL to display the VGA output. With this option, you can totally disable graphical output so that QEMU is a simple command line application. The emulated serial port is redirected on the console. Therefore, you can still use QEMU to debug a Linux kernel with a serial console.
-curses - Normally, QEMU uses SDL to display the VGA output. With this option, QEMU can display the VGA output when in text mode using a curses/ncurses interface. Nothing is displayed in graphical mode.
"I think it may be time for some guru meditation"
"Barbarians don't do advanced wizardry"
PeterX wrote:I would suggest that you do some debug output in boot.asm and as the first instruction in main(). If that works, your terminal code is wrong. If that doesn't work, your boot code is wrong.
This does not work. But why if the code was completely copied from the Bare Bones tutorial?
PeterX wrote:I would suggest that you do some debug output in boot.asm and as the first instruction in main(). If that works, your terminal code is wrong. If that doesn't work, your boot code is wrong.
This does not work. But why if the code was completely copied from the Bare Bones tutorial?
You are quite unprecise. What does not work and how is the error? Did you try the debug? Or don't you actually like programming but want rather a ready product like Linux or Windows?