From 2b1c541380faf80ac13de9e3890af8ec2a01fdd1 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Tue, 30 Jan 2024 16:41:16 +0000 Subject: [PATCH] Remove arbitrary 100-cylinder constraint on seek commands. --- src/floppy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/floppy.c b/src/floppy.c index 6f18ff5..c146a82 100644 --- a/src/floppy.c +++ b/src/floppy.c @@ -413,7 +413,7 @@ static uint8_t floppy_seek(int cyl) return rc; } - if ((cyl < (u->is_flippy ? -8 : 0)) || (cyl > 100)) + if (cyl < (u->is_flippy ? -8 : 0)) return ACK_BAD_CYLINDER; if (u->cyl < cyl) {