Bug in VirtualBox's BIOS ?
Posted: Thu Oct 22, 2015 11:53 am
Hi,
I wrote some code that boots from a floppy and runs some pci bus scans etc. It works fine on vmware and bochs but not on virtualbox.
In virtualbox when I print the data from a large string array after a certain memory location (actually 36 sectors past 0x7c00) the string index points to data at the start of the boot sector.
I then rewrote the boot code to replace the ah=2, int0x13 (reading 50 sectors) BIOS call with the lba-chs algorithm from brokenthorn to call the same bios function reading one sector in a loop. It worked then on VirtualBox.
Has anyone else noticed this, is it a bug or am I missing something else?
I wrote some code that boots from a floppy and runs some pci bus scans etc. It works fine on vmware and bochs but not on virtualbox.
In virtualbox when I print the data from a large string array after a certain memory location (actually 36 sectors past 0x7c00) the string index points to data at the start of the boot sector.
I then rewrote the boot code to replace the ah=2, int0x13 (reading 50 sectors) BIOS call with the lba-chs algorithm from brokenthorn to call the same bios function reading one sector in a loop. It worked then on VirtualBox.
Has anyone else noticed this, is it a bug or am I missing something else?