Skip to content

Commit

Permalink
a bit of extra debug
Browse files Browse the repository at this point in the history
  • Loading branch information
keirf committed May 20, 2024
1 parent 49ad731 commit 13681c1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/floppy.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 13681c1

Please sign in to comment.