qdosmsq:pe:vectors:jbpal

WM_JBPAL - Vector $90

This vector sets the system palette for a job.

Call ParametersReturn Parameters
D0.LError return.
D1.LJob IDD1.LPreserved.
D3.WPalette numberD3.LPreserved.
A1.LPointer to paletteA1.LPreserved.
MnemonicMeaning
ERR_NJInvalid job
ERR_BBBad parameter
  • All registers not mentioned above are not used and are preserved.
  • D3.W contains the number of the palette (0 to 3) or -1. If D3.W = -1, the palette to be set is taken from the address in A1.L. Otherwise one of the four system palettes is set: in this case A1.L should be zero.
  • It should be noted that any palette whose address is given in A1 is not copied anywhere. The programmer should see that the palette is available as long as the job uses the palette.
  • qdosmsq/pe/vectors/jbpal.txt
  • Last modified: 2009/05/24 09:53
  • by george.gwilt