From 7c6300af8aa9f859716a976494c02c3df6f4d6ec Mon Sep 17 00:00:00 2001 From: Daniele Verducci su MatissePenguin Date: Sat, 5 Dec 2020 12:07:34 +0100 Subject: [PATCH] Updated makefile to show rom size! --- assembly/bios/Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/assembly/bios/Makefile b/assembly/bios/Makefile index c2d7e4e..3929748 100644 --- a/assembly/bios/Makefile +++ b/assembly/bios/Makefile @@ -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" - \ No newline at end of file + @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"