Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
DISPLAY.SYS
◄Notes► ◄Example►
────────────────────────────────────────────────────────────────────────────
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
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 and EGA3.CPI
files. For more information, see the COUNTRY.TXT file (located in the
directory that contains your MS-DOS files).
For more information about using character sets, see the appendix
"Keyboard Layouts and Character Sets" in the MS-DOS 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.
♦