Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to index page
Thread view  Board view
mikegonta

19.05.2013, 01:10
(edited by mikegonta, 19.05.2013, 13:34)
 

bootstrap16 - real mode FAT12/16/32 bootloader (Announce)

Original code by Mike Gonta, Public Domain 2013-05-18
* 16 bit real mode Intel syntax assembly language (boot16.inc)
* 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

Discussion and changelog

http://mikegonta.com/bootstrap16.zip

---
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.

mikegonta

20.05.2013, 13:34
(edited by mikegonta, 20.05.2013, 14:01)

@ mikegonta
 

bootstrap16 - real mode (CPU 8086) FAT12/16/32 bootloader

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.

mikegonta

20.05.2013, 13:59

@ mikegonta
 

bootstrap16 - real mode (CPU 8086) FAT12/16/32 bootloader

Original code by Mike Gonta, Public Domain 2013

http://mikegonta.com/bootstrap16.zip

2013-05-20
* new version of kernel.asm
-- includes simple version of printf

---
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.

Back to index page
Thread view  Board view
22632 Postings in 2109 Threads, 402 registered users, 425 users online (0 registered, 425 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum