2 ; C64 generic definitions. Stolen from Elite128
6 ; ---------------------------------------------------------------------------
7 ; Zero page, Commodore stuff
9 MEMSIZE = $34 ; Size of memory installed
10 ST = $96 ; IEC status byte
11 SECADR = $D3 ; Secondary address
12 DEVNUM = $D4 ; Device number
13 KEY_COUNT = $9E ; Number of keys in input buffer
14 CURS_FLAG = $A7 ; 1 = cursor off
15 CURS_BLINK = $A8 ; Blink counter
16 CURS_CHAR = $A9 ; Character under the cursor
17 CURS_STATE = $AA ; Cursor blink state
18 SCREEN_PTR = $C4 ; Pointer to current char in text screen
19 CURS_X = $C6 ; Cursor column
20 CURS_Y = $D8 ; Cursor row
21 SCR_LINELEN = $D5 ; Screen line length
23 KEY_BUF = $26F ; Keyboard buffer
26 ; ---------------------------------------------------------------------------
27 ; Vector and other locations