Commit Diff


commit - 3a5c7209e5fef1733e6df145ea53cce91f172d07
commit + 0d51402e6986d4e3212b21e821887a68e088cd43
blob - 4db60817c1aa6c04d3020381c5bcbcf0bb3ccfcc
blob + 06a5e3a9e4073d9e088737cad9e7671ea00f3f51
--- sys/loader.asm
+++ sys/loader.asm
@@ -21,6 +21,7 @@ _start:
 	call puts
 
 	; read sectors
+	stc
 	mov ah, 0x02
 	mov al, NUM_SECTORS
 	xor ch, ch
@@ -34,6 +35,7 @@ _start:
 	jnc .ok
 
 	; reset boot drive again
+	stc
 	xor ah, ah
 	mov dl, byte [bootdrv]
 	int 0x13
@@ -78,7 +80,7 @@ bootdrv:
 	db 0
 
 tries:
-	db 3
+	db 5
 
 times 510 - ($ - $$) db 0
 dw 0xAA55