mirror of
https://github.com/a2-4am/a2fc.system.git
synced 2024-11-05 01:04:44 +00:00
move softswitches outside auxmem copy loop now that we're running from the stack page
This commit is contained in:
parent
a46b819a9d
commit
e59fd225db
@ -58,17 +58,16 @@ Open
|
||||
;DHGRCopy
|
||||
sta $C00A
|
||||
sta $C000
|
||||
.writeToAux
|
||||
sta $C005 ; read from mainmem, write to auxmem
|
||||
.copya lda $2000,x
|
||||
.copyb sta $2000,x
|
||||
inx
|
||||
bne .copya
|
||||
sta $C004 ; read/write from mainmem
|
||||
inc .copya+2
|
||||
inc .copyb+2
|
||||
bit .copyb+2
|
||||
bvc .writeToAux ; loop until address hits $4000
|
||||
bvc .copya ; loop until address hits $4000
|
||||
sta $C004 ; read/write from mainmem
|
||||
jsr Read
|
||||
Close
|
||||
php
|
||||
|
Loading…
Reference in New Issue
Block a user