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

This commit is contained in:
Nicolas Hordé 2007-03-23 16:52:11 +00:00
parent 2dba1d4217
commit a756911670
1 changed files with 19 additions and 22 deletions

View File

@ -1,29 +1,26 @@
.model small 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 imports,,offset realstart>
realstart: realstart:
push offset message call [print],offset message
call [affiche] call [waitkey]
call [waitkey] retf
retf
message db 'Appel de la librairie video !',0 message db 'Appel de la librairie \c02video\c07 et de la librairie \c02EXEM-LIB.LIB\c07 !',0
importing
imports: use VIDEO.LIB,print
db "VIDEO.LIB::print",0 use EXEM-LIB.LIB,waitkey
affiche dd 0 endi
db "EXEM-LIB.LIB::waitkey",0
waitkey dd 0
dw 0
exports:
end start