]> git.sur5r.net Git - cc65/blob - libsrc/plus4/plus4.inc
This commit was generated by cvs2svn to compensate for changes in r2,
[cc65] / libsrc / plus4 / plus4.inc
1 ;
2 ; Plus/4 generic definitions.
3 ;
4
5
6 ; ---------------------------------------------------------------------------
7 ; Zero page, Commodore stuff
8
9 ST              = $90           ; IEC status byte
10
11 FNAM_LEN        = $AB           ; Length of filename
12 SECADR          = $AD           ; Secondary address
13 DEVNUM          = $AE           ; Device number
14 KEY_COUNT       = $EF           ; Number of keys in input buffer
15 CURS_X          = $CA           ; Cursor column
16 CURS_Y          = $CD           ; Cursor row
17 SCREEN_PTR      = $C8           ; Pointer to current char in text screen
18 CRAM_PTR        = $EA           ; Pointer to current char in color RAM
19
20 CHARCOLOR       = $53B
21 FKEY_COUNT      = $55D          ; Characters for function key
22 FKEY_SPACE      = $55F          ; Function key definitions
23 FKEY_ORIG       = $F3D2         ; Original definitions
24
25 ; ---------------------------------------------------------------------------
26 ; Kernal routines
27
28 ; Direct entries
29 CLRSCR          = $D88B
30 KBDREAD         = $D8C1
31
32 ; ---------------------------------------------------------------------------
33 ; Vector and other locations
34
35 IRQVec          = $0314
36 BRKVec          = $0316
37 NMIVec          = $0318
38
39 ; ---------------------------------------------------------------------------
40 ; I/O
41
42 TED_T1LO        = $FF00
43 TED_T1HI        = $FF01
44 TED_T2LO        = $FF02
45 TED_T2HI        = $FF03
46 TED_T3LO        = $FF04
47 TED_T4HI        = $FF05
48 TED_KBD         = $FF08
49 TED_CURSHI      = $FF0C
50 TED_CURSLO      = $FF0D
51 TED_V1FRQLO     = $FF0E
52 TED_V2FRQLO     = $FF0F
53 TED_V2FRQHI     = $FF10
54 TED_BGCOLOR     = $FF15
55 TED_COLOR1      = $FF16
56 TED_COLOR2      = $FF17
57 TED_COLOR3      = $FF18
58 TED_BORDERCOLOR = $FF19
59 TED_VLINEHI     = $FF1C
60 TED_VLINELO     = $FF1D
61 TED_HPOS        = $FF1E
62 TED_ROMSEL      = $FF3E
63 TED_RAMSEL      = $FF3F
64
65
66