mirror of
https://github.com/a2-4am/4sports.git
synced 2024-06-26 09:29:33 +00:00
22 lines
407 B
Plaintext
22 lines
407 B
Plaintext
|
!macro COPY_TO_AUXMEM .startpage, .pagecount {
|
||
|
ldx #.pagecount
|
||
|
lda #.startpage
|
||
|
sta $FF
|
||
|
lda #$00
|
||
|
sta $FE
|
||
|
tay
|
||
|
sta $c005
|
||
|
- lda ($FE),y
|
||
|
sta ($FE),y
|
||
|
iny
|
||
|
bne -
|
||
|
inc $FF
|
||
|
dex
|
||
|
bne -
|
||
|
sta $c004
|
||
|
}
|
||
|
|
||
|
!macro COPY_SELF_TO_AUXMEM {
|
||
|
+COPY_TO_AUXMEM $60, $60
|
||
|
}
|