pnozz_write_dac(pPnozz,DAC_INDX_CTL,DAC_INDX_AUTOINCR); pnozz_write_dac(pPnozz,DAC_INDX_LO,0x40); pnozz_write_dac(pPnozz,DAC_INDX_HI,0); pnozz_write_dac(pPnozz,DAC_INDX_DATA,(bg>>16)&0xff); pnozz_write_dac(pPnozz,DAC_INDX_DATA,(bg>>8)&0xff); pnozz_write_dac(pPnozz,DAC_INDX_DATA,(bg)&0xff); pnozz_write_dac(pPnozz,DAC_INDX_DATA,(fg>>16)&0xff); pnozz_write_dac(pPnozz,DAC_INDX_DATA,(fg>>8)&0xff); pnozz_write_dac(pPnozz,DAC_INDX_DATA,(fg)&0xff);
pnozz_write_dac(pPnozz, DAC_INDX_HI, 0); pnozz_write_dac(pPnozz, DAC_INDX_LO, 0x40); pnozz_write_dac(pPnozz, DAC_INDX_CTL, DAC_INDX_AUTOINCR); pnozz_write_dac(pPnozz, DAC_INDX_DATA, (bg >> 16) & 0xff); pnozz_write_dac(pPnozz, DAC_INDX_DATA, (bg >> 8) & 0xff); pnozz_write_dac(pPnozz, DAC_INDX_DATA, (bg) & 0xff); pnozz_write_dac(pPnozz, DAC_INDX_DATA, (fg >> 16) & 0xff); pnozz_write_dac(pPnozz, DAC_INDX_DATA, (fg >> 8) & 0xff); pnozz_write_dac(pPnozz, DAC_INDX_DATA, (fg) & 0xff);
PnozzSetCursorColors(ScrnInfoPtr pScrn, int bg, int fg){    PnozzPtr pPnozz = GET_PNOZZ_FROM_SCRN(pScrn);    if (bg != pPnozz->CursorBg || fg != pPnozz->CursorFg) {	pnozz_write_dac(pPnozz,DAC_INDX_CTL,DAC_INDX_AUTOINCR);	pnozz_write_dac(pPnozz,DAC_INDX_LO,0x40);	pnozz_write_dac(pPnozz,DAC_INDX_HI,0);	pnozz_write_dac(pPnozz,DAC_INDX_DATA,(bg>>16)&0xff);	pnozz_write_dac(pPnozz,DAC_INDX_DATA,(bg>>8)&0xff);	pnozz_write_dac(pPnozz,DAC_INDX_DATA,(bg)&0xff);	pnozz_write_dac(pPnozz,DAC_INDX_DATA,(fg>>16)&0xff);	pnozz_write_dac(pPnozz,DAC_INDX_DATA,(fg>>8)&0xff);	pnozz_write_dac(pPnozz,DAC_INDX_DATA,(fg)&0xff);	pPnozz->CursorBg = bg;	pPnozz->CursorFg = fg;    }}