SS.DfPal Set Status
From NitrOS-9
Revision as of 16:27, 5 April 2014 by Glaw16 (Talk | contribs) (Created page with 'Sets the default palette register values. {| | colspan="2" | '''Entry Conditions''' |- | A || ''path number'' |- | B || SS.DfPal ($97) |- | X || ''pointer to 16 bytes of palette…')
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.