feat: mise à jour du code pour compilation sur LZASM en stdcall

This commit is contained in:
Nicolas Hordé 2007-03-23 16:52:17 +00:00
parent a756911670
commit 85ea3e1514
1 changed files with 18 additions and 19 deletions

View File

@ -1,25 +1,24 @@
.model tiny model tiny,stdcall
.486 p586N
smart locals
.code jumps
codeseg
option procalign:byte
include "..\include\mem.h"
include "..\include\divers.h"
org 0h org 0h
include ..\include\mem.h
start: start:
header exe <,1,0,,,offset imports,offset exports,> header exe <"CE",1,0,0,offset exports,,,>
waitkey:
mov ax,0
int 16h
retf
getvar2: exporting
mov ax,0
int 16h
retf
declare waitkey
imports: ende
exports:
db "waitkey",0
dw getvar2
dw 0
end start