static void srdarwin_drawsprites(osd_bitmap bitmap, int pri)
	{
		int offs;
	
		/* Sprites */
		for (offs = 0;offs < 0x200;offs += 4)
		{
			int multi,fx,sx,sy,sy2,code,color;
	
			code = buffered_spriteram.read(offs+3) + ( ( buffered_spriteram.read(offs+1) & 0xe0 ) << 3 );
			sx = (241 - buffered_spriteram.read(offs+2));
		//if (sx < -7) sx += 256;
	
			sy = buffered_spriteram.read(offs);
			color = (buffered_spriteram.read(offs+1) & 0x03) + ((buffered_spriteram.read(offs+1) & 0x08) >> 1);
	
			if (pri==0 && color!=0) continue;
			if (pri==1 && color==0) continue;
	
			fx = buffered_spriteram.read(offs+1) & 0x04;
			multi = buffered_spriteram.read(offs+1) & 0x10;
	
			if (flipscreen != 0) {
				sy=240-sy;
				sx=240-sx;
				if (fx != 0) fx=0; else fx=1;
				sy2=sy-16;
			}
			else sy2=sy+16;
	
	    	drawgfx(bitmap,Machine.gfx[1],
	        		code,
					color,
					fx,flipscreen,
					sx,sy,
					Machine.drv.visible_area,TRANSPARENCY_PEN,0);
	        if (multi != 0)
	    		drawgfx(bitmap,Machine.gfx[1],
					code+1,
					color,
					fx,flipscreen,
					sx,sy2,
					Machine.drv.visible_area,TRANSPARENCY_PEN,0);
		}
	}