2 ; Plus/4 generic definitions.
6 ; ---------------------------------------------------------------------------
7 ; Zero page, Commodore stuff
9 TMPPTR := $22 ; Temporary ptr used by BASIC
10 ST := $90 ; IEC status byte
11 TIME := $A3 ; 60HZ clock
12 FNAM_LEN := $AB ; Length of filename
13 LFN := $AC ; Logical file number
14 SECADR := $AD ; Secondary address
15 DEVNUM := $AE ; Device number
16 FNAM := $AF ; Pointer to filename for OPEN
17 KEY_COUNT := $EF ; Number of keys in input buffer
18 RVS := $C2 ; Reverse flag
19 CURS_X := $CA ; Cursor column
20 CURS_Y := $CD ; Cursor row
21 SCREEN_PTR := $C8 ; Pointer to current char in text screen
22 CRAM_PTR := $EA ; Pointer to current char in color RAM
24 BASIC_BUF := $200 ; Location of command-line
25 BASIC_BUF_LEN = 89 ; Maximum length of command-line
27 FNBUF := $25E ; Buffer for filename
28 FETCH := $494 ; lda (zp),y from RAM
30 FKEY_COUNT := $55D ; Characters for function key
31 FKEY_SPACE := $55F ; Function key definitions
32 FKEY_ORIG := $F3D2 ; Original definitions
34 ; ---------------------------------------------------------------------------
41 ; ---------------------------------------------------------------------------
42 ; Vector and other locations
48 ; ---------------------------------------------------------------------------
54 ; ---------------------------------------------------------------------------
74 TED_BORDERCOLOR := $FF19
81 ; ---------------------------------------------------------------------------
82 ; RAM/ROM selection addresses
84 ENABLE_ROM := TED_ROMSEL
85 ENABLE_RAM := TED_RAMSEL