40
40
#define TRUE (!FALSE)
43
#define S1D_WRITE_PALETTE(p,i,r,g,b) \
45
((volatile uchar*)(p))[palette_index] = (uchar)(i); \
46
((volatile uchar*)(p))[palette_value] = (uchar)(r); \
47
((volatile uchar*)(p))[palette_value] = (uchar)(g); \
48
((volatile uchar*)(p))[palette_value] = (uchar)(b); \
43
#define S1D_WRITE_PALETTE(p,i,r,g,b) \
45
out_8(&((uchar*)(p))[palette_index], (uchar)(i)); \
46
out_8(&((uchar*)(p))[palette_index], (uchar)(r)); \
47
out_8(&((uchar*)(p))[palette_index], (uchar)(g)); \
48
out_8(&((uchar*)(p))[palette_index], (uchar)(b)); \