public static ReadHandlerPtr bankedram_r = new ReadHandlerPtr() { public int handler(int offset)
	{
		if (palette_selected!=0)
			return paletteram_r.handler(offset);
		else
			return ram.read(offset);
	} }