Page 2 of 2
Re: Missing operating system!
Posted: Tue Aug 11, 2020 3:23 pm
by beyondsociety
qemu-system-i386 -nographic -cdrom os.iso
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.
Re: Missing operating system!
Posted: Tue Aug 11, 2020 3:56 pm
by Romiro27
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?
Re: Missing operating system!
Posted: Tue Aug 11, 2020 4:01 pm
by Romiro27
My computer has gone crazy right now, sorry if I can't answer everything within 24 hours
Re: Missing operating system!
Posted: Tue Aug 11, 2020 5:59 pm
by PeterX
Romiro27 wrote: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?
Re: Missing operating system!
Posted: Tue Aug 11, 2020 10:57 pm
by Octocontrabass
Romiro27 wrote:-nographic
Your kernel requires graphics!
Re: Missing operating system!
Posted: Wed Aug 12, 2020 6:33 pm
by Romiro27
beyondsociety wrote:Remove the -nographic from qemu and it should display something.
Octocontrabass wrote:Your kernel requires graphics!
What a stupid mistake! Sorry for wasting your time and thank you very much for helping! The image in QEMU is launched, thank you very much!