0x10code
0x10code copied to clipboard
Clock will not jump with IAS
Clock WILL NOT jump to a subroutine specified by IAS [subroutine]. Has a tendency to RFI to beginning of entire program as well. I think IAS might just be broken.
IAS works fine. Perhaps you aren't turning the clock on? To enable the clock, you have to use interrupt 0.
Basically, set A to 0 to specify interrupt 0. Then, set B to the frequency that you want the clock to tick at (it will tick 60/B times per second). Finally, call HWI
.
Then you enable interrupts on the clock. Set A to 2, B to the interrupt message, and call HWI
.
Yikes, that's hypnotic.