move softswitches outside auxmem copy loop now that we're running from the stack page

This commit is contained in:
4am 2018-01-07 22:29:40 -05:00
parent a46b819a9d
commit e59fd225db

View File

@ -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