Skip to content

Commit 4fea8ad

Browse files
committed
entry.asm: allow critical error Abort on self-parented process
Fixes #213
1 parent 49432df commit 4fea8ad

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

kernel/entry.asm

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,11 +741,16 @@ CritErrExit:
741741
; Abort processing.
742742
;
743743
CritErrAbort:
744+
%if 0
744745
mov ax,[_cu_psp]
745746
mov es,ax
746747
cmp ax,[es:PSP_PARENT]
747748
mov al,FAIL
748749
jz CritErrExit
750+
; ecm: This check is done by (E)DR-DOS, but not MS-DOS.
751+
; Therefore, disable it and terminate the self-parented
752+
; process here like any other.
753+
%endif
749754
cli
750755
mov ax,word [_user_r+2] ;Get frame
751756
mov bp,word [_user_r]

0 commit comments

Comments
 (0)