tape autocalibration code is dangerous on 1MHz, disable it for slower machines
This commit is contained in:
1 parent
b2623f9ec8
commit
3a33a00d9d
9 files changed
+39
-9
No files matched your search
@@ -22,13 +22,16 @@ tape_normal_get_bit:
|
||||
|
||||
; First impulse was short, second should be medium
|
||||
|
||||
!ifdef HAS_TAPE_AUTOCALIBRATE {
|
||||
jsr tape_normal_calibrate_after_S
|
||||
}
|
||||
|
||||
jsr tape_common_get_pulse
|
||||
bcs tape_normal_get_bit_error
|
||||
|
||||
!ifdef HAS_TAPE_AUTOCALIBRATE {
|
||||
jsr tape_normal_calibrate_after_M
|
||||
|
||||
}
|
||||
; We have a bit '0'
|
||||
|
||||
lda #$00
|
||||
@@ -46,13 +49,16 @@ tape_normal_get_bit_1:
|
||||
|
||||
; First impulse was medium, second should be short
|
||||
|
||||
!ifdef HAS_TAPE_AUTOCALIBRATE {
|
||||
jsr tape_normal_calibrate_after_M
|
||||
}
|
||||
|
||||
jsr tape_common_get_pulse
|
||||
bcc tape_normal_get_bit_error
|
||||
|
||||
!ifdef HAS_TAPE_AUTOCALIBRATE {
|
||||
jsr tape_normal_calibrate_after_S
|
||||
|
||||
}
|
||||
; We have a bit '1'
|
||||
|
||||
clc
|
||||
|
||||
Reference in new issue
Block a user