Commit Graph

394 Commits

Author SHA1 Message Date
2581e50c8b ignore nasm symbol map files 2024-10-12 11:27:20 -04:00
96de8cd9c7 move far jump setup in EnterUnrealMode to right after we save CS 2024-10-11 21:51:07 -04:00
60aaf5cdd9 move far jump setup in EnterUnrealMode to right after we save CS 2024-10-11 21:51:07 -04:00
daa6337285 added debug config for bochs 2024-10-11 21:49:15 -04:00
59678149e0 added debug config for bochs 2024-10-11 21:49:15 -04:00
d73a4eea6c move macro definition super early
fix a few mistakes in macro defs
2024-10-11 19:31:31 -04:00
075e51c8bc move macro definition super early
fix a few mistakes in macro defs
2024-10-11 19:31:31 -04:00
5703bad704 added macros to define cstr and str
aligned all the entry points for proceedures to 4 bytes
added a PrintString wraper macro
2024-10-11 19:05:15 -04:00
48cd0f742d added macros to define cstr and str
aligned all the entry points for proceedures to 4 bytes
added a PrintString wraper macro
2024-10-11 19:05:15 -04:00
a3f0684c85 added bochs debug wrappers 2024-10-11 19:03:27 -04:00
e5fb1b41eb added bochs debug wrappers 2024-10-11 19:03:27 -04:00
a8da6eef72 split e820 bios call documentation to its own file under docs/ 2024-10-11 17:20:53 -04:00
208729ed01 split e820 bios call documentation to its own file under docs/ 2024-10-11 17:20:53 -04:00
d9e46f5571 correct src size in op 2024-10-11 16:52:57 -04:00
086cf9d8ea correct src size in op 2024-10-11 16:52:57 -04:00
0250d9351d inlined ClusterToLBA
removed caller save kludge for now
init first_root_dir_sector from ebpb data
2024-10-11 15:55:24 -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
e8fb22c826 somewhat of a cludge, but added a macro to save all caller saved regs 2024-10-11 14:25:01 -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
df3b8dfc0c fix passing stage2 wrong data for boot drive 2024-10-11 13:09:17 -04:00
802d47fbf7 fix passing stage2 wrong data for boot drive 2024-10-11 13:09:17 -04:00
3a819a685a use kmemset to 0 out fat32_state in InitFATDriver 2024-10-11 13:00:45 -04:00
4af0637c7f use kmemset to 0 out fat32_state in InitFATDriver 2024-10-11 13:00:45 -04:00
5ccd2fb12f reduce proceedure local storage to 16 bytes 2024-10-11 12:59:36 -04:00
07197b0d5b reduce proceedure local storage to 16 bytes 2024-10-11 12:59:36 -04:00
ccb82f29fc rename file to BOOT.BIN
K.I.S.S.
2024-10-11 12:16:01 -04:00
056551fdd1 rename file to BOOT.BIN
K.I.S.S.
2024-10-11 12:16:01 -04:00
f665d7fcaa more comments to seperate setups 2024-10-11 12:08:09 -04:00
0aae0616fd more comments to seperate setups 2024-10-11 12:08:09 -04:00
94034eb7bf force 1-1 logical to physical sectors
copy our VBR code to backup VBR
2024-10-11 12:04:44 -04:00
aff631f3db force 1-1 logical to physical sectors
copy our VBR code to backup VBR
2024-10-11 12:04:44 -04:00
ab21f9c838 more error handling in detecting disk image creation
will need ported to macOS sometime
2024-10-11 11:44:04 -04:00
a3a768adf4 more error handling in detecting disk image creation
will need ported to macOS sometime
2024-10-11 11:44:04 -04:00
2f391a0fc2 more error handling for dd writes 2024-10-11 11:31:38 -04:00
d684d4f11f more error handling for dd writes 2024-10-11 11:31:38 -04:00
d88b1bcb70 use gs for vesa framebuffer (was fs) 2024-10-08 20:23:16 -04:00
75c046f9cd use gs for vesa framebuffer (was fs) 2024-10-08 20:23:16 -04:00
13ff42a7d1 unreal gdt now has 2 selectors 1 code, 1 data
ss, and e/f/g segments are loaded to the same flat 4gb segment
moved gdt notes to documentation
2024-10-08 20:22:21 -04:00
00daf92df5 unreal gdt now has 2 selectors 1 code, 1 data
ss, and e/f/g segments are loaded to the same flat 4gb segment
moved gdt notes to documentation
2024-10-08 20:22:21 -04:00
61f27cabd7 Update README.md 2024-10-08 09:08:47 -04:00
5ab7e70455 Update README.md 2024-10-08 09:08:47 -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
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
09d33086a0 converted error handler to a 16bit far jump
optimized the early error printer a bit to save some bytes
removed DEBUG_HCF macro
2024-10-08 08:53:30 -04:00
586f3f0106 converted error handler to a 16bit far jump
optimized the early error printer a bit to save some bytes
removed DEBUG_HCF macro
2024-10-08 08:53:30 -04:00
8e05e071e8 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
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
ca195e6048 force the first jump to init in all stages to be the rel8 version 2024-10-07 20:39:39 -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
db45a5cf8b jmp imm32 vs jmp rel8 (5 bytes vs 2 bytes) 2024-10-06 21:46:32 -04:00