public static InterruptPtr neogeo_interrupt = new InterruptPtr() { public int handler() 
	{
		
	
	
		/* Add a timer tick to the pd4990a */
		addretrace();
	
		/* Animation counter, 1 once per frame is too fast, every 4 seems good */
	        if  (fc_intr>=neogeo_frame_counter_speed) {
	                fc_intr=0;
	                neogeo_frame_counter++;
	        }
	        fc_intr++;

		if (irq2_enable!=0) cpu_cause_interrupt(0,2);

		/* return a standard vblank interrupt */
		return 1;      /* vertical blank */
	} }