From 13681c1520206667d63debddf949003c8793ec5f Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Mon, 20 May 2024 20:46:40 +0100 Subject: [PATCH] a bit of extra debug --- src/floppy.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/floppy.c b/src/floppy.c index 846113f5..30e61b77 100644 --- a/src/floppy.c +++ b/src/floppy.c @@ -455,6 +455,7 @@ static void floppy_sync_flux(void) drv->index_suppressed = FALSE; } + printk("<<%d.%d:%u>>", drv->cyl, drv->head, time_now()); rdata_start(); } @@ -613,6 +614,7 @@ static void drive_step_timer(void *_drv) drv->step.start + time_ms(ff_cfg.head_settle_ms)); if (drv->cyl == 0) drive_change_output(drv, outp_trk0, TRUE); + printk("[%d:%u]", drv->cyl, time_now()); /* New state last, as that lets hi-pri IRQ start another step. */ barrier(); drv->step.state = STEP_settling;