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: bios:
z80asm -i main.asm -o rom.bin @echo "Building PAT80 rom..."
dd if=/dev/zero of=rom.bin bs=1 count=0 seek=8192 @z80asm -i main.asm -o rom.bin
minipro -w rom.bin -p "AT28C64B" @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"