*sptr = 0x0000;
*sptr = 0xf800;
PnozzAccelInit(ScrnInfoPtr pScrn){    PnozzPtr pPnozz = GET_PNOZZ_FROM_SCRN(pScrn);    XAAInfoRecPtr pXAAInfo = pPnozz->pXAA;    pXAAInfo->Flags = LINEAR_FRAMEBUFFER | PIXMAP_CACHE | OFFSCREEN_PIXMAPS;    pXAAInfo->maxOffPixWidth = pPnozz->width;    pXAAInfo->maxOffPixHeight = pPnozz->maxheight;    MaxClip = ((pPnozz->scanlinesize & 0xffff) << 16) | (pPnozz->maxheight);        PnozzInitEngine(pPnozz);    #if 1    {	CARD32 src, srcw, junk;	src = 0;	srcw = (pPnozz->width) << 16 | (pPnozz->height);		/* Blit the screen white. For aesthetic reasons. */		PnozzSync(pScrn);	pnozz_write_4(pPnozz, FOREGROUND_COLOR, 0xffffffff);	pnozz_write_4(pPnozz, BACKGROUND_COLOR, 0xffffffff);	pnozz_write_4(pPnozz, RASTER_OP, ROP_PAT);	pnozz_write_4(pPnozz, COORD_INDEX, 0);	pnozz_write_4(pPnozz, RECT_RTW_XY, src);	pnozz_write_4(pPnozz, RECT_RTW_XY, srcw);		junk = pnozz_read_4(pPnozz, COMMAND_QUAD);	PnozzSync(pScrn);    }#endif#if 0    {    	unsigned short *sptr = pPnozz->fb;	int i,j;	unsigned short blah;	/*	for (i = 0; i < 600; i++) {	    for (j = 0; j < 400; j++) {	    	if (j & 4) {		    	*sptr = 0xffff;		} else {			*sptr = 0;		}		sptr++;	    }	}	*/	for (i = 0; i < 400; i++) {	    *sptr = 0xffff;	    sptr++;	    *sptr = 0x0000;	    sptr+=800;	 }    }#endif    /* Sync */    pXAAInfo->Sync = PnozzSync;    /* Screen-to-screen copy */    pXAAInfo->ScreenToScreenCopyFlags = NO_TRANSPARENCY;    pXAAInfo->SetupForScreenToScreenCopy = PnozzSetupForScreenToScreenCopy;    pXAAInfo->SubsequentScreenToScreenCopy =        PnozzSubsequentScreenToScreenCopy;    /* Solid fills */    pXAAInfo->SetupForSolidFill = PnozzSetupForSolidFill;    pXAAInfo->SubsequentSolidFillRect = PnozzSubsequentSolidFillRect;#if 0    /* 8x8 mono pattern fills */    pXAAInfo->Mono8x8PatternFillFlags = BIT_ORDER_IN_BYTE_MSBFIRST |	HARDWARE_PATTERN_PROGRAMMED_BITS | HARDWARE_PATTERN_SCREEN_ORIGIN;	    pXAAInfo->SetupForMono8x8PatternFill = PnozzSetupForMono8x8PatternFill;    pXAAInfo->SubsequentMono8x8PatternFillRect =        PnozzSubsequentMono8x8PatternFillRect;#endif    return 0;}