Reboot after keypress instead of halting on boot failure

This commit is contained in:
Nero 2020-04-03 19:45:49 +00:00
parent 6eca218f8e
commit 91cad67415

View File

@ -1,8 +1,9 @@
errcll: ; put return address into dx errcll: ; put return address into dx
pop dx pop dx
errjmp: call dmpdx errjmp: call dmpdx
hlt: hlt xor ax, ax
jmp hlt int 0x16
int 0x19
dmpdx: ; setup bx and ah for int 10h call dmpdx: ; setup bx and ah for int 10h call
xor bx, bx xor bx, bx
mov ah, 0x0e mov ah, 0x0e