So david told me to make my own boot loader, so I did.
After many painful hours of wondering why it won't work, realizing my FAT12 header was off by a bit, rewriting and rewriting, asking people for help, I finally got the bootloader working. It took 509 bytes, without the 0xAA55 signature at the end, so I was really stretching it. I had to make some sacrifices and strings don't really say what I wanted them to, but it's fine, considering this is just the trampoline into the 2nds stage.
So all it does is look for PHASE2.BIN on the diskette, loads it into 0x1000:0 and jumps there and executes. Of course I haven't implemented the 2nd stage, so I just put the same dummy file for testing. Spent so much time working today on the bootloader had no time to start the 2nd stage lol
To implement: Open A20 gate, probe free memory, GDT tables and pmode and 32 bit, set stack etc etc, the usual stuff before handing off execution to a kernel.
That's very cool. Keep us updated on this. You don't have to make new threads though, you can just post on the thread you made and/or edit your op.
Yeah i guess that's a better idea
OP editing gets disabled after a few days. And I prefer new threads over posts in the old thread, as that way I will miss them due to not bothering to read every single page.