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
20sysp1:          .res    2
21sysp3:          .res    2
22vic:            .res    2
23sid:            .res    2
24cia1:           .res    2
25cia2:           .res    2
26acia:           .res    2
27tpi1:           .res    2
28tpi2:           .res    2
29ktab1:          .res    2
30ktab2:          .res    2
31ktab3:          .res    2
32ktab4:          .res    2
33
34sysp0:          .word   $0000
35time:           .dword  $0000
36segsave:        .byte   0
37ktmp:           .byte   0
38CURS_X:         .byte   0
39CURS_Y:         .byte   0
40CURS_FLAG:      .byte   0
41CURS_STATE:     .byte   0
42CURS_BLINK:     .byte   0
43CURS_COLOR:     .byte   0
44CHARCOLOR:      .byte   0
45RVS:            .byte   0
46DEVNUM:         .byte   0
47SCREEN_PTR:     .word   0
48CRAM_PTR:       .word   0
49; Stuff for our own kbd polling routine
50keyidx:         .byte   0               ; Number of keys in keyboard buffer
51keybuf:         .res    10              ; Keyboard buffer
52keyscanbuf:     .byte   0
53keysave:        .byte   0
54modkey:         .byte   0
55norkey:         .byte   0
56graphmode:      .byte   0
57lastidx:        .byte   0
58rptdelay:       .byte   0
59rptcount:       .byte   0
60
61