public static ReadHandlerPtr controller3_r = new ReadHandlerPtr() { public int handler(int offset)
	{
		if (memcard_status==0)
			return (readinputport(2) << 8);
		else
			return ((readinputport(2) << 8)&0x8FFF);
	} }