setpalette function

setpalette is a shortcut for altering the palette to R4