This website requires JavaScript.
8537d6cd5e
use bx addressing in read_disk_raw
Elaina Claus
2024-10-13 20:51:16 -04:00
cd833184da
use bx addressing in read_disk_raw
Elaina Claus
2024-10-13 20:51:16 -04:00
e57c2cc67d
Merge pull request #3 from Nivirx/bss-setup
Elaina Claus
2024-10-13 18:05:19 -04:00
7617b11199
Merge pull request #3 from Nivirx/bss-setup
Elaina Claus
2024-10-13 18:05:19 -04:00
e4b9c5d77f
added partition_table and fat32_bpb params to stage2 also the partition table and fat32_bpb and passed/copied from the mbr/vbr now
Elaina Claus
2024-10-13 17:54:06 -04:00
86564b2356
added partition_table and fat32_bpb params to stage2 also the partition table and fat32_bpb and passed/copied from the mbr/vbr now
Elaina Claus
2024-10-13 17:54:06 -04:00
e3a646675f
bss for vbr stage
Elaina Claus
2024-10-13 17:52:28 -04:00
5ba7801926
bss for vbr stage
Elaina Claus
2024-10-13 17:52:28 -04:00
9d33469e32
fixed bss init in mbr
Elaina Claus
2024-10-13 17:52:09 -04:00
35e9aec059
fixed bss init in mbr
Elaina Claus
2024-10-13 17:52:09 -04:00
dd1a74bff0
pass location of partition_table structure to vbr
Elaina Claus
2024-10-13 16:41:39 -04:00
736aad85e5
pass location of partition_table structure to vbr
Elaina Claus
2024-10-13 16:41:39 -04:00
29db27925f
initial work on a macro to call read_disk_raw
Elaina Claus
2024-10-13 16:37:52 -04:00
f51d8b4142
initial work on a macro to call read_disk_raw
Elaina Claus
2024-10-13 16:37:52 -04:00
7f06d47f32
add reserved space for jmp short init at the start, technically this is part of the bpb anyways
Elaina Claus
2024-10-13 16:37:29 -04:00
3693eca940
add reserved space for jmp short init at the start, technically this is part of the bpb anyways
Elaina Claus
2024-10-13 16:37:29 -04:00
4faffbf7fe
remove defs for memory locations (moving to bss)
Elaina Claus
2024-10-13 16:36:55 -04:00
a383f7cfb4
remove defs for memory locations (moving to bss)
Elaina Claus
2024-10-13 16:36:55 -04:00
832141efb4
bss convertion for mbr stage
Elaina Claus
2024-10-13 16:36:11 -04:00
c1a9d449df
bss convertion for mbr stage
Elaina Claus
2024-10-13 16:36:11 -04:00
c919144496
turns out huge unreal mode isn't supported in bochs
Elaina Claus
2024-10-13 14:50:49 -04:00
ce6240249a
turns out huge unreal mode isn't supported in bochs
Elaina Claus
2024-10-13 14:50:49 -04:00
a62f3de26f
unreal gdt tweaks & fixes
Elaina Claus
2024-10-13 13:22:01 -04:00
963dec5281
unreal gdt tweaks & fixes
Elaina Claus
2024-10-13 13:22:01 -04:00
0983ec3fd5
remove map files as well
Elaina Claus
2024-10-12 22:16:17 -04:00
3d1877d7fe
remove map files as well
Elaina Claus
2024-10-12 22:16:17 -04:00
bd40d6d324
relocate code sections to end up with stage2 starting at 0x500
Elaina Claus
2024-10-12 22:14:47 -04:00
eb97aac673
relocate code sections to end up with stage2 starting at 0x500
Elaina Claus
2024-10-12 22:14:47 -04:00
3d3bcc6ea5
reduced stage2 to 24KiB
Elaina Claus
2024-10-12 22:13:12 -04:00
c60bad1066
reduced stage2 to 24KiB
Elaina Claus
2024-10-12 22:13:12 -04:00
d1f8ec4a9e
follow standard proceedure and reallocate the mbr to 0x600
Elaina Claus
2024-10-12 21:21:43 -04:00
050f90517a
follow standard proceedure and reallocate the mbr to 0x600
Elaina Claus
2024-10-12 21:21:43 -04:00
2fa03c31d7
partially roll back changing the segment to 0x07E0
Elaina Claus
2024-10-12 20:25:04 -04:00
555cf1271b
partially roll back changing the segment to 0x07E0
Elaina Claus
2024-10-12 20:25:04 -04:00
f535840572
big step...and also its completely broken right now
Elaina Claus
2024-10-12 15:41:39 -04:00
8fea1f0a06
big step...and also its completely broken right now
Elaina Claus
2024-10-12 15:41:39 -04:00
54b7a81648
correct typo
Elaina Claus
2024-10-12 15:39:16 -04:00
b49b2bae68
correct typo
Elaina Claus
2024-10-12 15:39:16 -04:00
1d84f52690
definition corrections in part table stuff
Elaina Claus
2024-10-12 15:39:04 -04:00
5abbfa4d15
definition corrections in part table stuff
Elaina Claus
2024-10-12 15:39:04 -04:00
276fe70572
use early_mem.inc
Elaina Claus
2024-10-12 15:38:47 -04:00
83aa7d1147
use early_mem.inc
Elaina Claus
2024-10-12 15:38:47 -04:00
73b42c66fd
renamed mem.inc and removed unused items
Elaina Claus
2024-10-12 15:38:24 -04:00
ac6ad77249
renamed mem.inc and removed unused items
Elaina Claus
2024-10-12 15:38:24 -04:00
9656a9465b
first version of kmemcpy5/kmemset4
Elaina Claus
2024-10-12 14:48:26 -04:00
bc89850c00
first version of kmemcpy5/kmemset4
Elaina Claus
2024-10-12 14:48:26 -04:00
bd80f48b1b
use NASM defined size value from structure macro
Elaina Claus
2024-10-12 12:58:32 -04:00
12fc8a1e37
use NASM defined size value from structure macro
Elaina Claus
2024-10-12 12:58:32 -04:00
3fbfcbef53
BIOSMemoryMap is a location in bss now, use lea
Elaina Claus
2024-10-12 12:58:16 -04:00
baa146bef5
BIOSMemoryMap is a location in bss now, use lea
Elaina Claus
2024-10-12 12:58:16 -04:00
31c45051e6
minor cleanup related to memory refactor
Elaina Claus
2024-10-12 12:57:56 -04:00
d1217182d4
minor cleanup related to memory refactor
Elaina Claus
2024-10-12 12:57:56 -04:00
a523e17d27
moved stuff that is only referenced in Stage2 to stage2 bss
Elaina Claus
2024-10-12 12:55:29 -04:00
5a74cd86ad
moved stuff that is only referenced in Stage2 to stage2 bss
Elaina Claus
2024-10-12 12:55:29 -04:00
65e5a83eb4
stage2 is now a multisection binary file also preparing to move memory globals to bss section.
Elaina Claus
2024-10-12 11:29:20 -04:00
69c068f6be
stage2 is now a multisection binary file also preparing to move memory globals to bss section.
Elaina Claus
2024-10-12 11:29:20 -04:00
cd048933ec
output symbol maps to ease debuging
Elaina Claus
2024-10-12 11:28:25 -04:00
63421661a7
output symbol maps to ease debuging
Elaina Claus
2024-10-12 11:28:25 -04:00
e648fd0de6
remove PRINT_FUNC macro...this isn't it chief
Elaina Claus
2024-10-12 11:27:55 -04:00
9cde0333e6
remove PRINT_FUNC macro...this isn't it chief
Elaina Claus
2024-10-12 11:27:55 -04:00
2581e50c8b
ignore nasm symbol map files
Elaina Claus
2024-10-12 11:27:20 -04:00
6ff96deabc
ignore nasm symbol map files
Elaina Claus
2024-10-12 11:27:20 -04:00
60aaf5cdd9
move far jump setup in EnterUnrealMode to right after we save CS
Elaina Claus
2024-10-11 21:51:07 -04:00
96de8cd9c7
move far jump setup in EnterUnrealMode to right after we save CS
Elaina Claus
2024-10-11 21:51:07 -04:00
59678149e0
added debug config for bochs
Elaina Claus
2024-10-11 21:49:15 -04:00
daa6337285
added debug config for bochs
Elaina Claus
2024-10-11 21:49:15 -04:00
075e51c8bc
move macro definition super early fix a few mistakes in macro defs
Elaina Claus
2024-10-11 19:31:31 -04:00
d73a4eea6c
move macro definition super early fix a few mistakes in macro defs
Elaina Claus
2024-10-11 19:31:31 -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
Elaina Claus
2024-10-11 19:05:15 -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
Elaina Claus
2024-10-11 19:05:15 -04:00
e5fb1b41eb
added bochs debug wrappers
Elaina Claus
2024-10-11 19:03:27 -04:00
a3f0684c85
added bochs debug wrappers
Elaina Claus
2024-10-11 19:03:27 -04:00
208729ed01
split e820 bios call documentation to its own file under docs/
Elaina Claus
2024-10-11 17:20:53 -04:00
a8da6eef72
split e820 bios call documentation to its own file under docs/
Elaina Claus
2024-10-11 17:20:53 -04:00
086cf9d8ea
correct src size in op
Elaina Claus
2024-10-11 16:52:57 -04:00
d9e46f5571
correct src size in op
Elaina Claus
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
Elaina Claus
2024-10-11 15:55:24 -04:00
0250d9351d
inlined ClusterToLBA removed caller save kludge for now init first_root_dir_sector from ebpb data
Elaina Claus
2024-10-11 15:55:24 -04:00
71f13fd6b5
somewhat of a cludge, but added a macro to save all caller saved regs
Elaina Claus
2024-10-11 14:25:01 -04:00
e8fb22c826
somewhat of a cludge, but added a macro to save all caller saved regs
Elaina Claus
2024-10-11 14:25:01 -04:00
802d47fbf7
fix passing stage2 wrong data for boot drive
Elaina Claus
2024-10-11 13:09:17 -04:00
df3b8dfc0c
fix passing stage2 wrong data for boot drive
Elaina Claus
2024-10-11 13:09:17 -04:00
4af0637c7f
use kmemset to 0 out fat32_state in InitFATDriver
Elaina Claus
2024-10-11 13:00:45 -04:00
3a819a685a
use kmemset to 0 out fat32_state in InitFATDriver
Elaina Claus
2024-10-11 13:00:45 -04:00
07197b0d5b
reduce proceedure local storage to 16 bytes
Elaina Claus
2024-10-11 12:59:36 -04:00
5ccd2fb12f
reduce proceedure local storage to 16 bytes
Elaina Claus
2024-10-11 12:59:36 -04:00
056551fdd1
rename file to BOOT.BIN K.I.S.S.
Elaina Claus
2024-10-11 12:16:01 -04:00
ccb82f29fc
rename file to BOOT.BIN K.I.S.S.
Elaina Claus
2024-10-11 12:16:01 -04:00
0aae0616fd
more comments to seperate setups
Elaina Claus
2024-10-11 12:08:09 -04:00
f665d7fcaa
more comments to seperate setups
Elaina Claus
2024-10-11 12:08:09 -04:00
aff631f3db
force 1-1 logical to physical sectors copy our VBR code to backup VBR
Elaina Claus
2024-10-11 12:04:44 -04:00
94034eb7bf
force 1-1 logical to physical sectors copy our VBR code to backup VBR
Elaina Claus
2024-10-11 12:04:44 -04:00
a3a768adf4
more error handling in detecting disk image creation will need ported to macOS sometime
Elaina Claus
2024-10-11 11:44:04 -04:00
ab21f9c838
more error handling in detecting disk image creation will need ported to macOS sometime
Elaina Claus
2024-10-11 11:44:04 -04:00
d684d4f11f
more error handling for dd writes
Elaina Claus
2024-10-11 11:31:38 -04:00
2f391a0fc2
more error handling for dd writes
Elaina Claus
2024-10-11 11:31:38 -04:00
75c046f9cd
use gs for vesa framebuffer (was fs)
Elaina Claus
2024-10-08 20:23:16 -04:00
d88b1bcb70
use gs for vesa framebuffer (was fs)
Elaina Claus
2024-10-08 20:23:16 -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
Elaina Claus
2024-10-08 20:22:21 -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
Elaina Claus
2024-10-08 20:22:21 -04:00