64tass 1.56 does not work
First of all: Thank you very much for your great work! I am one of the two co-authors of the C64 FPGA core for the MEGA65 computer (the core is based on MiSTer FPGA): https://github.com/MJoergen/C64MEGA65/
We currently have an incompatibility problem: Commando does not start when I press the fire button.
Your annotated source code / disassembly is invaluable for us! :-) It will save me MANY HOURS of work while trying to understand where our core is incompatible with an original C64.
I just wanted to notify you, that when I tried to assemble the "orig" branch with 65tass 1.56, I am getting a bunch of errors (see below). This was not a big deal: I switched to the version that you mentioned (1.54) and then it worked like a charme.
Just in case you want to fix this, here are the error messages:
~/.gnr/Commodore/Commodore\ 64/64tass/64tass-1.56.2625/64tass -Wall --cbm-prg -o bin/co1.prg -L bin/list-co1.txt -l bin/labels.txt --vice-labels src/main.asm
64tass Turbo Assembler Macro V1.56.2625
64TASS comes with ABSOLUTELY NO WARRANTY; This is free software, and you
are welcome to redistribute it under certain conditions; See LICENSE!
Assembling file: src/main.asm
Assembling file: src/music.asm
Reading file: src/l0-map.bin
Reading file: src/l0-padding.bin
Reading file: src/l1-map.bin
Reading file: src/l1-padding.bin
Reading file: src/l3-map.bin
Reading file: src/l3-padding.bin
Reading file: src/l0-charset.bin
Reading file: src/l1-charset.bin
src/music.asm:695:18: error: an expression is expected
PATTERNS_LIST = [
^
src/music.asm:696:14: error: general syntax
PAT00,PAT01,PAT02,PAT03,
^
src/music.asm:697:14: error: general syntax
PAT04,PAT05,PAT06,PAT07,
^
src/music.asm:698:14: error: general syntax
PAT08,PAT09,PAT0A,PAT0B,
^
src/music.asm:699:14: error: general syntax
PAT0C,PAT0D,PAT0E,PAT0F,
^
src/music.asm:700:14: error: general syntax
PAT10,PAT11,PAT12,PAT13,
^
src/music.asm:701:14: error: general syntax
PAT14,PAT15,PAT16,PAT17,
^
src/music.asm:702:14: error: general syntax
PAT18,PAT19,PAT1A,PAT1B,
^
src/music.asm:703:14: error: general syntax
PAT1C,PAT1D,PAT1E,PAT1F,
^
src/music.asm:704:14: error: general syntax
PAT20,PAT21,PAT22,PAT23,
^
src/music.asm:705:14: error: general syntax
PAT24,PAT25,PAT26,PAT27,
^
src/music.asm:706:14: error: general syntax
PAT28,PAT29,PAT2A,PAT2B,
^
src/music.asm:707:14: error: general syntax
PAT2C]
^
src/music.asm:710:16: error: not defined symbol 'PATTERNS_LIST'
.BYTE <PATTERNS_LIST
^
src/music.asm: note: searched in the global scope
src/music.asm:769:1: error: duplicate definition 'PAT00'
PAT00 ;$5887
^
src/music.asm:696:9: note: original definition of 'PAT00' was here
PAT00,PAT01,PAT02,PAT03,
^
src/music.asm:787:1: error: duplicate definition 'PAT08'
PAT08 ;$58FA
^
src/music.asm:698:9: note: original definition of 'PAT08' was here
PAT08,PAT09,PAT0A,PAT0B,
^
src/music.asm:818:1: error: duplicate definition 'PAT0C'
PAT0C ;$59D2
^
src/music.asm:699:9: note: original definition of 'PAT0C' was here
PAT0C,PAT0D,PAT0E,PAT0F,
^
src/music.asm:838:1: error: duplicate definition 'PAT10'
PAT10 ;$5A5D
^
src/music.asm:700:9: note: original definition of 'PAT10' was here
PAT10,PAT11,PAT12,PAT13,
^
src/music.asm:862:1: error: duplicate definition 'PAT14'
PAT14 ;$5AF1
^
src/music.asm:701:9: note: original definition of 'PAT14' was here
PAT14,PAT15,PAT16,PAT17,
^
src/music.asm:885:1: error: duplicate definition 'PAT18'
PAT18 ;$5B7D
^
src/music.asm:702:9: note: original definition of 'PAT18' was here
PAT18,PAT19,PAT1A,PAT1B,
^
src/music.asm:921:1: error: duplicate definition 'PAT1C'
PAT1C ;$5C78
^
src/music.asm:703:9: note: original definition of 'PAT1C' was here
PAT1C,PAT1D,PAT1E,PAT1F,
^
src/music.asm:951:1: error: duplicate definition 'PAT04'
PAT04 ;a5D0F
^
src/music.asm:697:9: note: original definition of 'PAT04' was here
PAT04,PAT05,PAT06,PAT07,
^
src/music.asm:975:1: error: duplicate definition 'PAT20'
PAT20 ;$5D93
^
src/music.asm:704:9: note: original definition of 'PAT20' was here
PAT20,PAT21,PAT22,PAT23,
^
src/music.asm:999:1: error: duplicate definition 'PAT24'
PAT24 ;$5E17
^
src/music.asm:705:9: note: original definition of 'PAT24' was here
PAT24,PAT25,PAT26,PAT27,
^
src/music.asm:1014:1: error: duplicate definition 'PAT28'
PAT28 ;$5E5C
^
src/music.asm:706:9: note: original definition of 'PAT28' was here
PAT28,PAT29,PAT2A,PAT2B,
^
src/music.asm:1038:1: error: duplicate definition 'PAT2C'
PAT2C ;$5EE3
^
src/music.asm:707:9: note: original definition of 'PAT2C' was here
PAT2C]
^
Error messages: 26
Warning messages: None
Passes: 2
make: *** [co1.prg] Error 1