]> git.sur5r.net Git - cc65/blob - libsrc/pet/pet.inc
New randomize() function for nearly all platforms
[cc65] / libsrc / pet / pet.inc
1 ;
2 ; C64 generic definitions. Stolen from Elite128
3 ;
4
5
6 ; ---------------------------------------------------------------------------
7 ; Zero page, Commodore stuff
8
9 TIME            = $8D           ; 60HZ clock
10 MEMSIZE         = $34           ; Size of memory installed
11 ST              = $96           ; IEC status byte
12 SECADR          = $D3           ; Secondary address
13 DEVNUM          = $D4           ; Device number
14 KEY_COUNT       = $9E           ; Number of keys in input buffer
15 CURS_FLAG       = $A7           ; 1 = cursor off
16 CURS_BLINK      = $A8           ; Blink counter
17 CURS_CHAR       = $A9           ; Character under the cursor
18 CURS_STATE      = $AA           ; Cursor blink state
19 SCREEN_PTR      = $C4           ; Pointer to current char in text screen
20 CURS_X          = $C6           ; Cursor column
21 CURS_Y          = $D8           ; Cursor row
22 SCR_LINELEN     = $D5           ; Screen line length
23
24 KEY_BUF         = $26F          ; Keyboard buffer
25
26
27 ; ---------------------------------------------------------------------------
28 ; Vector and other locations
29
30 IRQVec          = $0090
31 BRKVec          = $0092
32 NMIVec          = $0094
33