-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathemudisk.h
62 lines (53 loc) · 1.27 KB
/
emudisk.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/*
* (c) UQLX - see COPYRIGHT
*/
#ifndef __emudisk_h
#define __emudisk_h
/* Emulated device structure */
/* Where has new meaning :
* 0: unixfilesys
* 1: QL floppy/QXL.WIN
* 2: unixfilesys, case-insensitive
*/
typedef struct
{
char *qname;
char Where[8];
char Present[8];
short OpenFiles[8];
struct mdvFile *FileList[8];
struct HF_FCB *fcbList[8];
const char *mountPoints[8];
int clean[8];
struct FLP_FCB *flpp[8];
int ref;
} EMUDEV_t;
extern EMUDEV_t qdevs[];
#define MAXDEV 16
/* 6/12/97 RZ removed non-essential defaults */
#ifdef STATICDEVS
EMUDEV_t qdevs[16] = {
#if 0
{"FLP", {0}, {1,1,0,0,0,0,0,0}, {0}, {NULL}, {NULL},
{"/ql/qldata/","/ql/qlsoft/"},{0},{0},0},
{"WIN", {0}, {1,1,1,0,0,0,0,0}, {0}, {NULL}, {NULL},
{HOME,"/","/ql/"},{0},{0},0},
#endif
#if 0
{"RAM", {0}, {1,1,1,1,1,1,1,1}, {0}, {NULL}, {NULL},
{
"/tmp/.ram1/","/tmp/.ram2/",
"/tmp/.ram3/","/tmp/.ram4/",
"/tmp/.ram5/","/tmp/.ram6/",
"/tmp/.ram7/","/tmp/.ram8/",},{0,0,0,0,0,0,0,0},{0},0},
#endif
#if 0
{"CD", {0}, {1,0,0,0,0,0,0,0}, {0}, {NULL}, {NULL},
{"/cdrom/"},{0},{0},0},
{"MS", {0}, {1,0,0,0,0,0,0,0}, {0}, {NULL}, {NULL},
{"/a/"},{0},{0},0},
#endif
{0}
};
#endif
#endif