Code: Select all
STP: MACRO
.BYTE DB
ENDM
Code: Select all
STP: MACRO
.BYTE DB
ENDM
Code: Select all
STP: MACRO
.BYTE DB
ENDMCode: Select all
sloop3
LDA ($00),Y ; copy the byte ..
STA ($00),Y ; .. to RAM
INY
BNE sloop3 ; loop if more bytes to copy
INC $01
LDA $01
CMP #$C0 ; compare it with end + 1
BNE sloop3 ; loop if not there yetCode: Select all
sloop3
LDA ($00),Y ; copy the byte ..
STA ($00),Y ; .. to RAM
INY
BNE sloop3 ; loop if more bytes to copy
INC $01
LDA $01
CMP #$C0 ; compare it with end + 1
BNE sloop3 ; loop if not there yetCode: Select all
SET_NATIVE_MODE
SET_INDEX_WIDE
LDX #0000
l1 LDA $000000,X
STA $001000,X
INX
CPX #$1000
BNE l1