diff --git a/src/floppy.c b/src/floppy.c index 6f18ff5..0b9c6ac 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)) || (cyl >= 1024)) return ACK_BAD_CYLINDER; if (u->cyl < cyl) {