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