load and jump to stage 3 separately from stage 2

This commit is contained in:
pantonshire committed 2025-04-21 10:53:34 +01:00
1 parent da529e8426
commit bb60e1c8ed
11 files changed
+117 -238

No files matched your search

+2 -2
View File
@@ -24,8 +24,8 @@ build_stage_2:
mkimg:
dd if=/dev/zero of=disk.bin bs=440 count=1 conv=notrunc
dd if=stage_1/stage_1.bin of=disk.bin conv=notrunc
dd if=stage_2/stage_2.bin of=disk.bin bs=512 seek=70 conv=notrunc
dd if=build/stage_1/s1.bin of=disk.bin conv=notrunc
dd if=build/s23.bin of=disk.bin bs=512 seek=70 conv=notrunc
# build:
# nasm -f bin -Iinclude -o boot0.bin boot0.s