User Tools

Site Tools


base:interrupts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
base:interrupts [2016-10-05 11:23] – [IRQ's and timing in general] sokratesbase: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 approaches"]] - Article series by Jackasser/Instinct   * [[stable timing - jackasser|"Stable timing approaches"]] - Article series by Jackasser/Instinct
   * [[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 ====
Line 29: Line 31:
   * [[Frame skipping]] - by Mace   * [[Frame skipping]] - by Mace
   * [[Double irq explained]] - Double interrupts by TheHighlander 2015   * [[Double irq explained]] - Double interrupts by TheHighlander 2015
 +  * [[NMIs and distributed jitter-correction routines|The Ninja-Method: NMIs and distributed jitter-correction routines]] - by St0fF/Neoplasia^theObsessedManiacs
 ===== Advanced program flow ===== ===== Advanced program flow =====
  
base/interrupts.1475659434.txt.gz · Last modified: 2016-10-05 11:23 by sokrates