]> git.sur5r.net Git - cc65/blob - include/geos/gconst.h
Merge pull request #834 from jedeoric/master
[cc65] / include / geos / gconst.h
1 /*
2   GEOS constants
3
4   reassembled by Maciej 'YTM/Elysium' Witkowiak
5 */
6
7 /* Here are constants which didn't fit into any other cathegory... */
8
9 #ifndef _GCONST_H
10 #define _GCONST_H
11
12 #define NULL            0
13 #define FALSE           NULL
14 #define TRUE            0xff
15 #define MOUSE_SPRNUM    0
16 #define DISK_DRV_LGH    0x0d80
17
18 /* drivetypes */
19 #define DRV_NULL        0
20 #define DRV_1541        1
21 #define DRV_1571        2
22 #define DRV_1581        3
23 #define DRV_NETWORK     15
24
25 /* various disk constants */
26 #define REL_FILE_NUM    9
27 #define CMND_FILE_NUM   15
28 #define MAX_CMND_STR    32
29 #define DIR_1581_TRACK  40
30 #define DIR_ACC_CHAN    13
31 #define DIR_TRACK       18
32 #define N_TRACKS        35
33 #define DK_NM_ID_LEN    18
34 #define TRACK           9
35 #define SECTOR          12
36 #define TOTAL_BLOCKS    664
37
38 /* offset to something */
39 #define OFF_INDEX_PTR   1
40
41 /* values for CPU_DATA memory config - C64 */
42 #define IO_IN           0x35
43 #define KRNL_IO_IN      0x36
44 #define KRNL_BAS_IO_IN  0x37
45
46 /* values for MMU config - C128 */
47 #define CIOIN           0x7E
48 #define CRAM64K         0x7F
49 #define CKRNLBASIOIN    0x40
50 #define CKRNLIOIN       0x4E
51
52 /* alarmSetFlag */
53 #define ALARMMASK       4
54
55 #define CLR_SAVE        0x40
56 #define CONSTRAINED     0x40
57 #define UN_CONSTRAINED  0
58 #define FG_SAVE         0x80
59
60 #define FUTURE1         7
61 #define FUTURE2         8
62 #define FUTURE3         9
63 #define FUTURE4         10
64 #define USELAST         127
65 #define SHORTCUT        128
66
67 #endif