qdosmsq:pe:vectors:setsp

WM.SETSP - Vector $7C

This vector sets the system palette entries.

Call parametersReturn parameters
D1.WStart indexD1.LPreserved.
D2.WNumber of elementsD2.LPreserved.
D3.WNumber of palette (0-3)D3.LPreserved.
A1.LPointer to palette entriesA1.LPreserved.
MnemonicMeaning
ERR_BPBad parameter.
  • 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 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 11:13
  • by george.gwilt