From: sparky4 Date: Tue, 17 Nov 2015 17:37:41 +0000 (-0600) Subject: wwww X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;ds=sidebyside;h=42215050985f4d86cc3c235842369f249036ec15;p=16.git wwww --- diff --git a/16.exe b/16.exe index 55e5c3be..7e896d6e 100755 Binary files a/16.exe and b/16.exe differ diff --git a/16/xlib/xpal.asm b/16/xlib/xpal.asm index 558f2665..a27155dc 100755 --- a/16/xlib/xpal.asm +++ b/16/xlib/xpal.asm @@ -65,18 +65,18 @@ include xpal.inc ; Written by Themie Gouthas ;---------------------------------------------------------------------- _x_get_pal_struc proc -ARG PalBuff:dword,NumColors:word,StartColor:word +;ARG PalBuff:dword,NumColors:word,StartColor:word push bp ; Set up stack frame mov bp,sp push di push si cld - les di,dword ptr [PalBuff] ; Point es:di to palette buffer - mov si,[StartColor] ; Store the Start Colour + les di,dword ptr [bp+4] ; Point es:di to palette buffer + mov si,[bp+10] ; Store the Start Colour mov ax,si stosb - mov dx,[NumColors] ; Store the Number of Colours + mov dx,[bp+8] ; Store the Number of Colours mov al,dl stosb @@ -100,16 +100,16 @@ _x_get_pal_struc endp ; Written by Themie Gouthas ;---------------------------------------------------------------------- _x_get_pal_raw proc -ARG PalBuff:dword,NumColors:word,StartColor:word +;ARG PalBuff:dword,NumColors:word,StartColor:word push bp ; Set up stack frame mov bp,sp push di push si - les di,dword ptr [PalBuff] ; Point es:di to palette buffer + les di,dword ptr [bp+4] ; Point es:di to palette buffer - mov si,[StartColor] - mov cx,[NumColors] + mov si,[bp+10] + mov cx,[bp+8] ReadPalEntry: cld diff --git a/exmmtest.exe b/exmmtest.exe index 07856205..28b029dc 100755 Binary files a/exmmtest.exe and b/exmmtest.exe differ diff --git a/planrpcx.exe b/planrpcx.exe index 8d261568..0ae58ea1 100755 Binary files a/planrpcx.exe and b/planrpcx.exe differ diff --git a/scroll.exe b/scroll.exe index b0718bab..464b77b3 100755 Binary files a/scroll.exe and b/scroll.exe differ diff --git a/test.exe b/test.exe index 31afc8ff..6beb57a4 100755 Binary files a/test.exe and b/test.exe differ