hi all i need some help to finish my box it's a midio128 with 8 dout output pin that are play by midi i would like to get 2x 1ms pulse on pin1 & 2 and keep gate on others i ve a idea of where i could put some code but dont know exactly what to call and i know that the folowin function is call 1ms after some output have change can i put something there that can reset a given pin so 1ms after that it have move. -------------------------------------------------------------------------- ;; This function is called by MIOS after the shift register have been loaded ;; Note that this is an interrupt service routine! Use FSR2 instead of FSR0 ;; and IRQ_TMPx instead of TMPx -- and make the routine as fast as possible ;; -------------------------------------------------------------------------- USER_SR_Service_Finish ;; fetch DIN registers if requested IFCLR MB_STAT, MB_STAT_FETCH_DIN_REQ, rgoto USER_SR_Service_Finish_End bcf MB_STAT, MB_STAT_FETCH_DIN_REQ call MIDIO_DOUT_FetchDIN USER_SR_Service_Finish_End return --------------------------------------------------------------------------------------------- tks !