forked from KolibriOS/kolibrios
Fixed function
git-svn-id: svn://kolibrios.org@7326 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
598bb537e9
commit
840cb9a4ea
@ -5,8 +5,9 @@
|
||||
#initallvar 0
|
||||
#jumptomain FALSE
|
||||
|
||||
#startaddress 0x0000
|
||||
|
||||
#startaddress 0
|
||||
|
||||
#code32 TRUE
|
||||
|
||||
char os_name[8] = {'M','E','N','U','E','T','0','1'};
|
||||
dword os_version = 0x00000001;
|
||||
@ -26,17 +27,19 @@ void ExitProcess()
|
||||
$int 0x40
|
||||
}
|
||||
|
||||
segmentDisableFunction:
|
||||
dword eaxFunctionDestroy(){RETURN 0;}
|
||||
eaxFunctionDestroyEnd:
|
||||
segmentDisableFunctionEnd:
|
||||
|
||||
void ____INIT____()
|
||||
{
|
||||
|
||||
// Disable door kernel
|
||||
EAX = 81;
|
||||
EBX = 81;
|
||||
ECX = #eaxFunctionDestroy;
|
||||
EDX = #eaxFunctionDestroyEnd-#eaxFunctionDestroy;
|
||||
EBX = 81; // Self function
|
||||
ECX = #eaxFunctionDestroy; // Function execute
|
||||
EDX = #segmentDisableFunction; // Begin segment
|
||||
ESI = #segmentDisableFunctionEnd; // End segment
|
||||
$int 0x40
|
||||
|
||||
ExitProcess();
|
||||
|
Loading…
Reference in New Issue
Block a user