mirror of https://git.ia64.cc/perso/cos2000v1.git
Nicolas Hordé
17 years ago
1 changed files with 19 additions and 22 deletions
@ -1,29 +1,26 @@
|
||||
.model small |
||||
.486 |
||||
smart |
||||
.code |
||||
org 0h |
||||
model tiny,stdcall |
||||
p586N |
||||
locals |
||||
jumps |
||||
codeseg |
||||
option procalign:byte |
||||
|
||||
include "..\include\mem.h" |
||||
include "..\include\divers.h" |
||||
|
||||
include ..\include\mem.h |
||||
org 0h |
||||
|
||||
start: |
||||
header exe <,1,0,,,offset imports,offset exports,> |
||||
header exe <"CE",1,0,0,,offset imports,,offset realstart> |
||||
|
||||
realstart: |
||||
push offset message |
||||
call [affiche] |
||||
call [waitkey] |
||||
retf |
||||
|
||||
message db 'Appel de la librairie video !',0 |
||||
|
||||
call [print],offset message |
||||
call [waitkey] |
||||
retf |
||||
|
||||
imports: |
||||
db "VIDEO.LIB::print",0 |
||||
affiche dd 0 |
||||
db "EXEM-LIB.LIB::waitkey",0 |
||||
waitkey dd 0 |
||||
dw 0 |
||||
exports: |
||||
message db 'Appel de la librairie \c02video\c07 et de la librairie \c02EXEM-LIB.LIB\c07 !',0 |
||||
|
||||
end start |
||||
importing |
||||
use VIDEO.LIB,print |
||||
use EXEM-LIB.LIB,waitkey |
||||
endi |
||||
|
Loading…
Reference in new issue