SS.Palet Get Status

From NitrOS-9
Revision as of 16:13, 5 April 2014 by Glaw16 (Talk | contribs) (Created page with 'Gets palette information. {| | colspan="2" | '''Entry Conditions''' |- | A || ''path number'' |- | B || SS.Palet ($91) |- | X || ''pointer to the 16-byte palette information buf…')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Gets palette information.

Entry Conditions
A path number
B SS.Palet ($91)
X pointer to the 16-byte palette information buffer
Exit Conditions
X pointer to the 16-byte palette information buffer
Error Output
CC carry set on error
B error code

Additional Information

  • SS.Palet reads the contents of the 16 screen palette registers, and stores them in a 16-byte buffer. When you make the call, be sure the X register points to the desired buffer location. The pointer is retained on exit. The palette values returned are specific to the screen on which the call is made.
  • The support modules for this call are VDGINT, GrfInt, and WindInt.