Register a callback routine for the CTC. Note that only one routine can be installed for each channel. Also, setting a callback on channel 0 will halt the usual MTX BASIC processing of the 8ms interrupt such as maintaining the clock and moving sprites.
This routine assumes that the CTC interrupt vector has not been changed from the default value 0f 0xFFF0
chan = | CTC channel number. |
cb = | Callback routine (NULL to remove callback). |
Include file: mtxint.h