Jamie
I looked again in more detail but think that there is a problem here due to the fact that the NE64 is quite limited in timer support. It has one PIT (Periodic Interrupt Timer), which is used by the OS Tick. It then has one 4-channel 16 bit timer module.
The restriction in the timer module is that it has only one 16-bit counter. The 4 channels (4,5,6,7) are all based on the single counter and can thus generate interrupts and waveforms, but only channel 7 has the capability to reset the counter and thus control the basic rate of a periodic interrupts or frequencies - the other outputs can do things like pulsing an output at a fraction of the period - useful for PWM etc. but are not independant.
Therefore, if channel 7 is used for another application, the timer module can not be used to generate other delays (unless they are somehow synchronised to the other use, which is probably not the case). I am presently working much more with the M5223X Coldfire which has this module (or at least very similar), 2 PITs and additional 4 x 32-bit timers which are totally independent, so I seemed to have forgotten how much more restrictive the NE64 is.
I am wondering whether a suitable solution for your use would be to set the TICK to 10ms and then use a simple SW timer?
There are some other workarounds however if a HW interrupt is absolutely needed, even when no timer if free to deliver it:
If you have a free UART or SPI it can be programmed to transmit a byte with a transmission rate corresponding to the delay that you require (depending on prescalers available, the resolution may not be perfect, but you could be lucky). Once the transmission has freed the output buffer it will generate an interrupt (probably after a few bit transmission times which can be easily determined by experimentation or studying the data sheet and will be fixed according to teh baud rate set up). I have used this method to run the TICK from in order to free up the PIT in another processor. The TICK is running continuously from a UART interrupt, which is sending each time a dummy byte of data (the port pin doesn't need to be set to UART so the data goes no where) and the character time is set to generate the basic TICK rate required. The PIT can then be used for additional hardware periodic or single-shot interrupts. Note however that the resolution of the PIT in the NE64 is not that high so again only approximate delays may be possible (eg. instead of 10.0000ms one may have to settle for 10.05ms since the clock and dividers doen't allow higher resolution - this is not a calculation but fictional example...)
Which solution looks most practical for you?
Regards
Mark