User Tools

Site Tools


base:introduction_to_raster_irqs

Differences

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

Link to this comparison view

Next revision
Previous revision
base:introduction_to_raster_irqs [2015-04-17 04:32] – external edit 127.0.0.1base:introduction_to_raster_irqs [2016-12-08 21:46] (current) – bit 8 = 9th bit cruzer
Line 1: Line 1:
 +Edit: Isn't actually stable. Use another example.
 +
 ====== Introduction to raster IRQs ====== ====== Introduction to raster IRQs ======
  
Line 42: Line 44:
  
 lda #$1b   ;as there are more than 256 rasterlines, the topmost bit of $d011 serves as lda #$1b   ;as there are more than 256 rasterlines, the topmost bit of $d011 serves as
-sta $d011  ;the 8th bit for the rasterline we want our irq to be triggered.+sta $d011  ;the 9th bit for the rasterline we want our irq to be triggered.
            ;here we simply set up a character screen, leaving the topmost bit 0.            ;here we simply set up a character screen, leaving the topmost bit 0.
  
base/introduction_to_raster_irqs.txt · Last modified: 2016-12-08 21:46 by cruzer