Commit Graph

9 Commits

Author SHA1 Message Date
3b438074ef Reorder fat32 bootsector to reduce number of calls/rets 2020-04-04 16:03:02 +00:00
1e99086fc6 Add CHS+LBA dual support for boot sector 2020-04-04 14:29:33 +00:00
3da473a00c Use optimized error handling for boot sector 2020-04-03 17:38:33 +00:00
1981a8efba fat32 bs: use BPB include header and base off BP
We now set BP once at the start to point to the beginning of the BPB.
Encoding an direct address access can then be done relative to BP, which
saves an immediate byte per access.
2020-03-31 20:03:05 +00:00
eabb1d9fa9 Properly set up registers when chainloading from boot sector 2020-03-30 20:41:32 +00:00
bc096f41d3 Compact bootloader code 2020-03-30 19:43:07 +00:00
0b2a7e7b64 fat32 bootloader: implement directory recursing and kernel load
this is actually working now.
2020-03-30 18:50:17 +00:00
bbe006c9bc Improve FAT offset calculation 2020-03-30 15:23:51 +00:00
955acdacba Split code up into directories for bs and com binaries 2020-03-30 12:14:47 +00:00