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
Mnemonic | Meaning |
---|---|
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 default table. Otherwise the buffer at A1.L must hold an array of words with the WMAN colour values of the different items.