Commit Graph

19 Commits

Author SHA1 Message Date
f1842d0cbc remove some redundant reloads of si
use xchg to swap si/di instead of the stack
uninline ClusterToLBA call
2024-10-15 20:01:24 -04:00
a5296bb438 correct drive_num argument on read_disk_raw 2024-10-14 13:18:41 -04:00
7f06d47f32 add reserved space for jmp short init at the start, technically this is part of the bpb anyways 2024-10-13 16:37:29 -04:00
bd80f48b1b use NASM defined size value from structure macro 2024-10-12 12:58:32 -04:00
086cf9d8ea correct src size in op 2024-10-11 16:52:57 -04:00
095822fa27 inlined ClusterToLBA
removed caller save kludge for now
init first_root_dir_sector from ebpb data
2024-10-11 15:55:24 -04:00
71f13fd6b5 somewhat of a cludge, but added a macro to save all caller saved regs 2024-10-11 14:25:01 -04:00
4af0637c7f use kmemset to 0 out fat32_state in InitFATDriver 2024-10-11 13:00:45 -04:00
8301fc20a8 renamed files to show code vs defs
files that actually include code should be in .nasm files
defines/macros/non-code should be in .inc files
2024-10-07 20:41:15 -04:00
145e9fbaa9 fixed read_disk_raw in ReadFATCluster
boot_drive and partition_offset are global pointers now
removed an extra error from mbr disk read
and some general formating and cleanup 😅
2024-10-05 20:14:00 -04:00
8f95c8f267 tons more work on modularizing the code 2024-10-05 18:55:00 -04:00
5440a1ae61 more modularization and updating date in MIT licence header 2024-10-05 13:35:39 -04:00
d6af15a7a6 typo fix 2024-10-05 12:16:31 -04:00
a4fa48949c Move fat32 and BIOS functions to their own files 2024-10-05 12:04:40 -04:00
41b9bf5134 remove this and add it back to vbr.nasm 2024-10-03 20:59:25 -04:00
2bbfa0931b moved reservation for bpb to a include 2024-10-02 10:25:59 -04:00
d4dc46d770 MIT license applied to all project files 2023-08-22 16:03:46 -04:00
90ced63cba small changes to License
🏳️‍⚧️
2023-08-22 14:24:35 -04:00
Elaina Claus
ff14c336e8 first commit 2023-02-28 22:17:55 -05:00