xmodem: don't set up ACIA if closed apple held

This commit is contained in:
mgcaret 2018-10-07 12:41:08 -07:00
parent 464ce2e99d
commit 65c2a4c7d0
1 changed files with 4 additions and 2 deletions

View File

@ -272,8 +272,10 @@ xmentry: php ; Save carry status to select op
lda #ENOSTK ; flag not enough stack lda #ENOSTK ; flag not enough stack
sec ; and error out sec ; and error out
rts rts
: jsr ACIA_Init ; set up ACIA : bit butn1 ; check closed apple key
plp ; and get carry status back bmi :+ ; and if held, don't set up ACIA
jsr ACIA_Init ; set up ACIA
: plp ; and get carry status back
ldx #ZPEND ; save ZP locations we are trashing on stack ldx #ZPEND ; save ZP locations we are trashing on stack
savelp: lda ZPSTART,x savelp: lda ZPSTART,x
pha pha