Skip to content

Commit ce26286

Browse files
ecm-pushbxPerditionC
authored andcommitted
termhook.asm: help debugging by running an int3 in I_AM_DEAD_loop
1 parent 979ab96 commit ce26286

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

shell/termhook.asm

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,10 @@ I_AM_DEAD: ; process 0 can't terminate ...
8888
mov ah, 9
8989
int 21h
9090
I_AM_DEAD_loop:
91+
int3
92+
sti
9193
hlt
9294
jmp short I_AM_DEAD_loop
9395

9496
dead_loop_string DB 13,10,7,'Cannot terminate permanent FreeCOM instance'
95-
DB 13,10,'System halted ... reboot or power off now$'
97+
DB 13,10,'System halted ... reboot or power off now $'

0 commit comments

Comments
 (0)