Refactor boot with polio.com first, then polmon
This commit is contained in:
6
Makefile
6
Makefile
@@ -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
|
||||
|
Reference in New Issue
Block a user