17 lines
445 B
Makefile
Raw Normal View History

2023-08-04 16:44:31 +02:00
PYTHON = /bin/python3.11
2023-01-11 11:13:09 +01:00
leds:
2023-08-04 16:44:31 +02:00
$(PYTHON) ../tools/Assembler/assembler.pyc leds.asm
2023-01-11 11:13:09 +01:00
cp leds.hack ../05_Computer_Architecture/04_HACK/ROM.hack
mult:
2023-08-04 16:44:31 +02:00
$(PYTHON) ../tools/Assembler/assembler.pyc mult.asm
2023-01-11 11:13:09 +01:00
cp mult.hack ../05_Computer_Architecture/04_HACK/ROM.hack
upload:
2023-08-04 16:44:31 +02:00
$(PYTHON) ../tools/Assembler/assembler.pyc leds.asm
$(PYTHON) ../tools/AsciiToBin.py leds.hack
2023-01-11 11:13:09 +01:00
iceprogduino -o 64k -w leds.bin
clean:
rm -f *.hack *~ *.bin
.PHONY: clean