http://www.jamesmolloy.co.uk/tutorial_h ... creen.html
The toolchains and environment are in place, I'm on a CentOS machine. I am totally new conceptually to kernel development. I just need clues about the errors and I can dig up on what to do.
So uptill lesson 2 everything is all Ok. On lesson 3 - The Screen I can compile the code fine, but when I run it, there is nothing on the bochs screen. Just a blank bochs screen. No Hello World
Inside my bochsout.txt the following stick out to me, the file has a lot of repeat lines.
Here is the full file content: https://gist.github.com/gideondsouza/7120920
Code: Select all
00000032737i[CPU0 ] LOCK prefix unallowed (op1=0x2, modrm=0x00)
00012032756i[CPU0 ] math_abort: MSDOS compatibility FPU exception
00012041592i[CPU0 ] math_abort: MSDOS compatibility FPU exception
00012050689e[DEV ] read from port 0x0000 with len 2 returns 0xffff
00012051026i[CPU0 ] math_abort: MSDOS compatibility FPU exception
00577823000i[ ] cpu loop quit, shutting down simulator
00577823000i[CPU0 ] CPU is in real mode (active)
00577823000i[CPU0 ] CS.mode = 16 bit
Code: Select all
megs: 32
romimage: file=/usr/local/share/bochs/BIOS-bochs-latest, address=0xe0000
vgaromimage: file=/usr/local/share/bochs/VGABIOS-elpin-2.40
floppya: 1_44=/dev/loop0, status=inserted
boot: a
log: bochsout.txt
mouse: enabled=0
clock: sync=realtime
cpu: ips=1000001
Code: Select all
ASFLAGS=-felf64