I am trying to learn CBM Program Studio. But I can’t get macros for me. The codes were fine with the macro. But when I add the macro, it gives “No end-of-line definition” on line 7.
Any idea?
*=$c000 ; sys 49152
; set screen colors to black
lda #$00
sta $d020
sta $d021
defm waitmacro ;akumulatörü hacılıyor
TYA
mloop DEY
BNE mloop
TAY
endm waitmacro
;color bars
LDX #$FF
loop LDY #$07
STY $d020
waitmacro
INY
STY $d020
waitmacro
DEX
BNE loop
RTS
source
share