Hey, I believe I found a bug, but I could be wrong. It seems that after 1.2.15 square brackets can no longer be used. They seem to throw an error. I'll give you a quick example:
Code:
DVGA_LOADDEFCHARACTERS:
PHA
PHX
M_PTR_STORE [CHAR_ROM+$468-8], V_SYSVAR3 ; Store starting location in V_SYSVAR3
LDX #$8C ; Set X counter to 140 (140 chars total)
.loop
STX V_SYSVAR1 ; Set Location of this character
M_PTR_COPY V_SYSVAR3, V_SYSVAR2 ; Copy Start of Character from Var 3 -> 2
JSR DVGA_STORECHAR ; Put Address of Character V_SYSVAR2 and Location you want it stored in V_SYSVAR1
M_SYS_SUB_16BIT $08, V_SYSVAR3 ; Deduct 8bytes from V_SYSVAR3
DEX ; deduct 1 from the location
CPX #$FF ; Did we hit 0 and Roll to FF
BNE .loop ; loop until we hit go through 0 to FF
PLX
PLA
RTS
The line in question would be
M_PTR_STORE [CHAR_ROM+$468-8], V_SYSVAR3 ; Store starting location in V_SYSVAR3This assembled with no error in 1.2.15 but in the newest version I get the following error:
ERROR E038: Not enough parameters in macro call. ROW 32, FILE C:\DANI-I-SYSTEM-ROM-master\SYS\DANI-I-VGA.asm
It pretty much throws an error wherever I use square brackets. Not sure if it's intentional or perhaps I was doing something that shouldn't of been allowed in versions below 1.3.