Updated makefile to show rom size!

This commit is contained in:
Daniele Verducci su MatissePenguin 2020-12-05 12:07:34 +01:00
parent 77b4ff1567
commit 7c6300af8a

View File

@ -1,5 +1,9 @@
bios:
z80asm -i main.asm -o rom.bin
dd if=/dev/zero of=rom.bin bs=1 count=0 seek=8192
minipro -w rom.bin -p "AT28C64B"
@echo "Building PAT80 rom..."
@z80asm -i main.asm -o rom.bin
@echo "PAT80 Rom size:"
@du -h rom.bin
@echo "Stretching rom to EEPROM size..."
@dd if=/dev/zero of=rom.bin bs=1 count=0 seek=8192
@echo "Writing to EEPROM..."
@minipro -w rom.bin -p "AT28C64B"