public static ReadHandlerPtr cheat_r = new ReadHandlerPtr() { public int handler(int offset)
	{
		int res;
		
	
		res = readinputport(1);
	
		if ((readinputport(0) & 0x08) == 0)
		{
			res |= 0x55;
			res &= bits[cheat];
			cheat = (++cheat)%4;
		}
		return res;
	} }