1 // Cut this out as emmsize.h
\r
4 * Module: All Modules
\r
5 * Author(s): Chris Somers
\r
10 #ifndef _EMMSIZES_DEF
\r
11 #define _EMMSIZES_DEF 1
\r
14 /* Module size constants */
\r
16 #define MAXACTIONS 29
\r
17 #define MAXCHANNELS 4
\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
30 #define MAXUTSSCRNS 2
\r
32 #define MAXUTSSCRNS 0
\r
35 #define MAXCAPTURE 1
\r
37 #define MAXCAPTURE 0
\r
40 #define MAXTCPDSCPTITEMS 16 /*max # of TCP connections*/
\r
42 #define FREEBUFF 1 /* CallIODevice flag for BuffSize arrays */
\r
43 #define DSCONLY 2 /* allocate a BufDscpt, only - no buffer */
\r
45 #define EMMPAGESIZE 0x4000 /* 16K EMM page size */
\r
50 #define TITLELEN 128
\r
52 #define COMMENTLEN 65
\r
55 #define PRNBUFSIZ 2048
\r
56 #define TXTSCRNSIZE 4096
\r
57 #define UTSBUFSIZ 4096
\r
58 #define UTSSCRNSIZ 1920
\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
66 #define SCALE_QUART 3 /* value must not change */
\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
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
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