another int 13 thing...
Posted: Sun Jun 15, 2003 6:49 pm
Well, after my initial problems getting a working bootsector to load an ext2 file failed, I wrote a simple boot loader just so I could progress through to interrupts and mm and the such. Now that the kernel is getting larger, I need to rewrite the bootsector and I'd like to do so in a manner that I won't ever have to touch its foundation again. Basically this means that it will load and infinitely large kernel if it needs to (ahem...yeah...an infinite kernel on one of those quantum or extra-dimensional hard drives I've got sitting around).
Anyway, I'd like to keep loading the kernel to 0xFFFF:0x0010 (1 MB), the question I have though is how do I progress past 0xFFFF:0xFFFF using interrupt 13? Or how would I have to use movsb to move the code after reading it?
I've looked at several bootsector examples for FAT12 that will load a kernel.bin that can be as large as I want, but I just found that ultra-confusing (mainly because I don't know a thing about FAT12)
So what does anyone think...is there a way or must I just move the code...?
Anyway, I'd like to keep loading the kernel to 0xFFFF:0x0010 (1 MB), the question I have though is how do I progress past 0xFFFF:0xFFFF using interrupt 13? Or how would I have to use movsb to move the code after reading it?
I've looked at several bootsector examples for FAT12 that will load a kernel.bin that can be as large as I want, but I just found that ultra-confusing (mainly because I don't know a thing about FAT12)
So what does anyone think...is there a way or must I just move the code...?