WM.GETSP - Vector $80
This vector reads the system palette entries.
|Call Parameters||Return Parameters
|D2.W||Number of elements||D2.W||Number of elements.
|D3.W||Palette number (0-3)||D3.L||Preserved.
|A1.L||Pointer to buffer||A1.L||Preserved.
All registers not mentioned above are not used and are preserved.
If D2.W is given as -1, this vector just returns in D1.W the total number of entries. Otherwise the vector copies the entries from the system palette, whose number is given in D3.W, to the buffer starting from the index given in D1.W (counting from 0) and ending with the index D1.W + D2.W - 1.
The default values of the system palette are given here
qdosmsq/pe/vectors/getsp.txt · Last modified: 2009/05/22 10:40 by george.gwilt