I've uploaded some example code to my website.
The sample code covers Palette rotating and a simple fading in & fading out routine. It has 3 functions for each of these 8bit palette routines which are fun to play around with !

u can get the example on my site (see sig)