dfssd

MS-DOS Device Drivers
April 1998
—————————————–
(c) Copyright Microsoft Corporation, 1998
This document provides complementary or late-breaking
information to supplement the Microsoft Windows 98
documentation.


————————
How to Use This Document
————————
To view Msdosdrv.txt on-screen in Notepad, maximize
the Notepad window.

We Will Write a Custom Essay Specifically
For You For Only $13.90/page!


order now


To print Msdosdrv.txt, open it in Notepad or another
word processor, and then on the File menu, click Print.


In syntax lines, except where noted, lowercase text
signifies replaceable parameters and uppercase text
signifies text that must be typed as it appears.


NOTE: The Config.txt file contains more Help for MS-DOS
commands. In addition, you can type the name of the
command at the command prompt, followed by a slash and
question mark (/?). For example: CHKDSK /?
If you have the Windows 98 CD, you can get additional
help on MS-DOS commands, including syntax and examples.
You can load the MS-DOS 6.0 help file by browsing the
oolsoldmsdos folder, and then clicking Help.


——–
CONTENTS
——–
ANSI.SYS
DBLBUFF.SYS – DOUBLE BUFFERING
DISPLAY.SYS
DRVSPACE.SYS, DBLSPACE.SYS
EMM386.EXE
HIMEM.SYS
RAMDRIVE.SYS
SETVER.EXE
————————————
ANSI.SYS
=========
NOTE: In this section, uppercase letters in syntax
and ANSI escape sequences indicate text you must type
exactly as it appears.


ANSI.SYS defines functions that change display graphics,
controls cursor movement, and reassigns keys. The
ANSI.SYS device driver supports ANSI terminal emulation
of escape sequences to control your system’s screen and
keyboard.


This device driver must be loaded by a DEVICE or
DEVICEHIGH command in your CONFIG.SYS file.


Syntax
DEVICE=drive:pathANSI.SYS /X /K /R
Parameter
drive:path
Specifies the location of the ANSI.SYS file.


Switches
/X
Remaps extended keys independently on 101-key
keyboards.


/K
Causes ANSI.SYS to treat a 101-key keyboard like
an 84-key keyboard. It is equivalent to the command
SWITCHES=/K. If you usually use the SWITCHES=/K
command, you will need to use the /K switch with
ANSI.SYS.


/R
Adjusts line scrolling to improve readability when
ANSI.SYS is used with screen-reading programs (which
make computers more accessible to people with
disabilities).


Parameters used in ANSI escape sequences:
Pn
Numeric parameter. Specifies a decimal number.


Ps
Selective parameter. Specifies a decimal number
that you use to select a function. You can specify
more than one function by separating the parameters
with semicolons (;).


PL
Line parameter. Specifies a decimal number that
represents one of the lines on your screen or on
another device.


Pc
Column parameter. Specifies a decimal number that
represents one of the columns on your screen or on
another device.


ANSI escape sequences for cursor movement, graphics, and
keyboard settings:
In the following list of ANSI escape sequences, the
abbreviation ESC represents the ASCII escape character
27 (1Bh), which appears at the beginning of each escape
sequence.


ESCPL;PcH
Cursor Position: Moves the cursor to the specified
position (coordinates). If you do not specify a
position, the cursor moves to the home position–the
upper-left corner of the screen (line 0, column 0).
This escape sequence works the same way as the following
Cursor Position escape sequence.


ESCPL;Pcf
Cursor Position: Works the same way as the preceding
Cursor Position escape sequence.


ESCPnA
Cursor Up: Moves the cursor up by the specified number
of lines without changing columns. If the cursor is
already on the top line, ANSI.SYS ignores this sequence.


ESCPnB
Cursor Down: Moves the cursor down by the specified
number of lines without changing columns. If the cursor
is already on the bottom line, ANSI.SYS ignores this
sequence.


ESCPnC
Cursor Forward: Moves the cursor forward by the
specified number of columns without changing lines.
If the cursor is already in the far right column,
ANSI.SYS ignores this sequence.


ESCPnD
Cursor Backward: Moves the cursor backward by the
specified number of columns without changing lines. If
the cursor is already in the far left column, ANSI.SYS
ignores this sequence.


ESCs
Save Cursor Position: Saves the current cursor position.
You can move the cursor to the saved cursor position by
using the Restore Cursor Position sequence.


ESCu
Restore Cursor Position: Returns the cursor to the
position stored by the Save Cursor Position sequence.


ESC2J
Erase Display: Clears the screen and moves the cursor
to the home position (line 0, column 0).


ESCK
Erase Line: Clears all characters from the cursor
position to the end of the line (including the character
located at the cursor position).


ESCPs;…;Psm
Set Graphics Mode: Calls the graphics functions specified
by the following values. These specified functions remain
active until the next occurrence of this escape sequence.
Graphics mode changes the colors and attributes of text
(such as bold and underline) displayed on the screen.


Text attributes
ValueFunction
————————————
0All attributes off
1Bold on
4Underscore (on monochrome display adapter only)
5Blink on
7Reverse video on
8Concealed on
Foreground colors
ValueFunction
————————————
30Black
31Red
32Green
33Yellow
34Blue
35Magenta
36Cyan
37White