SS.Palet_Get_Status

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.

MongoDB Logo MongoDB