BASIC LOAD PALETTE Statement - fvdhoef/aquarius-plus GitHub Wiki

LOAD PALETTE

TYPE: plusBASIC disk statement


FORMAT: LOAD PALETTE palette , filespec

Action: Loads palette definition from SD card and writes it to palette.

  • palette is the palette to modify (see SET PALETTE).
  • filespec is a string expression containing an optional path and the full file name.
  • File not found error results if the specified file does not exist.
  • Overflow error results if the file is longer than 32 bytes.

Example:

LOAD PALETTE 0,"grayscale.pal" 

Reads file grayscale.pal and writes contents to palette 0.