From ac034f72fae35a7834650d7eef297be4099faadd Mon Sep 17 00:00:00 2001 From: "E. C. Masloch" Date: Thu, 18 Sep 2025 12:15:47 +0200 Subject: [PATCH] termhook.asm: help debugging by running an int3 in I_AM_DEAD_loop --- shell/termhook.asm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/shell/termhook.asm b/shell/termhook.asm index d39b95c6..957dc586 100644 --- a/shell/termhook.asm +++ b/shell/termhook.asm @@ -88,8 +88,10 @@ I_AM_DEAD: ; process 0 can't terminate ... mov ah, 9 int 21h I_AM_DEAD_loop: + int3 + sti hlt jmp short I_AM_DEAD_loop dead_loop_string DB 13,10,7,'Cannot terminate permanent FreeCOM instance' - DB 13,10,'System halted ... reboot or power off now$' + DB 13,10,'System halted ... reboot or power off now $'