Refactor (again)

pull/14/head
E. Almqvist 3 years ago
parent 05b70d8605
commit 0316b6be40
  1. 2
      src/bios/disk.asm

@ -1,5 +1,4 @@
disk_read: disk_read:
pusha
push dx ; store dx on stack so that we can compare later push dx ; store dx on stack so that we can compare later
mov ah, BIOS_DISK_READ ; specify function mov ah, BIOS_DISK_READ ; specify function
@ -18,7 +17,6 @@ disk_read:
cmp dh, al ; if dh != al then error cmp dh, al ; if dh != al then error
jne sector_error jne sector_error
popa
ret ret
sector_error: sector_error:

Loading…
Cancel
Save