]> 4ch.mooo.com Git - 16.git/commitdiff
wwww
authorsparky4 <sparky4@cock.li>
Tue, 17 Nov 2015 17:37:41 +0000 (11:37 -0600)
committersparky4 <sparky4@cock.li>
Tue, 17 Nov 2015 17:37:41 +0000 (11:37 -0600)
16.exe
16/xlib/xpal.asm
exmmtest.exe
planrpcx.exe
scroll.exe
test.exe

diff --git a/16.exe b/16.exe
index 55e5c3bea279bc585e428f122f3601da0d9b247a..7e896d6edb79c840cf85cf861381e38c366a3516 100755 (executable)
Binary files a/16.exe and b/16.exe differ
index 558f2665315d1042394faccee37a0ad0e5bad471..a27155dc83a683d3e87571e3ea06109d2329aa11 100755 (executable)
@@ -65,18 +65,18 @@ include xpal.inc
 ; Written by Themie Gouthas\r
 ;----------------------------------------------------------------------\r
 _x_get_pal_struc  proc\r
-ARG  PalBuff:dword,NumColors:word,StartColor:word\r
+;ARG  PalBuff:dword,NumColors:word,StartColor:word\r
      push  bp          ; Set up stack frame\r
      mov   bp,sp\r
      push  di\r
      push  si\r
      cld\r
 \r
-     les   di,dword ptr [PalBuff]  ; Point es:di to palette buffer\r
-     mov   si,[StartColor]         ; Store the Start Colour\r
+     les   di,dword ptr [bp+4]  ; Point es:di to palette buffer\r
+     mov   si,[bp+10]         ; Store the Start Colour\r
      mov   ax,si\r
      stosb\r
-     mov   dx,[NumColors]          ; Store the Number of Colours\r
+     mov   dx,[bp+8]          ; Store the Number of Colours\r
      mov   al,dl\r
      stosb\r
 \r
@@ -100,16 +100,16 @@ _x_get_pal_struc endp
 ; Written by Themie Gouthas\r
 ;----------------------------------------------------------------------\r
 _x_get_pal_raw proc\r
-ARG  PalBuff:dword,NumColors:word,StartColor:word\r
+;ARG  PalBuff:dword,NumColors:word,StartColor:word\r
      push  bp          ; Set up stack frame\r
      mov   bp,sp\r
      push  di\r
      push  si\r
 \r
-     les   di,dword ptr [PalBuff]  ; Point es:di to palette buffer\r
+     les   di,dword ptr [bp+4]  ; Point es:di to palette buffer\r
 \r
-     mov  si,[StartColor]\r
-     mov  cx,[NumColors]\r
+     mov  si,[bp+10]\r
+     mov  cx,[bp+8]\r
 \r
 ReadPalEntry:\r
      cld\r
index 07856205a166e08c85635ea8857367c5bc2fdc27..28b029dcb47af4ad88346cb8ef388ce00e7e6ce5 100755 (executable)
Binary files a/exmmtest.exe and b/exmmtest.exe differ
index 8d261568e00519a9f62d9c2ae7697d0f893356ff..0ae58ea1af05e2b2c886f003585c39911298615c 100755 (executable)
Binary files a/planrpcx.exe and b/planrpcx.exe differ
index b0718babfd2adc07047330501c9113f1f11e4d67..464b77b331fed05a34c9675fc1f695b0fe8aec89 100755 (executable)
Binary files a/scroll.exe and b/scroll.exe differ
index 31afc8ffd6cb69b117b62b78fde13e35863ed37e..6beb57a45c101d4bb5e3bba7d5cb3644763725fa 100755 (executable)
Binary files a/test.exe and b/test.exe differ