Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
system_routines:interrupt_scheduler [2016/06/11 22:17] ex_writer [ACTINT] |
system_routines:interrupt_scheduler [2016/06/11 22:23] (current) ex_writer [CTIMER] |
||
---|---|---|---|
Line 37: | Line 37: | ||
| Calling Sequence: | <code z80>CALL CTIMER</code>| | | Calling Sequence: | <code z80>CALL CTIMER</code>| | ||
| Input: | HL = address of custom time base\\ B = value to load into time base 1 to 0 transition\\ C = counter mask as in [[interrupt scheduler#deccts|DECCTS]] | | | Input: | HL = address of custom time base\\ B = value to load into time base 1 to 0 transition\\ C = counter mask as in [[interrupt scheduler#deccts|DECCTS]] | | ||
- | | Description: | HL is loaded and decremented. If HL != 0, then a return is executed, otherwise, HL is loaded with B and [[interrupt scheduler#deccts|DECCTS]] is called.\\ \\ Registers HL, DE, BC, and AF are undefined upon exit. | | + | | Description: | Calls TIMEX, which decrements a time base in RAM (HL). If HL != 0, then a return is executed, otherwise, HL is loaded with B and [[interrupt scheduler#deccts|DECCTS]] is called.\\ \\ Registers HL, DE, BC, and AF are undefined upon exit. | |
==== BMUSIC ==== | ==== BMUSIC ==== |