#include <conio.h>
#include <sys/farptr.h>
#include <go32.h>
#include <dos.h>
#include "palette.h"
#define putpixel(x, y, c) _farpokeb(_dos_ds, 0xA0000+(y)*320+(x), c)
void main() {
RGB newcolor;
textmode(0x13);
putpixel(160, 100, 50);
getch();
newcolor.red=63;
newcolor.green=0;
newcolor.blue=0;
setcolor(50, &newcolor);
getch();
textmode(0x3);
}