boot32: display an error indicator instead of silently waiting
This commit is contained in:
parent
a189ceb650
commit
53d3fd556b
@ -216,6 +216,10 @@ c6:
|
|||||||
jmp short c5
|
jmp short c5
|
||||||
|
|
||||||
boot_error:
|
boot_error:
|
||||||
|
mov ax, 0E00h | '!'
|
||||||
|
int 10h ; display the error sign
|
||||||
|
mov al, 07h
|
||||||
|
int 10h ; beep
|
||||||
xor ah,ah
|
xor ah,ah
|
||||||
int 0x16 ; wait for a key
|
int 0x16 ; wait for a key
|
||||||
int 0x19 ; reboot the machine
|
int 0x19 ; reboot the machine
|
||||||
|
Loading…
Reference in New Issue
Block a user