]> git.sur5r.net Git - cc65/blobdiff - asminc/cbm510.inc
Disable the high frequency mouse polling IRQ while the system does
[cc65] / asminc / cbm510.inc
index f031a1e3595f5b9bf9c2c586812145b9d69664ad..abc36372804d7c2930cd5f9c91888e045140e88a 100644 (file)
@@ -4,14 +4,14 @@
 ; Taken from a kernal disassembly done by myself in 2000/2001.
 ;
 ; 2001-09-13, Ullrich von Bassewitz
-; 2013-08-23, Greg King
+; 2013-08-26, Greg King
 
 
 ;-----------------------------------------------------------------------------
 ; Zeropage stuff
 
-ExecReg         = $00
-IndReg          = $01
+ExecReg         := $00          ; Controls execution memory bank
+IndReg          := $01          ; Controls indirect indexed load-store bank
 
 TXTPTR          := $85          ; Far pointer into BASIC source code
 
@@ -23,6 +23,9 @@ YSIZE           = 25
 
 ;-----------------------------------------------------------------------------
 ; I/O Definitions
+; Note:  These numbers aren't addresses.  They are offsets from the start of
+; each chip's register set.  They are used in the indirect indexed addressing
+; mode.
 
 ; I/O  $d800: VIC-II
 
@@ -66,6 +69,9 @@ VIC_CTRL2       = $16
 
 VIC_HLINE       = $12
 
+VIC_LPEN_X      = $13
+VIC_LPEN_Y      = $14
+
 VIC_VIDEO_ADR   = $18
 
 VIC_IRR         = $19           ; Interrupt request register