Exit programs automatically by System unit

This commit is contained in:
2020-06-07 21:55:00 +03:00
parent 7add2ddf38
commit b366037e72
17 changed files with 20 additions and 26 deletions

View File

@@ -29,6 +29,7 @@ type
DLLInitState: byte;
end;
procedure _Halt0;
procedure _HandleFinally;
implementation
@@ -36,6 +37,13 @@ implementation
uses
SysInit;
procedure _Halt0;
asm
XOR EAX, EAX
DEC EAX
INT $40
end;
procedure _HandleFinally;
asm
end;