Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Commit

Permalink
xmodem: don't set up ACIA if closed apple held
Browse files Browse the repository at this point in the history
  • Loading branch information
mgcaret committed Oct 7, 2018
1 parent 464ce2e commit 65c2a4c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions rom4x/inc/xmodem.s
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,10 @@ xmentry: php ; Save carry status to select op
lda #ENOSTK ; flag not enough stack
sec ; and error out
rts
: jsr ACIA_Init ; set up ACIA
plp ; and get carry status back
: bit butn1 ; check closed apple key
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
savelp: lda ZPSTART,x
pha
Expand Down

0 comments on commit 65c2a4c

Please sign in to comment.