]> git.sur5r.net Git - cc65/blob - include/geos/gconst.h
This commit was generated by cvs2svn to compensate for changes in r2,
[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/Alliance' 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 MMU config - C128 */
43 #define CIOIN           0x7E
44 #define CRAM64K         0x7F
45 #define CKRNLBASIOIN    0x40
46 #define CKRNLIOIN       0x4E
47
48 /* alarmSetFlag */
49 #define ALARMMASK       4
50
51 #define CLR_SAVE        0x40
52 #define CONSTRAINED     0x40
53 #define UN_CONSTRAINED  0
54 #define FG_SAVE         0x80
55
56 #define FUTURE1         7
57 #define FUTURE2         8
58 #define FUTURE3         9
59 #define FUTURE4         10
60 #define USELAST         127
61 #define SHORTCUT        128
62
63 #endif