summaryrefslogtreecommitdiff
path: root/v4.0/src/INC/VERSION.INC
diff options
context:
space:
mode:
Diffstat (limited to 'v4.0/src/INC/VERSION.INC')
-rw-r--r--v4.0/src/INC/VERSION.INC106
1 files changed, 106 insertions, 0 deletions
diff --git a/v4.0/src/INC/VERSION.INC b/v4.0/src/INC/VERSION.INC
new file mode 100644
index 0000000..eb90e2a
--- /dev/null
+++ b/v4.0/src/INC/VERSION.INC
@@ -0,0 +1,106 @@
1; Some modules really want TRUE to be 0FFH. Best to let them have their way.
2ifndef TRUE
3 TRUE EQU 0FFFFh
4endif
5ifndef TRUEBYTE
6 TRUEBYTE EQU 0FFh
7endif
8ifndef FALSE
9 FALSE EQU 0
10endif
11
12;
13; Use the following switches to control cmacros.inc
14;
15?PLM = 0
16?WIN = 0
17
18memS EQU 1 ; Small model
19;
20; Use the switches below to produce the standard Microsoft version or the IBM
21; version of the operating system
22;
23; The below chart will indicate how to set the switches to build the various
24; versions
25;
26; IBMVER IBMCOPYRIGHT
27; --------------------------------------------------------
28; IBM Version | TRUE TRUE
29; --------------------------------------------------------
30; MS Version | FALSE FALSE
31; --------------------------------------------------------
32; Clone Version | TRUE FALSE
33;
34IBMVER EQU TRUE
35IBMCOPYRIGHT EQU FALSE
36
37BUFFERFLAG EQU NOT IBMCOPYRIGHT
38
39ifndef MSVER
40MSVER EQU NOT IBMVER
41endif
42IBM EQU IBMVER
43;
44;
45 IF1
46 IF IBMVER
47 IF IBMCOPYRIGHT
48 %OUT ... IBM version build switch on ...
49 ELSE
50 %OUT ... CLONE version build switch on ...
51 ENDIF
52 ELSE
53 IF NOT IBMCOPYRIGHT
54 %OUT ... MS version build switch on ...
55 ELSE
56 %OUT !!!!!!!!! VERSION SWITCHES SET INCORECTLY !!!!!!!!!
57 %OUT !!!!!!!!! CHECK SETTINGS IN INC\VERSION.INC !!!!!!!!!
58 ENDIF
59 ENDIF
60 ENDIF
61;
62;
63;***************************************************************************
64;* The following switches are for DBCS or SBCS support *
65;* *
66;* Set INTERNAT EQU TRUE FOR DBCS *
67;* Set INTERNAT EQU FALSE FOR SBCS *
68;* *
69;***************************************************************************
70;
71IBMJAPVER EQU FALSE ;If TRUE set KANJI true also
72
73;
74; Switch INTERNAT for DBCS support
75;
76INTERNAT EQU FALSE
77;
78 IF INTERNAT
79KANJI EQU TRUE
80IBMJAPAN EQU TRUE
81 ELSE
82KANJI EQU FALSE
83IBMJAPAN EQU FALSE
84 ENDIF
85
86ifndef altvect ; avoid jerking off vector.inc
87ALTVECT EQU FALSE ;Switch to build ALTVECT version
88endif
89
90;
91; Country code switches
92; The default contry code is assumed as USA.
93;
94 IF INTERNAT
95 KOREA EQU TRUE
96 JAPAN EQU FALSE
97 ELSE
98 KOREA EQU FALSE
99 JAPAN EQU FALSE
100 ENDIF
101;
102 IF1
103 IF INTERNAT
104%OUT Internat(ECS) version build switch on
105 ENDIF
106 ENDIF