Patch request; palette in Keen 2

Request patches for Keens 1-3.
Post Reply
User avatar
levellord
Crazy pAtChEr
Posts: 1401
Joined: Thu Nov 20, 2003 11:35 pm
Location: NewZealand
Contact:

Patch request; palette in Keen 2

Post by levellord »

This attempt doesn't work, the error being in the third section

Code: Select all

 where the programming is too far beyond me. If anyone can figure out the proper code for this, your reward will be a 1337 patch for Keen 2.

[code]#Cannot be used with the lightswitch palette patch!
#Must be used with the background tiles patch
#Write the palette into unused space
%patch $17784 
       00 00 00 # black 
       00 00 42 # blue 
       00 42 00 # green 
       00 42 42 # cyan 
       42 00 00 # red 
       42 00 42 # magenta 
       42 21 00 # brown 
       42 42 42 # bright gray 
       21 21 21 # gray 
       21 21 63 # bright blue 
       21 63 21 # bright green 
       21 63 63 # bright cyan 
       63 21 21 # bright red 
       63 21 63 # pink 
       63 63 21 # yellow 
       63 63 63 # white 


# Set the palette when we go into graphics mode 
%patch $3045  $E8 $D3 $D5 $90 $90 
# Code to set graphics mode and set the palette 
%patch $725E                  $B8 $0D $00 $CD 
              $10 $B8 $18 $10 $B9 $08 $00 $BB 
              $00 $00 $8C $DA $8E $C2 $BA $04 
              $00 $CD $12 $BB $18 $00 $BA $1C 
              $00 $CD $12 $C3 
Post Reply