2020-12-30 20:14:03 +01:00
|
|
|
os:
|
2020-12-05 12:07:34 +01:00
|
|
|
@echo "Building PAT80 rom..."
|
2020-12-29 23:28:30 +01:00
|
|
|
@z80asm -i main.asm -o rom.bin || (exit 1)
|
|
|
|
@echo "Generating label lookup table..."
|
2020-12-30 19:58:32 +01:00
|
|
|
@z80asm -i main.asm -o rom.bin -L 2>&1 | grep "Sys_" > abi-generated.asm
|
2020-12-05 12:07:34 +01:00
|
|
|
@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"
|