cleanup in multiprotocol IEC support

This commit is contained in:
FeralChild64 committed 2020-08-22 22:20:51 +02:00
1 parent 274a3c070a
commit 379eb746fe
10 files changed
+33 -18

No files matched your search

+1 -1
View File
@@ -56,7 +56,7 @@ dolphindos_detect_success:
// Protocol detected
lda #$02
lda #IEC_DOLPHIN
sta IECPROTO
rts
+1 -1
View File
@@ -76,7 +76,7 @@ dolphindos_load_loop:
jsr iec_update_EAL_by_Y
// Restore proper IECPROTO value
lda #$02
lda #IEC_DOLPHIN
sta IECPROTO
// End of load loop
+2 -2
View File
@@ -33,12 +33,12 @@ jiffydos_detect_loop:
lda IECPROTO
bpl jiffydos_detect_end // no detection requested, preserve existing protocol
lda #$00 // normal protocol
lda #IEC_NORMAL // normal protocol
beq jiffydos_store_proto // branch always
jiffydos_detected:
jsr iec_wait_for_data_release // guessed from VICE logs
lda #$01 // JiffyDOS protocol
lda #IEC_JIFFY // JiffyDOS protocol
// FALLTROUGH
+1 -1
View File
@@ -145,7 +145,7 @@ jiffydos_load_end:
sta C3PO
// Restore proper IECPROTO value
lda #$01
lda #IEC_JIFFY
sta IECPROTO
#if CONFIG_IEC_JIFFYDOS_BLANK
+1 -1
View File
@@ -102,7 +102,7 @@ jiffydos_rx_byte_end:
sta C3PO
// Restore proper IECPROTO value
lda #$01
lda #IEC_JIFFY
sta IECPROTO
// Re-enable sprites
+1 -1
View File
@@ -83,7 +83,7 @@ jiffydos_tx_byte_finalize:
sta CIA2_PRA
// Restore proper IECPROTO value
lda #$01
lda #IEC_JIFFY
sta IECPROTO
// Re-enable sprites and interrupts