Given the following CA65 code:
foo = $82
.scope
LDA #$ff
STA foo*$40
.endscope
I get this error message:
foo.s(5): Error: Range error (8320 not in [0..255])
Interestingly, the following version works as expected:
foo = $82
LDA #$ff
STA foo*$40
So how do I get this working inside a .scope
?