mirror of https://git.ia64.cc/perso/cos2000v1.git
Nicolas Hordé
17 years ago
1 changed files with 18 additions and 19 deletions
@ -1,25 +1,24 @@
|
||||
.model tiny |
||||
.486 |
||||
smart |
||||
.code |
||||
org 0h |
||||
|
||||
include ..\include\mem.h |
||||
model tiny,stdcall |
||||
p586N |
||||
locals |
||||
jumps |
||||
codeseg |
||||
option procalign:byte |
||||
|
||||
start: |
||||
header exe <,1,0,,,offset imports,offset exports,> |
||||
include "..\include\mem.h" |
||||
include "..\include\divers.h" |
||||
|
||||
org 0h |
||||
|
||||
getvar2: |
||||
mov ax,0 |
||||
int 16h |
||||
retf |
||||
start: |
||||
header exe <"CE",1,0,0,offset exports,,,> |
||||
|
||||
waitkey: |
||||
mov ax,0 |
||||
int 16h |
||||
retf |
||||
|
||||
imports: |
||||
exporting |
||||
|
||||
exports: |
||||
db "waitkey",0 |
||||
dw getvar2 |
||||
dw 0 |
||||
end start |
||||
declare waitkey |
||||
ende |
||||
|
Loading…
Reference in new issue