]> git.sur5r.net Git - cc65/blob - libsrc/cbm510/extzp.s
libsrc/atari/getdefdev.s: small optimization and fix a typo
[cc65] / libsrc / cbm510 / extzp.s
1 ;
2 ; Ullrich von Bassewitz, 2003-02-16
3 ;
4 ; Additional zero page locations for the CBM510.
5 ; NOTE: The zeropage locations contained in this file get initialized
6 ; in the startup code, so if you change anything here, be sure to check
7 ; not only the linker config, but also the startup file.
8 ;
9
10 ; ------------------------------------------------------------------------
11
12         .include        "extzp.inc"
13
14 .segment        "EXTZP" : zeropage
15
16 ; The following values get initialized from a table in the startup code.
17 ; While this sounds crazy, it has reasons that have to do with modules (and
18 ; we have the space anyway). So when changing anything, be sure to adjust the
19 ; initializer table
20 sysp1:          .res    2
21 sysp3:          .res    2
22 vic:            .res    2
23 sid:            .res    2
24 cia1:           .res    2
25 cia2:           .res    2
26 acia:           .res    2
27 tpi1:           .res    2
28 tpi2:           .res    2
29 ktab1:          .res    2
30 ktab2:          .res    2
31 ktab3:          .res    2
32 ktab4:          .res    2
33
34 sysp0:          .word   $0000
35 time:           .dword  $0000
36 segsave:        .byte   0
37 ktmp:           .byte   0
38 CURS_X:         .byte   0
39 CURS_Y:         .byte   0
40 CURS_FLAG:      .byte   0
41 CURS_STATE:     .byte   0
42 CURS_BLINK:     .byte   0
43 CURS_COLOR:     .byte   0
44 CHARCOLOR:      .byte   0
45 RVS:            .byte   0
46 DEVNUM:         .byte   0
47 SCREEN_PTR:     .word   0
48 CRAM_PTR:       .word   0
49 ; Stuff for our own kbd polling routine
50 keyidx:         .byte   0               ; Number of keys in keyboard buffer
51 keybuf:         .res    10              ; Keyboard buffer
52 keyscanbuf:     .byte   0
53 keysave:        .byte   0
54 modkey:         .byte   0
55 norkey:         .byte   0
56 graphmode:      .byte   0
57 lastidx:        .byte   0
58 rptdelay:       .byte   0
59 rptcount:       .byte   0
60