From: sparky4 Date: Thu, 29 Sep 2016 15:54:10 +0000 (-0500) Subject: xms still being worked on X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=6c83ae86cd14e4a6ce8db04cad177169e7cdad3c;p=16.git xms still being worked on --- diff --git a/src/lib/16_pm.c b/src/lib/16_pm.c index ae14303f..bbfec527 100755 --- a/src/lib/16_pm.c +++ b/src/lib/16_pm.c @@ -422,13 +422,14 @@ End1: } __asm { - mov dx,XMSAvail4 + mov dx,[XMSAvail4] //XMS_CALL(XMS_ALLOC); // And do the allocation mov ah,XMS_ALLOC call [DWORD PTR XMSDriver] mov XMSHandle,dx - or ax,ax // AJR: bugfix 10/8/92 - jz error2 + mov err,bl + cmp ax,0 // AJR: bugfix 10/8/92 + je error2 mov e,4 jmp End2 #ifdef __BORLANDC__