Bypass navigation menu
RGB Classic Games
Keeping the classics alive
Currently hosting 566 great games!
Return to Chapter 3

SetPalette

Function number: 18

Sets the specified palette register to the specified color.

Register entry values

AX = EE12
BX = Palette register number
CX = Color value to store

Register exit values

None

Example

MOV     AX,0EE12H       ;Set palette register function
MOV BX,1 ;Palette register number
MOV CX,0 ;Color to store
INT 10H ;Call GRAFIX

Comments

See the 'SetPalette' function in chapter 2 for more information.