preparation for no-badline tape loading on Mega65

This commit is contained in:
FeralChild64 committed 2020-05-31 20:27:51 +02:00
1 parent 0b9ee76e2f
commit 9168115679
4 files changed
+24

No files matched your search

+11
View File
@@ -21,6 +21,9 @@
#if CONFIG_TAPE_NORMAL || CONFIG_TAPE_TURBO
.label __MSG_KERNAL_PRESS_PLAY = __msg_kernalplay - __msg_kernal_first
.label __MSG_KERNAL_FOUND = __msg_kernalfound - __msg_kernal_first
#if CONFIG_MB_MEGA_65
.label __MSG_KERNAL_OK_SEARCHING = __msg_kernaloksearching - __msg_kernal_first
#endif
#endif
#if CONFIG_SHOW_PAL_NTSC
@@ -78,6 +81,14 @@ __msg_kernalfound:
.text "FOUND"
.byte $80 + $20 // end of string mark + space
#if CONFIG_MB_MEGA_65
__msg_kernaloksearching:
.text "OK, SEARCHING"
.byte $80 + $0D // end of string mark + return
#endif
#endif
#if CONFIG_SHOW_PAL_NTSC
+1
View File
@@ -45,6 +45,7 @@
.label print_return = KERNAL_0.proxy_K1_print_return
.label __MSG_KERNAL_PRESS_PLAY = KERNAL_0.__MSG_KERNAL_PRESS_PLAY
.label __MSG_KERNAL_OK_SEARCHING = KERNAL_0.__MSG_KERNAL_OK_SEARCHING
.label __MSG_KERNAL_FOUND = KERNAL_0.__MSG_KERNAL_FOUND
#endif
+9
View File
@@ -73,6 +73,15 @@ tape_wait_play_loop:
bit CIA1_ICR // $DC0D
beq !-
#endif
#if CONFIG_MB_MEGA_65
// Display confirmation
ldx #__MSG_KERNAL_OK_SEARCHING
jsr print_kernal_message
#endif
// FALLTROUGH
+3
View File
@@ -11,6 +11,9 @@
#if CONFIG_TAPE_NORMAL || CONFIG_TAPE_TURBO
// XXX for Mega65 do not disable screen, just disable badline emulation
tape_screen_on_motor_off:
jsr tape_motor_off