feat: mise à jour du code pour compilation sur LZASM en stdcall
This commit is contained in:
parent
c83c7cf1fe
commit
3218661366
|
@ -1,15 +1,22 @@
|
||||||
.model tiny
|
model tiny,stdcall
|
||||||
.486p
|
p586N
|
||||||
smart
|
locals
|
||||||
.code
|
jumps
|
||||||
|
codeseg
|
||||||
|
option procalign:byte
|
||||||
|
|
||||||
|
include "..\include\mem.h"
|
||||||
|
include "..\include\divers.h"
|
||||||
|
|
||||||
org 0h
|
org 0h
|
||||||
|
|
||||||
start:
|
start:
|
||||||
mov eax,cr0
|
header exe <"CE",1,0,0,,,,offset realstart>
|
||||||
or al,1
|
|
||||||
mov cr0,eax
|
realstart:
|
||||||
|
mov eax,cr0
|
||||||
|
or al,1
|
||||||
|
mov cr0,eax
|
||||||
|
retf
|
||||||
|
|
||||||
db 0CBh
|
|
||||||
|
|
||||||
end start
|
|
||||||
|
|
Loading…
Reference in New Issue