From 0316b6be40875a59a3b8f792ef5e90c742af5524 Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Sat, 31 Jul 2021 23:56:00 +0200 Subject: [PATCH] Refactor (again) --- src/bios/disk.asm | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/bios/disk.asm b/src/bios/disk.asm index 0f1b171..9cb7cbf 100644 --- a/src/bios/disk.asm +++ b/src/bios/disk.asm @@ -1,5 +1,4 @@ disk_read: - pusha push dx ; store dx on stack so that we can compare later mov ah, BIOS_DISK_READ ; specify function @@ -18,7 +17,6 @@ disk_read: cmp dh, al ; if dh != al then error jne sector_error - popa ret sector_error: