mirror of
https://github.com/microsoft/MS-DOS.git
synced 2026-06-23 13:17:54 +03:00
34 lines
1.3 KiB
NASM
34 lines
1.3 KiB
NASM
TRUE EQU 0FFFFH
|
|
FALSE EQU NOT TRUE
|
|
|
|
; Use the switches below to produce the standard Microsoft version or the IBM
|
|
; version of the operating system
|
|
MSVER EQU false
|
|
IBM EQU true
|
|
WANG EQU FALSE
|
|
ALTVECT EQU FALSE
|
|
|
|
; Set this switch to cause DOS to move itself to the end of memory
|
|
HIGHMEM EQU FALSE
|
|
|
|
IF IBM
|
|
ESCCH EQU 0 ; character to begin escape seq.
|
|
CANCEL EQU 27
|
|
TOGLINS EQU TRUE ;One key toggles insert mode
|
|
TOGLPRN EQU TRUE ;One key toggles printer echo
|
|
ZEROEXT EQU TRUE
|
|
ELSE
|
|
IF WANG ;Are we assembling for WANG?
|
|
ESCCH EQU 1FH ;Yes. Use 1FH for escape character
|
|
ELSE
|
|
ESCCH EQU 1BH
|
|
ENDIF
|
|
CANCEL EQU "X"-"@" ;Cancel with Ctrl-X
|
|
TOGLINS EQU WANG ;Separate keys for insert mode on
|
|
;and off if not WANG
|
|
TOGLPRN EQU FALSE ;Separate keys for printer echo on
|
|
;and off
|
|
ZEROEXT EQU TRUE
|
|
ENDIF
|
|
|
|
|