give Choplifter a timeout (#104)

This commit is contained in:
Peter Ferrie 2021-04-12 18:59:04 -07:00 committed by GitHub
parent 29679e0ed9
commit dd934210f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -310,6 +310,10 @@ ReadChoplifter
.readtracki !pseudopc $2000 {
ldx #$60
lda #$E0
sta tmpa
sta tmpy
.retry
lda tmpx
sta nibcount
@ -318,7 +322,9 @@ ReadChoplifter
lda modsrc+1
sta moddest+1
ldy #$00
--- jsr .readnibx
--- inc tmpa
beq .inc_tmpy
jsr .readnibx
-- cmp cmp2+1
bne ---
jsr .readnibx
@ -360,6 +366,12 @@ ReadChoplifter
bne .retry
rts
.inc_tmpy
inc tmpy
bne ---
;;something
jmp .cancel
.readnibx
- lda $C08C,x
bpl -