3 ms·
3. You have to fit the whole bootloader in 1 KB, which is not the kind of programming challenge I had yet faced. If you were doing it in Asm, 1KB is a lot of c
by userbinator 12y ago
3. You have to fit the whole bootloader in 1 KB, which is not the kind of programming challenge I had yet faced.
If you were doing it in Asm, 1KB is a lot of code. The regular DOS bootsector is 512 bytes, of which only ~400 are available for actual code. It doesn't take all that much code to read in a few sectors from disk into memory and jump to it, which is all that a bootloader does.