base:interrupts
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
base:interrupts [2016-10-27 10:33] – [Routines] st0ff | base:interrupts [2020-06-14 22:36] (current) – ftc | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Interrupts and timing ====== | ====== 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 and game coding, timing is often crucial, and programmers may need to use cycle exact timing to achieve things like stable rasterbars. However, timing is not only about setting up interrupts. 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. | 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 and game coding, timing is often crucial, and programmers may need to use cycle exact timing to achieve things like stable rasterbars. However, timing is not only about setting up interrupts. 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. | ||
Line 19: | Line 19: | ||
* [[stable timing - jackasser|" | * [[stable timing - jackasser|" | ||
* [[Stable Raster Routine]] - Non cryptic explination by TWW / Creators | * [[Stable Raster Routine]] - Non cryptic explination by TWW / Creators | ||
+ | * [[improved clockslide|Improved Clock Slide]] by lft | ||
+ | * [[stable_raster_with_lightpen|Stable Raster with Lightpen]] - Kruthers | ||
==== Routines ==== | ==== Routines ==== |
base/interrupts.1477557215.txt.gz · Last modified: 2016-10-27 10:33 by st0ff