Original code by Mike Gonta, Public Domain 2013 
 
http://mikegonta.com/bootstrap16.zip 
 
2013-05-19.19.00 
* corrected longjmp routine 
2013-05-19 
* new vesion of setjmp/longjmp 
-- uses carry flag (assembly language style) 
-- saves/restores _ALL_ registers except ax (longjmp return value) 
-- each setjmp/longjmp pair can have its own saved state buffer 
* added qemu.bat script to emulate bootstrap16.img 
-- unzip bootstrap16.zip to your qemu folder, open the bootstrap16 folder and double click qemu.bat 
-- works with qemu 32 bit and qemu 64 bit 
2013-05-18 
* changed formatting defines* added _QUICK_FORMAT define 
2013-05-17 (initial release) 
* 16 bit real mode Intel syntax assembly language 
* CPU 8086 
* four formats supported 
-- FAT12 1.44Mb floppy disk / flash drive 
-- FAT12 hard drive / flash drive 
-- FAT16 hard drive / flash drive 
-- FAT32 hard drive / flash drive 
* handles 1K, 2K, and 4K sector sizes _UNTESTED_ 
* same code (boot16.inc) for NASM and FASM 
* NASM (boot16.nsm) and FASM (boot16.fsm) headers 
* same binary with NASM (-O1) and FASM 
* same binary code for FAT12/16/32 only the BPB is different 
-- loads a plain english "8.3" ("kernel.bin") flat binary file from the root directory to 0x1000:0 
* includes FAT32 image --- Mike Gonta 
look and see - many look but few see 
 
SudoBIOS - a completely transparent 32 bit protected mode BIOS extender - say goodbye to real mode code.  |