]> git.sur5r.net Git - cc65/blobdiff - libsrc/vic20/vic20.inc
Fix open flags, minor optimization
[cc65] / libsrc / vic20 / vic20.inc
index 56bf0ec14dd75880bcc5ec4570d21b25554b5d86..c67be541e340686548c6f1779bb73793fa80e94f 100644 (file)
@@ -8,6 +8,7 @@
 
 ST             = $90           ; IEC status byte
 
+TIME            = $A0           ; 60HZ clock
 FNAM_LEN       = $B7           ; Length of filename
 SECADR         = $B9           ; Secondary address
 DEVNUM         = $BA           ; Device number
@@ -30,10 +31,10 @@ PALFLAG             = $2A6          ; $01 = PAL, $00 = NTSC
 ; Kernal routines
 
 ; Direct entries
-CLRSCR         = $E55F         
-KBDREAD                = $E5CF         
+CLRSCR         = $E55F
+KBDREAD                = $E5CF
 NAMED_OPEN     = $F495
-NAMED_CLOSE    = $F6DA         
+NAMED_CLOSE    = $F6DA
 PLOTCHAR       = $EAAA         ; Char in A, color in X
 
 ; ---------------------------------------------------------------------------
@@ -46,8 +47,10 @@ NMIVec               = $0318
 ; ---------------------------------------------------------------------------
 ; I/O: 6560 VIC
 
-VIC            = $9000
-VIC_COLOR      = $900F
+VIC            = $9000                               
+VIC_LINES       = $9003         ; Screen lines, bit 7 is bit 0 from VIC_HLINE
+VIC_HLINE       = $9004         ; Rasterline, bits 1-8
+VIC_COLOR      = $900F         ; Border and background color
 
 ; ---------------------------------------------------------------------------
 ; I/O: 6522 VIA1