Code64 logo
 

Interrupts and timing

Interrupts can be trigged by the CIA chips and the VIC chip, and they are mostly used to trig specific pieces of code at regular intervals. In demo coding, timing is often crucial, and programmers often need to use cycle exact timing, making things like stable rasterbars possible. However, timing is of course not only about setting up interrupt. It can also be achieved through delay loops and simply by keeping track of exactly how many cycles it takes for a certain code snippet to execute.

IRQ's and timing in general

Stable timing

Routines

Advanced program flow

About complex execution flow such as multiple interrupt handlers at the same time, threaded code, and similar. This usually involves interrupts in one way or another.

 
base/interrupts.txt · Last modified: 2013/01/17 14:46 by ftc
 
Code64 logo
Recent changes RSS feed Creative Commons License Driven by DokuWiki