tape interlock support, don't display PRESS PLAY if already pressed

This commit is contained in:
FeralChild64 committed 2019-11-05 17:53:27 +01:00
1 parent b860322a09
commit 3416414e51
4 files changed
+35 -4

No files matched your search

+10
View File
@@ -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