From 0558e4bef4fc4f1dd9032953a95133b01399da16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juhani=20Krekel=C3=A4?= Date: Tue, 29 Mar 2022 04:41:45 +0300 Subject: [PATCH] Reset floppy disks upon read failure --- io.asm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/io.asm b/io.asm index 2d49e5e..c4d06e2 100644 --- a/io.asm +++ b/io.asm @@ -276,6 +276,11 @@ endif dec di jz sector_read_fail + + reset_disk: + xor ax, ax + int 13h + pop cx pop ax jmp try_sector_read