From d7259545687933029bc6052f5972b36b7dce1c82 Mon Sep 17 00:00:00 2001 From: Seth Morabito Date: Tue, 22 May 2018 15:23:51 -0700 Subject: [PATCH] 3b2: Tighten floppy timing This change fixes a critical floppy booting issue. --- 3B2/3b2_if.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/3B2/3b2_if.c b/3B2/3b2_if.c index 8ba0eaf5..41c36220 100644 --- a/3B2/3b2_if.c +++ b/3B2/3b2_if.c @@ -53,16 +53,14 @@ double if_start_time; * * 80 * 9 * 2 * 512 = 720KB * - * The clock on pin 24 runs at 1.000 MHz, meaning that each - * step is 6ms and head settling time is 30ms. */ -#define IF_STEP_DELAY 6000 /* us */ -#define IF_R_DELAY 85000 /* us */ -#define IF_W_DELAY 90000 /* us */ -#define IF_VERIFY_DELAY 30000 /* us */ -#define IF_HLD_DELAY 80000 /* us */ -#define IF_HSW_DELAY 60000 /* us */ +#define IF_STEP_DELAY 3000 /* us */ +#define IF_R_DELAY 65000 /* us */ +#define IF_W_DELAY 70000 /* us */ +#define IF_VERIFY_DELAY 20000 /* us */ +#define IF_HLD_DELAY 60000 /* us */ +#define IF_HSW_DELAY 40000 /* us */ UNIT if_unit = { UDATA (&if_svc, UNIT_FIX+UNIT_ATTABLE+UNIT_BUFABLE+