mirror of
https://github.com/a2-4am/a2fc.system.git
synced 2024-06-15 20:30:05 +00:00
bit/bvc
This commit is contained in:
parent
9f27d9db12
commit
3541e5fb2a
|
@ -34,7 +34,6 @@ MLI = $BF00
|
||||||
|
|
||||||
jmp Start ; magic jump
|
jmp Start ; magic jump
|
||||||
!byte $EE,$EE ; magic bytes
|
!byte $EE,$EE ; magic bytes
|
||||||
inputfile
|
|
||||||
!byte $40 ; length of inputfile buffer
|
!byte $40 ; length of inputfile buffer
|
||||||
inputfilebuffer
|
inputfilebuffer
|
||||||
!fill $40
|
!fill $40
|
||||||
|
@ -57,7 +56,6 @@ Open
|
||||||
jsr Read
|
jsr Read
|
||||||
bcs Close
|
bcs Close
|
||||||
;DHGRCopy
|
;DHGRCopy
|
||||||
ldx #$20
|
|
||||||
sta $C00A
|
sta $C00A
|
||||||
sta $C000
|
sta $C000
|
||||||
tay
|
tay
|
||||||
|
@ -70,8 +68,8 @@ Open
|
||||||
sta $C004 ; read/write from mainmem
|
sta $C004 ; read/write from mainmem
|
||||||
inc .copya+2
|
inc .copya+2
|
||||||
inc .copyb+2
|
inc .copyb+2
|
||||||
dex
|
bit .copyb+2
|
||||||
bne .writeToAux
|
bvc .writeToAux ; loop until address hits $4000
|
||||||
jsr Read
|
jsr Read
|
||||||
Close
|
Close
|
||||||
php
|
php
|
||||||
|
|
Loading…
Reference in New Issue
Block a user