tape interlock support, don't display PRESS PLAY if already pressed
This commit is contained in:
1 parent
b860322a09
commit
3416414e51
4 files changed
+35
-4
No files matched your search
@@ -84,6 +84,14 @@ tape_ask_play:
|
||||
|
||||
sei // timing is critical for tape loading
|
||||
|
||||
// First check whether the button is already pressed
|
||||
|
||||
lda CPU_R6510
|
||||
and #$10
|
||||
beq tape_wait_play_done
|
||||
|
||||
// Turn off the motor, display message
|
||||
|
||||
jsr tape_motor_off
|
||||
|
||||
ldx #__MSG_KERNAL_PRESS_PLAY
|
||||
@@ -110,6 +118,8 @@ tape_wait_play_loop:
|
||||
and #$10 // check for pressed button
|
||||
bne tape_wait_play_loop
|
||||
|
||||
tape_wait_play_done:
|
||||
|
||||
jsr print_return
|
||||
jmp tape_screen_hide_motor_on
|
||||
|
||||
|
||||
Reference in new issue
Block a user