started MEGA65 speed handling rework, always run IEC code with disabled badlines

This commit is contained in:
FeralChild64 committed 2021-02-24 18:44:18 +01:00
1 parent 22a5754539
commit cb16d5d15c
13 files changed
+136 -76

No files matched your search

+6 -6
View File
@@ -17,8 +17,8 @@
iec_rx_dispatch:
!ifdef CONFIG_MB_M65 {
; If in native mode, switch to 1 MHz
jsr m65_iec_slow
; Ensure 1 Mhz mode and disabled badlines
jsr m65_speed_iec
}
lda IECPROTO
@@ -33,8 +33,8 @@ iec_rx_dispatch:
iec_rx_byte:
!ifdef CONFIG_MB_M65 { !ifndef CONFIG_IEC_JIFFYDOS {
; If in native mode, switch to 1 MHz
jsr m65_iec_slow
; Ensure 1 Mhz mode and disabled badlines
jsr m65_speed_iec
} }
; Store .X and .Y on the stack - preserve them
@@ -161,8 +161,8 @@ iec_rx_acknowledge:
iec_rx_end:
!ifdef CONFIG_MB_M65 {
; If in native mode, switch back to fast mode
jsr m65_iec_fast
; Restore the proper speed
jsr m65_speed_restore
}
+ply_trash_a