; Some modules really want TRUE to be 0FFH.  Best to let them have their way.
	TRUE	   EQU	   0FFFFh
	TRUEBYTE   EQU     0FFh
	FALSE	   EQU	   0

;
; Use the following switches to control cmacros.inc
;
?PLM       equ       0
?WIN       equ       0

memS       EQU     1			; Small model
;
; Use the switches below to produce the standard Microsoft version or the IBM
; version of the operating system
;
; The below chart will indicate how to set the switches to build the various
; versions
;
;                     IBMVER          IBMCOPYRIGHT
; --------------------------------------------------------
;  IBM Version   |     TRUE              TRUE
; --------------------------------------------------------
;  MS Version    |     FALSE             FALSE
; --------------------------------------------------------
;  Clone Version |     TRUE              FALSE
;
IBMVER     EQU     TRUE
IBMCOPYRIGHT EQU   FALSE

BUFFERFLAG	EQU	~ IBMCOPYRIGHT

%ifndef	MSVER	
MSVER      EQU     ~ IBMVER
%endif
IBM	   EQU	   IBMVER
;
;
	%IF IBMVER
	    %IF IBMCOPYRIGHT
              %warning out: ... IBM version build switch on ...
	    %ELSE
	      %warning out: ... CLONE version build switch on ...
	    %ENDIF
	%ELSE
	    %IFN IBMCOPYRIGHT
	      %warning out: ... MS version build switch on ...
	    %ELSE
	      %warning out: !!!!!!!!!  VERSION SWITCHES SET INCORECTLY  !!!!!!!!!
	      %warning out: !!!!!!!!! CHECK SETTINGS IN INC\VERSION.INC !!!!!!!!!
	    %ENDIF
	%ENDIF   
;
;
;***************************************************************************
;*          The following switches are for DBCS or SBCS support            *
;*                                                                         *
;*                     Set INTERNAT EQU TRUE FOR DBCS                      *
;*                     Set INTERNAT EQU FALSE FOR SBCS                     *
;*                                                                         *
;***************************************************************************
;
IBMJAPVER  EQU	   FALSE		;If TRUE set KANJI true also

;
; Switch INTERNAT for DBCS support
;
INTERNAT   EQU	   FALSE
;
	%IF INTERNAT
%ifndef KANJI
KANJI	   EQU	   TRUE
%endif
IBMJAPAN   EQU	   TRUE
	%ELSE
%ifndef KANJI
KANJI	   EQU	   FALSE
%endif
IBMJAPAN   EQU	   FALSE
	%ENDIF

%ifndef altvect				; avoid jerking off vector.inc
ALTVECT    EQU	   FALSE		;Switch to build ALTVECT version
%endif

;
; Country code switches
; The default contry code is assumed as USA.
;
	%IF INTERNAT
 KOREA	   EQU	   TRUE
 JAPAN	   EQU	   FALSE
	%ELSE
 KOREA	   EQU	   FALSE
 JAPAN	   EQU	   FALSE
	%ENDIF
;
		%IF INTERNAT
%warning out: Internat(ECS) version build switch on
		%ENDIF
