]> pd.if.org Git - mmurtl/blob - ossource/runfile.h
autocommit for file dated 2003-12-29 17:36:54
[mmurtl] / ossource / runfile.h
1 /* Runfile.h */\r
2 \r
3 /* MMURTL Operating System Source Code\r
4    Copyright 1991,1992,1993, Richard A. Burgess\r
5    ALL RIGHTS RESERVED\r
6    Version x0.8\r
7 */\r
8 \r
9 /* This contains all the defines to build or read a MMURTL runfile */\r
10 \r
11 #define IDTAG    0x80\r
12 #define VERTAG   0x82\r
13 #define DATETAG  0x83\r
14 #define CMNTTAG  0x84\r
15 #define SEGTAG   0x90\r
16 #define DOFFTAG  0x92\r
17 #define COFFTAG  0x94\r
18 #define STRTTAG  0x96\r
19 #define DLLIDTAG 0xA0\r
20 #define CODETAG  0xB0\r
21 #define DATATAG  0xB2\r
22 #define CDFIXTAG 0xC0           /* most common (e.g., a variable ref in CSEG) */\r
23 #define CCFIXTAG 0xC1           /* CSEG item refers to CSEG item */\r
24 #define DDFIXTAG 0xC2           /* DESG item refers to DSEG item */\r
25 #define DCFIXTAG 0xC3           /* DESG item refers to CSEG item */\r
26 #define DLFIXTAG 0xC5           /* DLL called from CSEG */\r
27 #define DLPUBTAG 0xC8           /* DLL Defined in CSEG */\r
28 #define ENDTAG   0XFF\r
29 \r
30 /* legal values for run file types */\r
31 \r
32 #define IDRUNFILE 1\r
33 #define IDDLLFILE 2\r
34 #define IDDEVDRV  3\r
35 \r
36 \r
37 struct tagtype {\r
38         unsigned char id;\r
39         long len;\r
40         };\r
41 \r
42 #define TAGSIZE 5               /* This includes the TAGID & tag length */\r
43 \r
44 /************ END OF MODULE *****************/\r