]> 4ch.mooo.com Git - 16.git/blob - src/lib/exmm/emmsize.h
cleaned up the repo from debugging watcom2 ^^
[16.git] / src / lib / exmm / emmsize.h
1 // Cut this out as emmsize.h\r
2 \r
3 /*      File:       EmmSize.h\r
4  *      Module:     All Modules\r
5  *      Author(s):  Chris Somers\r
6  *      Date:       May 8, 1992\r
7  *      Version:    V.1.0\r
8  */\r
9 \r
10 #ifndef _EMMSIZES_DEF\r
11 #define _EMMSIZES_DEF 1\r
12 \r
13 \r
14 /* Module size constants */\r
15 \r
16 #define     MAXACTIONS          29\r
17 #define     MAXCHANNELS          4\r
18 #define     MAXFOCUS             3\r
19 #define     MAXBUFTYPES         64\r
20 #define     MAXEMHANDLES        64      /* up to a max of 255 */\r
21 #define     MAXTIMERS           32\r
22 #define     MAXTITEMS          128\r
23 #define     MAXQUEUES           24\r
24 #ifdef PRINTER\r
25 #define     MAXPRNS              4\r
26 #else\r
27 #define     MAXPRNS              0\r
28 #endif\r
29 #ifdef UTSCOM\r
30 #define     MAXUTSSCRNS          2\r
31 #else\r
32 #define     MAXUTSSCRNS          0\r
33 #endif\r
34 #ifdef CAPTURE\r
35 #define     MAXCAPTURE           1\r
36 #else\r
37 #define     MAXCAPTURE           0\r
38 #endif\r
39 #define     MAXIRQS             10\r
40 #define     MAXTCPDSCPTITEMS    16     /*max # of TCP connections*/\r
41 \r
42 #define FREEBUFF        1   /* CallIODevice flag for BuffSize arrays */\r
43 #define DSCONLY         2   /* allocate a BufDscpt, only - no buffer */\r
44 \r
45 #define     EMMPAGESIZE     0x4000     /* 16K EMM page size */\r
46 #define     SETUPLEN            32\r
47 #define     NAMELEN             40\r
48 #define     UNIXLEN             32\r
49 #define     ADDRLEN             16\r
50 #define     TITLELEN           128\r
51 #define     TSLEN               80\r
52 #define     COMMENTLEN          65\r
53 #define     PALSIZE            768\r
54 #define     QSTRLEN            254\r
55 #define     PRNBUFSIZ         2048\r
56 #define     TXTSCRNSIZE       4096\r
57 #define     UTSBUFSIZ         4096\r
58 #define     UTSSCRNSIZ        1920\r
59 #define     QMEMSIZE            15\r
60 #define     KBUFLEN             16\r
61 #define     GXBUFFSIZE      0x4000\r
62 #define     TCPNDBUFFSIZE   0x1000      /*router auto-allocation buff size*/\r
63                                         /* graphics printing scale values */\r
64 #define     SCALE_HALF           1      /* value must not change */\r
65 #define     SCALE_ONE            2\r
66 #define     SCALE_QUART          3      /* value must not change */\r
67 \r
68 #define     SIXTH_SECOND         3L     /* shade over 1/6 of a second*/\r
69 #define     HALF_SECOND          9L\r
70 #define     ONE_SECOND          18L\r
71 #define     TWO_SECONDS         36L\r
72 #define     FIVE_SECONDS        91L\r
73 #define     TEN_SECONDS        182L\r
74 #define     HALF_MINUTE      182*3L     /* same as 18.2*30, right? */\r
75 #define     ONE_MINUTE       182*6L     /* same as 18.2*60, right? */\r
76 #define     TWO_MINUTES     182*12L     /* same as 18.2*120, right? */\r
77 #define     FIVE_MINUTES    182*30L     /* same as 18.2*300, right? */\r
78 #define     TEN_MINUTES     182*60L     /* same as 18.2*600, right? */\r
79 #define     HALF_HOUR      182*180L     /* same as 18.2*1800, right? */\r
80 #define     ONE_HOUR       182*360L     /* same as 18.2*3600, right? */\r
81 \r
82 #define MAXROUTMOVES            24      /*max # of routing moves at one time*/\r
83                                         /*also max # of Move Complete Events*/\r
84 /* Event Channel Defines */\r
85 \r
86 #define MAXRECALLEVENTS    1   /*max nm of Recall Event Channels*/\r
87 #define MAXKBDEVENTS       1   /*max nm of Kbd Event Channels*/\r
88 #define MAXPRNEVENTS       4   /*max nm of Prt Prog & Prt Cmplte Event Chan*/\r
89 #define MAXUTSRCVEVENTS    MAXUTSSCRNS       /*max nm of Uts Rx Event Chans*/\r
90 #define MAXUTSXMTEVENTS    MAXUTSSCRNS       /*max nm of Uts Tx Event Chans*/\r
91 #define MAXCAPEVENTS       2   /* max number of capture event channels */\r
92 #define MAXOP1CMPLTEVENTS  1   /*max nm of Operation 1 Cmplt Event Channels*/\r
93 #define MAXOP2CMPLTEVENTS  1   /*max nm of Operation 2 Cmplt Event Channels*/\r
94 #define MAXOP3CMPLTEVENTS  MAXTCPDSCPTITEMS  /*max nm of Op 3 Event Chans*/\r
95 #define MAXTCPEVENTS       MAXTCPDSCPTITEMS  /* max nm of TCP Event types */\r
96 \r
97 #endif\r