Add interrupt based timer and test code
This commit is contained in:
@@ -1,11 +1,18 @@
|
||||
TARGETS=stacktest runram timer
|
||||
TARGETS=stacktest runram timer timer_irq
|
||||
SRC=$(wildcard *.s)
|
||||
DIR=../ip/bram
|
||||
|
||||
all: $(TARGETS)
|
||||
|
||||
$(TARGETS):
|
||||
$(TARGETS): $(SRC)
|
||||
cl65 --cpu 65c02 -C link.ld -l $@.list $@.s
|
||||
xxd -ps $@ | fold -w 2 > $@.hex
|
||||
|
||||
install:
|
||||
cp $(TARGET).hex $(DIR)/init_hex.mem
|
||||
cd $(DIR);python3 efx_mem_init_script.py hex init_hex.mem
|
||||
|
||||
|
||||
clean:
|
||||
rm -f $(TARGETS)
|
||||
rm *.hex
|
||||
|
||||
Reference in New Issue
Block a user