]> git.sur5r.net Git - cc65/blobdiff - asminc/cbm510.inc
Style changes.
[cc65] / asminc / cbm510.inc
index f031a1e3595f5b9bf9c2c586812145b9d69664ad..e1a86c48708e66ecba5eaa59bdb15bb2ccf880bc 100644 (file)
@@ -4,16 +4,18 @@
 ; Taken from a kernal disassembly done by myself in 2000/2001.
 ;
 ; 2001-09-13, Ullrich von Bassewitz
-; 2013-08-23, Greg King
+; 2014-04-02, 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
+FNAM            := $90          ; Far pointer to LOAD/SAVE file-name
+FNAM_LEN        := $9D          ; Holds length of file-name
 
 ; ---------------------------------------------------------------------------
 ; Screen size
@@ -23,6 +25,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 +71,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