2021-01-16 01:13:14 +01:00
|
|
|
TOPTARGETS := all clean
|
|
|
|
|
|
|
|
SUBDIRS := firmware
|
|
|
|
|
|
|
|
$(TOPTARGETS): $(SUBDIRS)
|
|
|
|
$(SUBDIRS):
|
|
|
|
$(MAKE) -C $@ $(MAKECMDGOALS)
|
|
|
|
|
|
|
|
.PHONY: $(TOPTARGETS) $(SUBDIRS)
|
|
|
|
|
2023-01-13 23:21:25 +01:00
|
|
|
apple1serial-C000.bin:
|
|
|
|
xa -DOFFSET="0" -W -C -v -O ASCII -c src/apple1serial.a65 -l apple1serial-C000.label -o apple1serial-C000.bin
|
2021-01-16 01:13:14 +01:00
|
|
|
|
2023-01-13 23:21:25 +01:00
|
|
|
apple1serial-C300.bin:
|
|
|
|
xa -DOFFSET="768" -W -C -v -O ASCII -c src/apple1serial.a65 -l apple1serial-C300.label -o apple1serial-C300.bin
|
|
|
|
|
2023-03-29 01:47:22 +02:00
|
|
|
apple1serial-C600.bin:
|
|
|
|
xa -DOFFSET="1536" -W -C -v -O ASCII -c src/apple1serial.a65 -l apple1serial-C600.label -o apple1serial-C600.bin
|
2023-01-13 23:21:25 +01:00
|
|
|
|
2023-03-29 01:47:22 +02:00
|
|
|
|
|
|
|
all: apple1serial-C000.bin apple1serial-C300.bin apple1serial-C600.bin
|
2021-01-16 01:13:14 +01:00
|
|
|
|
|
|
|
clean:
|
2023-01-13 23:21:25 +01:00
|
|
|
rm -f apple1serial*.bin apple1serial*.label
|
2023-01-14 00:23:46 +01:00
|
|
|
|
|
|
|
burn-C000-gal:
|
|
|
|
minipro -p GAL20V8B -w mapping/address_decoder-C000.jed
|
|
|
|
|
|
|
|
burn-C000-rom: apple1serial-C000.bin
|
|
|
|
minipro -s -p 28C64B -w apple1serial-C000.bin
|
|
|
|
|
|
|
|
burn-C300-gal:
|
|
|
|
minipro -p GAL20V8B -w mapping/address_decoder-C300.jed
|
|
|
|
|
|
|
|
burn-C300-rom: apple1serial-C300.bin
|
|
|
|
minipro -s -p 28C64B -w apple1serial-C300.bin
|
2023-03-29 01:47:22 +02:00
|
|
|
|
|
|
|
burn-C600-gal:
|
|
|
|
minipro -p GAL20V8B -w mapping/address_decoder-C600.jed
|
|
|
|
|
|
|
|
burn-C600-rom: apple1serial-C600.bin
|
|
|
|
minipro -s -p 28C64B -w apple1serial-C600.bin
|