• Contact
  • Journal
  • Home
  • Arcade
  • Moon Patrol 75%
  • SpriteColorSets
  • Site
  • Page
  • Amiga
    • Rainbow Islands
      • 1loader-dec
      • 1loader
      • boot
      • orig-boot
      • Journal
  • Arcade
    • Asteroids 80%
      • Hardware
      • RAMUse
      • Code

      • DVG
      • VectorROM

      • Journal
    • Crazy Climber 1%
      • BigSpriteGraphics.pdf
      • Buildings.pdf
      • cclimber.asm
      • CharEnc.inc
      • CrazyClimberMemoryMapInfo.pdf
      • GraphicsAndCharacterAssetInfo.pdf
      • MemoryMap.inc
    • Defender 75%
      • RAMUse
      • Hardware
      • Bank1
      • Bank2
      • Bank3
      • Bank7
      • BankFixed
      • Mapping.txt
      • SoundHardware
      • SoundRAMUse
      • SoundCode
      • Defender-Theory-Early.pdf
      • Defender-Theory-Later.pdf
      • Defender.CPU.jpg
      • Defender.ROM.B&W.jpg
      • Defender.Vid.B&W.jpg
      • SoundROM.txt
    • Frogger (Sound)
      • SoundHardware
      • SoundRAMUse
      • SoundCode

      • Hardware
      • RAMUse
      • Code

      • GFX

      • Journal
    • Galaga 5%
      • CPU1 (Main)
      • CPU2 (Secondary)
      • CPU3 (Sound)
      • GFX1 (Characters)
      • GFX2 (Sprites)
      • PROMcolors
      • PROMpaletteChar
      • PROMpaletteSprite

      • CPU1Fix

      • Journal
    • Moon Patrol 75%
      • Hardware
      • RAMUse
      • Code

      • GFX1 (Text)
      • GFX2 (Sprites)
      • GFX3 (Mountains)
      • GFX4 (Hills)
      • GFX5 (City)
      • ImageBackgroundColors
      • SpriteColors
      • SpriteColorSets
      • TextColors

      • MoonPatrolSound
      • SoundHardware
      • SoundRAMUse
      • SoundCode

      • Journal
    • Omega Race 10%
      • Hardware
      • RAMUse
      • MainBoard

      • SoundHardware
      • SoundRAMUse
      • SoundBoard

      • DVGPROM
      • VectorROM

      • Journal
    • Phoenix 35%
      • Hardware
      • RAMUse
      • Code

      • Background
      • Foreground

      • Journal

      • Scramble HHi
        • phoenixj-func-main2.pdf
        • phoenixj-func-main2.scap
        • phoenixj.asm-may2025.txt
        • phoenixj.asm-may2025.txt.pdf
    • Space Invaders
      • Hardware
      • RAMUse
      • Code

      • Journal
    • Time Pilot (Sound)
      • SoundHardware
      • SoundRAMUse
      • SoundCode

      • Hardware
      • RAMUse
      • Code

      • Journal
    • Sea Wolf 1%
      • Hardware
      • RAMUse
      • Code

      • Journal
    • Scramble 1%
      • SoundHardware
      • SoundRAMUse
      • SoundCode

      • Journal
  • Atari2600
    • Stella (Hardware Info)
    • Asteroids 5%
      • RAMUse
      • Code

      • Journal
    • Battle Zone 1%
      • RAMUse
      • Code

      • Journal
    • Chess 1%
      • RAMUse
      • Code

      • Journal
    • Combat 10%
      • RAMUse
      • Code
      • CodePAL

      • Journal
    • Double Gap
      • Code
      • DoubleGap.asm

      • Journal
    • Entombed 1%
      • RAMUse
      • Code

      • Journal
    • ET 1%
      • RAMUse
      • Code

      • Journal
    • Burger Time 1%
      • RAMUse
      • CodeBank0
      • CodeBank1
      • CodeBank2
      • CodeBank3
      • CodeBank4
      • CodeBank5
      • CodeBank6
      • CodeBank7

      • Journal
    • Missile Command 1%
      • RAMUse
      • Code

      • Journal
    • Space Invaders 1%
      • RAMUse
      • Code

      • Journal
  • CoCo
    • Hardware
    • Early Work
    • Pyramid
      • RAMUse
      • Code

      • Journal
    • Raaka Tu
      • RAMUse
      • Code

      • Journal
    • Bedlam
      • RAMUse
      • Code

      • Journal
    • Madness & Minotaur
      • Walk Through
        • after_start.txt
        • after_start.cas
        • after_1.txt
        • after_1.cas
        • after_2.txt
        • after_2.cas
        • after_3.txt
        • after_3.cas
        • after_4.txt
        • after_4.cas
        • after_5.txt
        • after_5.cas
        • after_6.txt
        • after_6.cas
        • after_7.txt
        • after_7.cas
        • after_8.txt
        • after_8.cas
        • after_9.txt
        • after_9.cas
        • after_10.txt
        • after_10.cas
        • after_11.txt
        • after_11.cas
        • after_12.txt
        • after_12.cas
        • after_13.txt
        • after_13.cas
        • after_14.txt
        • after_14.cas
        • after_15.txt
        • after_15.cas
        • after_16.txt
        • after_16.cas
        • after_17.txt
        • after_17.cas
        • after_18.txt
        • after_18.cas
        • after_19.txt
        • after_19.cas
        • after_20.txt
        • after_20.cas
        • after_21.txt
        • after_21.cas
        • after_22.txt
        • after_22.cas
        • after_23.txt
        • after_23.cas
        • after_24.txt
        • after_24.cas
        • after_25.txt
        • after_25.cas
      • RAMUse
      • Code

      • SaveGameViewer

      • Journal
    • Mega-Bug
      • RAMUse
      • Code

      • Journal
    • Daggorath
      • RAMUse
      • Code

      • Level Maps

      • Journal
    • Downland 5%
      • RAMUse
      • Code

      • Journal
    • Audio Analyzer 5%
      • RAMUse
      • Code

      • Journal
    • Doubleback
      • RAMUse
      • Code

      • Journal
  • NES
    • Zelda 5%
      • Hardware
      • RAMUse
      • Bank0
      • Bank1
      • Bank2
      • Bank3
      • Bank4
      • Bank5
      • Bank6
      • Bank7

      • Journal
    • Kid Icarus 1%
      • Hardware
      • RAMUse
      • Bank0
      • Bank1
      • Bank2
      • Bank3
      • Bank4
      • Bank5
      • Bank6
      • Bank7

      • Journal
  • Gameboy
    • Hardware
    • Link's Awakening 1%
      • RAMUse
      • Bank00
      • Bank01
      • Bank02
      • Bank03
      • Bank04
      • Bank05
      • Bank06
      • Bank07
      • Bank08
      • Bank09
      • Bank0A
      • Bank0B
      • Bank0C
      • Bank0D
      • Bank0E
      • Bank0F
      • Bank10
      • Bank11
      • Bank12
      • Bank13
      • Bank14
      • Bank15
      • Bank16
      • Bank17
      • Bank18
      • Bank19
      • Bank1A
      • Bank1B
      • Bank1C
      • Bank1D
      • Bank1E
      • Bank1F

      • Journal
    • Tetris 1%
      • RAMUse
      • Code

      • Journal
  • TRS80
    • Hardware
    • HauntedHouse
      • RAMUse1
      • Code1
      • RAMUse2
      • Code2

      • Journal
    • Pyramid
      • RAMUse
      • Code

      • RAMUse1
      • Code1

      • Journal
    • RaakaTu
      • RAMUse
      • Code

      • Journal
    • Bedlam
      • RAMUse
      • Code

      • Journal
  • Virus
    • Morris Worm 1%
      • Journal
    • Stoned
      • Journal

  • Tools
    • Blend
      • blend.zip

      • Journal
  • Sprite Color Sets

