public static WriteHandlerPtr neo_control_w = new WriteHandlerPtr() { public void handler(int offset, int data)
	{
	    /* Games which definitely need IRQ2:
	    neocup98
		ssideki4
		ssideki3
		sengoku2
		spinmast
		ridhero
		turfmast
	    karnovr
		galaxyfg
		zedblade
		mslug2 (dunes at the beginning)
		*/
	
	    /* Auto-Anim Speed Control? */
	    if((data & 0xf0ff) == 0)
	    {
			int speed = (data >> 8) & 0x0f;
	        if (speed!=0) neogeo_frame_counter_speed=speed;
	    }
	
	    if ((data & 0x10)!=0)
			irq2enable = 1;
	    else
	    {
			irq2enable = 0;
			lastirq2line = 1000;
			return;
	    }
	
	    if ((data & 0x40)!=0)
			lastirq2line = 1000;
	
	    irq2control = data & 0xff;
	
		/* ssideki2, zedblade and turfmast seem to be the only games to not set these
		  bits, and also the only ones to have an irq2repeat > 8. Coincidence?
		  */
		if ((data & 0xc0)!=0)
			irq2repeat_limit = 16;
		else
			irq2repeat_limit = 29;
	} }