Commit Graph

24 Commits

Author SHA1 Message Date
402bf9974d moved map file output to build
moved output of builds to build/output
updated gitea action
2025-08-24 10:47:18 -04:00
8d5996566e Update licensing and switch back to GPLv3 😅 2025-08-22 11:41:33 -04:00
50b08f6b72 turn off magic debug in mbr/vbr stages 2024-10-15 13:31:32 -04:00
b4621a7fb8 reduced stack size in mbr stage
removed some unused data in bss
reordered how/when in init we set sp/bp and zero bss
we now push the top of the stack pointer/bp at the top of the stack, which makes the stack frame more 'normal'
also use movsb instead of movsw
2024-10-15 12:53:22 -04:00
35e9aec059 fixed bss init in mbr 2024-10-13 17:52:09 -04:00
736aad85e5 pass location of partition_table structure to vbr 2024-10-13 16:41:39 -04:00
c1a9d449df bss convertion for mbr stage 2024-10-13 16:36:11 -04:00
eb97aac673 relocate code sections to end up with stage2 starting at 0x500 2024-10-12 22:14:47 -04:00
050f90517a follow standard proceedure and reallocate the mbr to 0x600 2024-10-12 21:21:43 -04:00
83aa7d1147 use early_mem.inc 2024-10-12 15:38:47 -04:00
d1217182d4 minor cleanup related to memory refactor 2024-10-12 12:57:56 -04:00
63421661a7 output symbol maps to ease debuging 2024-10-12 11:28:25 -04:00
a3f0684c85 added bochs debug wrappers 2024-10-11 19:03:27 -04:00
6643e3c990 ensure 2 byte jmp rel8 thunk to init
surpress reloc abs warnings
corrected include paths/filenames
2024-10-08 08:55:17 -04:00
ca195e6048 force the first jump to init in all stages to be the rel8 version 2024-10-07 20:39:39 -04:00
3c40190f23 surpress some of the relocation warnings for mbr, vbr & stage2 2024-10-06 18:50:32 -04:00
4c4c3b0e27 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
f5f5a330cd tons more work on modularizing the code 2024-10-05 18:55:00 -04:00
446dd451be more modularization and updating date in MIT licence header 2024-10-05 13:35:39 -04:00
a6a774484f cdecl16 overhaul for mbr code
switch to cdecl kmem* functions
refactored read_disk_raw to read_vbr_raw
fixed a small issue where the mbr wasn't checking its signature
2024-10-04 09:55:19 -04:00
339216f6a2 add forked functions and remove from memory.inc for kmem* 2024-10-03 19:53:11 -04:00
20c18ac4ec partially revert change, sti is still in init 2024-09-21 12:32:49 -04:00
ee65b6acc5 remove reallocation in mbr init
also reenable interupts in the init block
2024-09-21 11:45:22 -04:00
9cb9a6664f changed extention from .s to .nasm 2023-08-23 10:10:30 -04:00