OSDN Git Service

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 55e5c3b..7e896d6 100755 (executable)
Binary files a/16.exe and b/16.exe differ
index 558f266..a27155d 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 0785620..28b029d 100755 (executable)
Binary files a/exmmtest.exe and b/exmmtest.exe differ
index 8d26156..0ae58ea 100755 (executable)
Binary files a/planrpcx.exe and b/planrpcx.exe differ
index b0718ba..464b77b 100755 (executable)
Binary files a/scroll.exe and b/scroll.exe differ
index 31afc8f..6beb57a 100755 (executable)
Binary files a/test.exe and b/test.exe differ