]> git.sur5r.net Git - cc65/blob - libsrc/apple2/apple2.inc
Use MEMSIZE instead of using a fixed high mem location
[cc65] / libsrc / apple2 / apple2.inc
1 ; Break vector
2 BRKVec  = $03F0
3
4 ; Goto Dos
5 RESTOR  =       $03D0
6
7 ; Top of available memory
8 ; This is actually for DOS 3.3 need to change it for ProDos
9 TOPMEM  =       $9600
10
11 ; Soft switches
12 ;
13 ; write to USEROM to enable apple rom C000-CFFF
14 USEROM  =       $C007
15 ; 80 column card switches
16 C80ON   =       $C00C
17 C80OFF  =       $C00D
18 RD80COL =       $C01F
19 PG2OFF  =       $C054
20 PG2ON   =       $C055
21 RDPAGE2 =       $C01C
22
23 ; Text routines
24 MIN_X   =       $20
25 MAX_X   =       $21
26 MIN_Y   =       $22
27 MAX_Y   =       $23
28 CH      =       $24
29 CV      =       $25
30 BASL    =       $28
31 TEXTTYP =       $32
32 MEMSIZE =       $73             ; Highest free RAM location
33 HOME    =       $FC58
34 VTABZ   =       $FC24
35 COUT    =       $FDED
36
37 ; Keyboard entries
38 RDKEY   =       $FD0C
39 CLEAR_KEY_STROBE = $C010
40 KEY_STROBE       = $C000
41
42 ; Game controller
43 OPEN_APPLE = $C061
44 CLOSED_APPLE = $C062