problem loading files from floppy
Posted: Sat Jan 19, 2008 4:39 pm
Hello, I'm having problems while using the 2 stage bootloader from http://www.brokenthorn.com/Resources/Demos/Demo4.zip
The problem is that it works perfectly on bochs, qemu and my new pc, but when I try it on my old pc, it just reboot after jumping to the kernel.
I'm sure the processor executed garbage instructions and made a triple fault and didn't load the 3rd stage.
The second stage gets loaded perfectly. In it I install the gdt, enable a20 line, load root directory table from floppy, load kernel in memory, using bios interruptions, and then I switch to pmode and jump to my kernel.
By the way, these are the specifications:
Processor: Pentium MMX 233mhz
Ram: 64MiB
Bios: Award Modular Bios PCI/PNP 586 4.51PG
Floppy Drive: NEC FD1231H
Chipset: 08/14/97-vXPro+-USB-Ultr-2A5ldh09c-00
If anyone had experienced this error, I'd like to know how you solved it.
Thanks,
Gonzalo
The problem is that it works perfectly on bochs, qemu and my new pc, but when I try it on my old pc, it just reboot after jumping to the kernel.
I'm sure the processor executed garbage instructions and made a triple fault and didn't load the 3rd stage.
The second stage gets loaded perfectly. In it I install the gdt, enable a20 line, load root directory table from floppy, load kernel in memory, using bios interruptions, and then I switch to pmode and jump to my kernel.
By the way, these are the specifications:
Processor: Pentium MMX 233mhz
Ram: 64MiB
Bios: Award Modular Bios PCI/PNP 586 4.51PG
Floppy Drive: NEC FD1231H
Chipset: 08/14/97-vXPro+-USB-Ultr-2A5ldh09c-00
If anyone had experienced this error, I'd like to know how you solved it.
Thanks,
Gonzalo