Re: Best hard disk driver approach
Posted: Mon Aug 01, 2011 5:17 pm
The problem was, that I have to load something above 1MiB (or load it under it and memcpy it to 1Mib). This is not possible in real mode, and therefore I threw BIOS interrupt 0x13 overboard. After I did that I started to look at several ways to access disks manually. That doesn't seem to be an option either since I have to write something for everything (usb, scsi, sata, ide). Should be a problem normally but at the moment I have only a few dozen of sectors left before I am at the top of usable low memory.
That was the moment this topic started.. Now I am wondering, do I have to throw all BIOS things overboard and replace it with EFI, or can I go on with using the bios where I am using it now (loading in the first sector, displaying the first letters on screen, loading the bootloaders second stage) and use EFI to load the bootloaders' kernel which will be slightly bigger and therefore not fit in the memory range 0x8000 - 0x100000.
That was the moment this topic started.. Now I am wondering, do I have to throw all BIOS things overboard and replace it with EFI, or can I go on with using the bios where I am using it now (loading in the first sector, displaying the first letters on screen, loading the bootloaders second stage) and use EFI to load the bootloaders' kernel which will be slightly bigger and therefore not fit in the memory range 0x8000 - 0x100000.