User Tools

Site Tools


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


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: 2014-06-10 04:15 (external edit)