SS.DfPal Set Status

From NitrOS-9
Jump to: navigation, search

Sets the default palette register values.

Entry Conditions
A path number
B SS.DfPal ($97)
X pointer to 16 bytes of palette data
Exit Conditions
X unchanged, bytes moved to system defaults
Error Output
CC carry set on error
B error code

Additional Information

  • Use SS.DfPal to alter the system-wide palette register defaults. The system uses these defaults when it allocates a new screen using the DWSet command.
  • Because this function affects system wide settings, it is best to use it from system configuration utilities, not general application programs.