From 321866136652722f92aea41e2f461309fc45309e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Hord=C3=A9?= Date: Fri, 23 Mar 2007 16:53:04 +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/pmode.asm | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/programs/pmode.asm b/programs/pmode.asm index f78d0a5..c7c048b 100644 --- a/programs/pmode.asm +++ b/programs/pmode.asm @@ -1,15 +1,22 @@ -.model tiny -.486p -smart -.code +model tiny,stdcall +p586N +locals +jumps +codeseg +option procalign:byte + +include "..\include\mem.h" +include "..\include\divers.h" org 0h start: -mov eax,cr0 -or al,1 -mov cr0,eax +header exe <"CE",1,0,0,,,,offset realstart> + +realstart: + mov eax,cr0 + or al,1 + mov cr0,eax + retf -db 0CBh -end start