Home
What's New
Projects
Request for Info
Olddos

CONTENTS

What's New Link 

What's New
Description of the latest information on the site

 
 

Projects Link 

Projects
The latest projects as well as summaries of past projects

 
 
 
 
Oldcmds

Command Name:

DISPLAY.SYS

 

DISPLAY.SYS

Detailed Command Description

Detailed Command Description

DISPLAY.SYS
Enables you to display international character sets on EGA, VGA, and LCD
monitors. This device driver must be loaded by a DEVICE or DEVICEHIGH
command in your CONFIG.SYS file.
For an introduction to preparing your screen and keyboard for character
sets, see the chapter "Customizing for International Use" in the MS-DOS 6
User's Guide.
Syntax
DEVICE=[drive:][path]DISPLAY.SYS CON[:]=(type[,[hwcp][,n]])
DEVICE=[drive:][path]DISPLAY.SYS CON[:]=(type[,[hwcp][,(n,m)]])
Parameters
[drive:][path]
Specifies the location of the DISPLAY.SYS file.
type
Specifies the display adapter in use. Valid values include EGA and LCD.
The EGA value supports both EGA and VGA display adapters. If you omit
the type parameter, DISPLAY.SYS checks the hardware to determine which
display adapter is in use. You can also specify CGA and MONO as values
for type, but they have no effect because character set switching is not
enabled for these devices.
hwcp
Specifies the number of the character set that your hardware supports.
The following list shows the character sets that MS-DOS supports and the
country or language for each:
437 United States
850 Multilingual (Latin I)
852 Slavic (Latin II)
860 Portuguese
863 Canadian-French
865 Nordic
Additional character sets are supported by the EGA2.CPI file. For more
information, see the README.TXT file.
For more information about using character sets, see the appendix
"Keyboard Layouts and Character Sets" in the MS-DOS 6 User's Guide.
n
Specifies the number of character sets the hardware can support in
addition to the primary character set specified for the hwcp parameter.
Valid values for n are in the range 0 through 6. This value depends on
your hardware. For EGA display adapters, the maximum value for n is 6;
for LCD display adapters, the maximum value for n is 1.
m
Specifies the number of subfonts the hardware supports for each code
page. The default value is 2 if type is EGA, and 1 if type is LCD.
DISPLAY.SYS--Notes
Using DISPLAY.SYS with monochrome or CGA display adapters
Because monochrome and CGA display adapters do not support character set
switching, using DISPLAY.SYS with either type of adapter has no effect.
Installing a third-party console driver
If you install both DISPLAY.SYS and a third-party console driver, such as
VT52.SYS, the third-party device driver must be installed first. Otherwise,
the third-party device driver may disable DISPLAY.SYS.
DISPLAY.SYS--Example
Suppose you want DISPLAY.SYS to support an EGA display adapter with the
United States hardware character set (437) and the potential for two
additional MS-DOS character sets. To do this and to specify that DISPLAY.SYS
is in the DOS directory on drive C, add the following line to your
CONFIG.SYS file:
device=c:\dos\display.sys con=(ega,437,2)

[Home] [What's New] [Projects] [Request for Info] [Olddos]

Contact CustomCodeInc@yahoo.com with comments or questions regarding this site. 
© Copyright,
Custom Code,Inc., All rights reserved.