diff --git a/JoeyLib-Palette-Functions.md b/JoeyLib-Palette-Functions.md new file mode 100644 index 0000000..79cb247 --- /dev/null +++ b/JoeyLib-Palette-Functions.md @@ -0,0 +1,11 @@ +#### jlPaletteDefault +```c +void jlPaletteDefault(void); +``` +Resets the current palette to the default EGA palette. + +#### jlPaletteSet +```c +void jlPaletteSet(byte index, byte r, byte g, byte b); +``` +Sets the color of palette position `index` to the specified RGB value. RGB values are specified as 4 bit (0-15) values. Valid `index` values are from 0-15. \ No newline at end of file