]> git.sur5r.net Git - cc65/blobdiff - asminc/cbm610.inc
Fixed LinuxDoc Tools issues in some verbatim blocks in the Atari document.
[cc65] / asminc / cbm610.inc
index 94256eeb1a360c0ea0387f8080bf479ef300b965..b1b03eb1d13e64c1e1b02aca15f67d36fe9caa61 100644 (file)
@@ -1,16 +1,21 @@
 ;
-; Zeropage and I/O definitions for the CBM 610
+; Zero page variables and I/O definitions for the CBM 610
 ;
 ; Taken from a kernal disassembly done by myself in 1987.
 ;
-; Ullrich von Bassewitz, 28.09.1998
+; 1998-09-28, Ullrich von Bassewitz
+; 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
@@ -29,7 +34,8 @@ YSIZE           = 25
         DATA    .byte
 .endstruct
 
-; I/O  $db00: CIA 6526 Inter Process Communication
+
+; I/O  $db00: CIA 6526, Inter Process Communication
 ;
 ;       IPCcia          =       $db00
 
@@ -68,7 +74,6 @@ YSIZE           = 25
 ;       cia             =       $dc00
 
 
-
 ; I/O  $dd00: ACIA 6551
 ;
 ;       acia            =       $dd00
@@ -108,3 +113,7 @@ YSIZE           = 25
 ;       tpi2            =       $df00
 
 
+;-----------------------------------------------------------------------------
+
+BASIC_BUF       := $FA5E        ; Bank 1 location of command-line
+BASIC_BUF_LEN   = 162           ; Maximum length of command-line