Skip to content

Commit 53d3fd5

Browse files
ecm-pushbxPerditionC
authored andcommitted
boot32: display an error indicator instead of silently waiting
1 parent a189ceb commit 53d3fd5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

boot/boot32.asm

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,10 @@ c6:
216216
jmp short c5
217217
218218
boot_error:
219+
mov ax, 0E00h | '!'
220+
int 10h ; display the error sign
221+
mov al, 07h
222+
int 10h ; beep
219223
xor ah,ah
220224
int 0x16 ; wait for a key
221225
int 0x19 ; reboot the machine

0 commit comments

Comments
 (0)