diff --git a/.gitignore b/.gitignore index a78d292..ba5b18b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,22 @@ .vscode .~lock* -.user_venv/ \ No newline at end of file +.user_venv/ + + +# Software build files +*.map +*.list +*.bin +*.o + + +# Efinix Debugger +*.log* +*.vcd +*.gtkw +*debug_profile* + + +*.mem + diff --git a/Makefile b/Makefile index 432a119..24d1d56 100644 --- a/Makefile +++ b/Makefile @@ -21,12 +21,13 @@ $(INIT_HEX): toolchain script/generate_rom_image.py $(HEX) python script/generate_rom_image.py -i $(HEX) -o $@ $(HEX): - $(MAKE) -C sw/$(ROM) $(notdir $@) + $(MAKE) -C sw/$(ROM_TARGET) $(notdir $@) .PHONY: clean clean: $(MAKE) -C hw/super6502_fpga $@ + $(MAKE) -C sw/$(ROM_TARGET) clean .PHONY: distclean distclean: clean - $(MAKE) -C sw/toolchain/cc65 clean \ No newline at end of file + $(MAKE) -C sw/toolchain/cc65 clean diff --git a/hw/super6502_fpga/init_hex.mem b/hw/super6502_fpga/init_hex.mem deleted file mode 100644 index b6697d2..0000000 --- a/hw/super6502_fpga/init_hex.mem +++ /dev/null @@ -1,65 +0,0 @@ -@00000000 -8d00a9 -200cd02 -801a03d0 -fe80f5 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -ff000000 -ff00ff00 diff --git a/hw/super6502_fpga/super6502_fpga.xml b/hw/super6502_fpga/super6502_fpga.xml index 8ba978f..d4cd497 100644 --- a/hw/super6502_fpga/super6502_fpga.xml +++ b/hw/super6502_fpga/super6502_fpga.xml @@ -1,4 +1,4 @@ - + @@ -81,9 +81,4 @@ - - - - - \ No newline at end of file diff --git a/sw/test_code/loop_test/lists/main.s.list b/sw/test_code/loop_test/lists/main.s.list deleted file mode 100644 index 07ca6e5..0000000 --- a/sw/test_code/loop_test/lists/main.s.list +++ /dev/null @@ -1,31 +0,0 @@ -ca65 V2.19 - Git 71b58f796 -Main file : main.s -Current file: main.s - -000000r 1 .export _init, _nmi_int, _irq_int -000000r 1 -000000r 1 -000000r 1 SDRAM = $200 -000000r 1 -000000r 1 .segment "VECTORS" -000000r 1 -000000r 1 rr rr .addr _nmi_int ; NMI vector -000002r 1 rr rr .addr _init ; Reset vector -000004r 1 rr rr .addr _irq_int ; IRQ/BRK vector -000006r 1 -000006r 1 .code -000000r 1 -000000r 1 _nmi_int: -000000r 1 _irq_int: -000000r 1 -000000r 1 _init: -000000r 1 A9 00 lda #$00 -000002r 1 @start: -000002r 1 8D 00 02 sta SDRAM -000005r 1 CD 00 02 cmp SDRAM -000008r 1 D0 03 bne @end -00000Ar 1 1A ina -00000Br 1 80 F5 bra @start -00000Dr 1 -00000Dr 1 80 FE @end: bra @end -00000Dr 1 diff --git a/sw/test_code/loop_test/loop_test.bin b/sw/test_code/loop_test/loop_test.bin deleted file mode 100644 index bf7ab22..0000000 Binary files a/sw/test_code/loop_test/loop_test.bin and /dev/null differ diff --git a/sw/test_code/loop_test/loop_test.map b/sw/test_code/loop_test/loop_test.map deleted file mode 100644 index e41199a..0000000 --- a/sw/test_code/loop_test/loop_test.map +++ /dev/null @@ -1,28 +0,0 @@ -Modules list: -------------- -main.o: - CODE Offs=000000 Size=00000F Align=00001 Fill=0000 - VECTORS Offs=000000 Size=000006 Align=00001 Fill=0000 - - -Segment list: -------------- -Name Start End Size Align ----------------------------------------------------- -CODE 00FF00 00FF0E 00000F 00001 -VECTORS 00FFFA 00FFFF 000006 00001 - - -Exports list by name: ---------------------- - - - -Exports list by value: ----------------------- - - - -Imports list: -------------- - diff --git a/sw/test_code/loop_test/main.o b/sw/test_code/loop_test/main.o deleted file mode 100644 index ec86438..0000000 Binary files a/sw/test_code/loop_test/main.o and /dev/null differ