Refactor boot with polio.com first, then polmon

This commit is contained in:
2025-09-29 17:57:42 +02:00
parent 044e58ef12
commit dd5d329dff
3 changed files with 213 additions and 2 deletions

View File

@@ -34,6 +34,8 @@ fat12boot.bin: fat12boot.elf
polmon.elf: LDFLAGS += -T flat1000.ld
polmon.elf: polmon.o stdlib.o
polio.elf: LDFLAGS += -T flat0600.ld
polio.elf: polio.s fat12.o
wozmon.o: polmon.cc
wozmon.o: CPPFLAGS = -DWOZMON=1
@@ -49,8 +51,8 @@ wozmon.bin: wozmon.elf
polos.img: fat12boot.bin polmon.com polio.com
dd if=/dev/zero of=$@ bs=512 count=720
mformat -i $@ -t 40 -h 2 -s 9
mcopy -i $@ polio.com ::/polio.com
mcopy -i $@ polmon.com ::/polmon.com
mcopy -i $@ polio.com ::/
mcopy -i $@ polmon.com ::/
dd if=fat12boot.bin of=$@ conv=notrunc
.PHONY: clean