Palettes
Previous  Next

Description: Loads more than one color into CRAM.

     Syntax:
     
Palettes <PaletteLabel>, <Palette>, <Index>, <Count> [, <Offset>]

Part
Description
<PaletteLabel>
Required. This is the line label where the palette data is located
<Palette>
Required. Palette number to alter
<Index>
Required. Color index of the palette to start
<Count>
Required. Number of colors to load from the <PaletteLabel>
<Offset>
Optional. Offset from the <PaletteLabel> to start from

Example:

        Palettes MyPal, 0, 0, 16

MyPal:
     DATAINT $0EEE,$0CCC,$0000,$0000,$0000,$0000,$0000,$0000
     DATAINT $0000,$0000,$0000,$0000,$0000,$0000,$0000,$0000