2 ; Vic20 generic definitions. Stolen mostly from c64.inc - Steve Schmidtke
6 ; ---------------------------------------------------------------------------
7 ; Zero page, Commodore stuff
9 TIME := $A0 ; 60HZ clock
10 FNAM_LEN := $B7 ; Length of filename
11 SECADR := $B9 ; Secondary address
12 DEVNUM := $BA ; Device number
13 FNAM := $BB ; Pointer to filename
14 KEY_COUNT := $C6 ; Number of keys in input buffer
15 RVS := $C7 ; Reverse flag
16 CURS_FLAG := $CC ; 1 = cursor off
17 CURS_BLINK := $CD ; Blink counter
18 CURS_CHAR := $CE ; Character under the cursor
19 CURS_STATE := $CF ; Cursor blink state
20 SCREEN_PTR := $D1 ; Pointer to current char in text screen
21 CURS_X := $D3 ; Cursor column
22 CURS_Y := $D6 ; Cursor row
23 CRAM_PTR := $F3 ; Pointer to current char in color RAM
25 BASIC_BUF := $200 ; Location of command-line
26 BASIC_BUF_LEN = 89 ; Maximum length of command-line
29 CURS_COLOR := $287 ; Color under the cursor
32 ; ---------------------------------------------------------------------------
38 ; ---------------------------------------------------------------------------
45 ; ---------------------------------------------------------------------------
46 ; Vector and other locations
52 ; ---------------------------------------------------------------------------
56 VIC_LINES := $9003 ; Screen lines, bit 7 is bit 0 from VIC_HLINE
57 VIC_HLINE := $9004 ; Rasterline, bits 1-8
58 VIC_COLOR := $900F ; Border and background color
60 ; ---------------------------------------------------------------------------
68 ; ---------------------------------------------------------------------------