display.sys(CMD) 19 June 1992 display.sys(CMD) Name display.sys - support code-page switching for the console 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 code-page switching is not enabled for these de- vices. hwcp Specifies the number of the code page that your hardware sup- ports. The following list shows the code pages that MS-DOS sup- ports 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 n Specifies the number of code pages the hardware can support in addition to the primary code page specified for the hwcp parame- ter. 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. Notes Using DISPLAY.SYS with monochrome or CGA display adapters Because monochrome and CGA display adapters do not support code-page 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. Other- wise, the third-party device driver may disable DISPLAY.SYS. Example Suppose you want DISPLAY.SYS to support an EGA display adapter with a United States code page and the potential for two or more code pages without subfonts. 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)