tape autocalibration code is dangerous on 1MHz, disable it for slower machines

This commit is contained in:
FeralChild64 committed 2020-10-22 16:32:45 +02:00
1 parent b2623f9ec8
commit 3a33a00d9d
9 files changed
+39 -9

No files matched your search

+8
View File
@@ -451,6 +451,14 @@
; Determine if it is OK to include tape autocalibration routines
!ifndef CONFIG_MB_M65 {
!set HAS_TAPE_AUTOCALIBRATE = 1
}
; Defines for multi-segment ROMs
!ifdef CONFIG_MB_M65 {
+3
View File
@@ -310,11 +310,14 @@
!ifdef HAS_TAPE {
!ifdef HAS_TAPE_AUTOCALIBRATE {
!addr __normal_time_S = IRQTMP+0 ; duration of the short pulse
!addr __normal_time_M = IRQTMP+1 ; duration of the medium pulse
!addr __turbo_half_S = IRQTMP+0 ; half-duration of the short pulse
!addr __turbo_half_L = IRQTMP+1 ; half-duration of the long pulse
}
!addr __pulse_threshold = SVXT ; pulse classification threshold
!addr __pulse_threshold_ML = SYNO ; M/L pulse classification threshold, for normal only