public static ReadHandlerPtr eeprom_r = new ReadHandlerPtr() { public int handler(int offset)
	{
		int res;
	
	if (errorlog!=null) fprintf(errorlog,"%06x eeprom_r\n",cpu_get_pc());
		/* bit 6 is EEPROM data */
		/* bit 7 is EEPROM ready */
		/* bit 14 is service button */
		res = (EEPROM_read_bit() << 6) | input_port_2_r.handler(0);
		if (init_eeprom_count!=0)
		{
			init_eeprom_count--;
			res &= 0xbfff;
		}
		return res;
	} }