Commit Graph

18 Commits

Author SHA1 Message Date
bd40d6d324 relocate code sections to end up with stage2 starting at 0x500 2024-10-12 22:14:47 -04:00
276fe70572 use early_mem.inc 2024-10-12 15:38:47 -04:00
31c45051e6 minor cleanup related to memory refactor 2024-10-12 12:57:56 -04:00
cd048933ec output symbol maps to ease debuging 2024-10-12 11:28:25 -04:00
e5fb1b41eb added bochs debug wrappers 2024-10-11 19:03:27 -04:00
802d47fbf7 fix passing stage2 wrong data for boot drive 2024-10-11 13:09:17 -04:00
6ae68d1a19 ensure 2 byte jmp rel8 thunk to init
surpress reloc abs warnings
corrected include paths/filenames
2024-10-08 08:55:17 -04:00
4218a08658 force the first jump to init in all stages to be the rel8 version 2024-10-07 20:39:39 -04:00
e41b597056 surpress some of the relocation warnings for mbr, vbr & stage2 2024-10-06 18:50:32 -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
d93236d298 some bpb/ebpb tweaks 2024-10-04 11:48:25 -04:00
3f029e6b4c vbr cdecl overhaul
refactored read_disk_raw to read_stage2_raw
switched to new kmem functions
2024-10-04 09:56:41 -04:00
36b8869140 add bpb and ebpb reserve area back to vbr.nasm 2024-10-03 21:00:02 -04:00
b96f587921 add forked functions and remove from memory.inc for kmem* 2024-10-03 19:53:11 -04:00
7c446ef3b2 load our base headers in the same order as the mbr 2024-10-02 10:26:36 -04:00
355ceb49a7 changed extention from .s to .nasm 2023-08-23 10:10:30 -04:00