From 7e2743af968ba78f79c9f67affbe046a1cbb3ea2 Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Sat, 31 Jul 2021 22:38:02 +0200 Subject: [PATCH] Refactor --- src/bios/disk.asm | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/bios/disk.asm b/src/bios/disk.asm index 22c6e46..c72dfe1 100644 --- a/src/bios/disk.asm +++ b/src/bios/disk.asm @@ -1,6 +1,4 @@ disk_read: - pusha - push dx mov ah, BIOS_DISK_READ mov al, dh ; sector count @@ -17,7 +15,6 @@ disk_read: cmp al, dh jne sector_error - popa ret sector_error: