From 85ea3e1514d2624d756d29ac6a44f7f2ba0b8f05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Hord=C3=A9?= Date: Fri, 23 Mar 2007 16:52:17 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20mise=20=C3=A0=20jour=20du=20code=20pour?= =?UTF-8?q?=20compilation=20sur=20LZASM=20en=20stdcall?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- programs/exem-lib.asm | 37 ++++++++++++++++++------------------- 1 file changed, 18 insertions(+), 19 deletions(-) diff --git a/programs/exem-lib.asm b/programs/exem-lib.asm index 7c3d5d9..0feaf4c 100644 --- a/programs/exem-lib.asm +++ b/programs/exem-lib.asm @@ -1,25 +1,24 @@ -.model tiny -.486 -smart -.code +model tiny,stdcall +p586N +locals +jumps +codeseg +option procalign:byte + +include "..\include\mem.h" +include "..\include\divers.h" + org 0h -include ..\include\mem.h - 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: -mov ax,0 -int 16h -retf +exporting - -imports: - -exports: - db "waitkey",0 - dw getvar2 - dw 0 -end start +declare waitkey +ende