summaryrefslogtreecommitdiff
path: root/disk.asm
diff options
context:
space:
mode:
Diffstat (limited to 'disk.asm')
-rw-r--r--disk.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/disk.asm b/disk.asm
index 4177c8d..d874a79 100644
--- a/disk.asm
+++ b/disk.asm
@@ -44,8 +44,8 @@ disk_convert_status:
mov bp, sp
pusha
- cmp ax, 01h ; Avoid writing "success" message
- jl .return
+ cmp ah, 00h ; Avoid writing "success" message
+ je .return
xor cx, cx
mov cx, ax ; AL contains the sector count