scott created page: JoeyLib Palette Functions

Scott Duensing 2018-09-06 01:07:37 +00:00
parent c24f713c14
commit 45d3f11f94

@ -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.