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

Link to this comparison view

qdosmsq:pe:vectors:setsp [2009/05/21 13:31]
george.gwilt created
qdosmsq:pe:vectors:setsp [2009/05/22 10:13] (current)
george.gwilt Link added
Line 1: Line 1:
 +====== WM.SETSP - Vector $7C ======
 +This vector sets the system palette entries.
 +^Call parameters^^Return parameters^^
 +|D1.W|Start index|D1.L|Preserved.|
 +|D2.W|Number of elements|D2.L|Preserved.|
 +|D3.W|Number of palette (0-3)|D3.L|Preserved.|
 +|A1.L|Pointer to palette entries|A1.L|Preserved.|
 +==== Error ====
 +|ERR_BP|Bad parameter.|
 +==== Notes ====
 +  * All registers not mentioned above are not used and are preserved.
 +  * The entries in the palette number in D3.W starting from the index in D1.W (counting from 0) and ending with the index D1.W + D2.W -1 are set from the buffer indicated by A1.L.
 +  * If A1 is zero the entries are taken from the [[qdosmsq:pe:palette:start|default table]]. Otherwise the buffer at A1.L must hold an array of words with the WMAN  colour values of the different items.
  • qdosmsq/pe/vectors/setsp.txt
  • Last modified: 2009/05/22 10:13
  • by george.gwilt