From 91cad674153bcb54b0d0a8d60eb01a1dc9ac6c48 Mon Sep 17 00:00:00 2001 From: Nero <41307858+nero@users.noreply.github.com> Date: Fri, 3 Apr 2020 19:45:49 +0000 Subject: [PATCH] Reboot after keypress instead of halting on boot failure --- inc/booterr.asm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/inc/booterr.asm b/inc/booterr.asm index 21dbcbc..fc83e3a 100644 --- a/inc/booterr.asm +++ b/inc/booterr.asm @@ -1,8 +1,9 @@ errcll: ; put return address into dx pop dx errjmp: call dmpdx -hlt: hlt - jmp hlt + xor ax, ax + int 0x16 + int 0x19 dmpdx: ; setup bx and ah for int 10h call xor bx, bx mov ah, 0x0e