2 ; Vic20 generic definitions. Stolen mostly from c64.inc - Steve Schmidtke
6 ; ---------------------------------------------------------------------------
7 ; Zero page, Commodore stuff
9 ST = $90 ; IEC status byte
11 FNAM_LEN = $B7 ; Length of filename
12 SECADR = $B9 ; Secondary address
13 DEVNUM = $BA ; Device number
14 KEY_COUNT = $C6 ; Number of keys in input buffer
15 CURS_FLAG = $CC ; 1 = cursor off
16 CURS_BLINK = $CD ; Blink counter
17 CURS_CHAR = $CE ; Character under the cursor
18 CURS_COLOR = $287 ; Color 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
26 PALFLAG = $2A6 ; $01 = PAL, $00 = NTSC
29 ; ---------------------------------------------------------------------------
37 PLOTCHAR = $EAAA ; Char in A, color in X
39 ; ---------------------------------------------------------------------------
40 ; Vector and other locations
46 ; ---------------------------------------------------------------------------
52 ; ---------------------------------------------------------------------------
60 ; ---------------------------------------------------------------------------