This shows you the differences between two versions of the page.

Link to this comparison view

qdosmsq:pe:vectors:jbpal [2009/05/24 08:53] (current)
george.gwilt created
Line 1: Line 1:
 +====== WM_JBPAL - Vector $90 ======
 +This vector sets the system palette for a job.
 +^Call Parameters^^Return Parameters^^
 +| | |D0.L|Error return.|
 +|D1.L|Job ID|D1.L|Preserved.|
 +|D3.W|Palette number|D3.L|Preserved.|
 +|A1.L|Pointer to palette|A1.L|Preserved.|
 +===== Errors =====
 +|ERR_NJ|Invalid job|
 +|ERR_BB|Bad parameter|
 +===== Notes =====
 +  *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 08:53
  • by george.gwilt