Sprite Color Sets

ROM Size Content Ofs CRC SHA1
mpc-2.2h 256 spr_clut 0 7ae4cd97 bc0662fac82ffe65f02092d912b2c2b0c7a8ac2b

The lower 6 bits of the 2nd byte of the sprite structure contains a color-set value. Thus there could be 64 color-set's (00..3F). The Moon Patrol hardware appears to mask off the upper bit making 32 color-sets (00..1F) with set 0x20 masking to 0x00.

This PROM describes what color values goes in what color sets. There are 8 bytes per color set, but only the first 4 colors are used (sprite pixels are 2-bits ... 4 colors).

MoonPatrol only defines 16 color sets (00..0F).

Each byte here is an offset into the PROM3 color definition. For instance the first 4 bytes in the table below describe the 4 colors for color-set-0: 0, 1, 2, 3. Looking these up in PROM3 yields color values 00 (transparent), 01 (near black), C6 (red/violet), and 37 (turquoise). Color-set-1 is made of colors values from PROM3 at addresses 0, 4, 2, and 5.

;                  Pixel value:  00   01   10   11
0000: 00 01 02 03 00 00 00 00 ; ----                Color set 0
0008: 00 04 02 05 00 00 00 00 ; ----                1
0010: 00 05 06 07 00 00 00 00 ; ----                2
0018: 00 07 08 09 00 00 00 00 ; ----                3
0020: 00 0A 00 0B 00 00 00 00 ; ----      ----      4
0028: 00 00 00 00 00 00 00 00 ; ---- ---- ---- ---- 5
0030: 00 00 00 00 00 00 00 00 ; ---- ---- ---- ---- 6
0038: 00 09 0E 05 00 00 00 00 ; ----                7
0040: 00 05 03 0F 00 00 00 00 ; ----                8
0048: 00 09 01 05 00 00 00 00 ; ----                9
0050: 00 01 08 00 00 00 00 00 ; ----           ---- A
0058: 00 01 05 00 00 00 00 00 ; ----           ---- B
0060: 00 01 05 03 00 00 00 00 ; ----                C
0068: 00 04 0D 05 00 00 00 00 ; ----                D
0070: 00 05 00 05 00 00 00 00 ; ----      ----      E
0078: 00 00 05 05 00 00 00 00 ; ---- ----           F
;
; Transparent (not used) here down
;
0080: 00 00 00 00 00 00 00 00 ; 10
0088: 00 00 00 00 00 00 00 00 ; 11
0090: 00 00 00 00 00 00 00 00 ; 12
0098: 00 00 00 00 00 00 00 00 ; 13
00A0: 00 00 00 00 00 00 00 00 ; 14
00A8: 00 00 00 00 00 00 00 00 ; 15
00B0: 00 00 00 00 00 00 00 00 ; 16
00B8: 00 00 00 00 00 00 00 00 ; 17
00C0: 00 00 00 00 00 00 00 00 ; 18
00C8: 00 00 00 00 00 00 00 00 ; 19
00D0: 00 00 00 00 00 00 00 00 ; 1A
00D8: 00 00 00 00 00 00 00 00 ; 1B
00E0: 00 00 00 00 00 00 00 00 ; 1C
00E8: 00 00 00 00 00 00 00 00 ; 1D
00F0: 00 00 00 00 00 00 00 00 ; 1E
00F8: 00 00 00 00 00 00 00 00 ; 1F