![Elo TouchSystems DOS and Windows Driver Disk Скачать руководство пользователя страница 129](http://html1.mh-extra.com/html/elo-touchsystems/dos-and-windows-driver-disk/dos-and-windows-driver-disk_driver-manual_2395587129.webp)
126
Appendix Error! Main Document Only.Error! Main Document Only.7 - MonitorMouse
for DOS Programming Information
S
UBFUNCTION
0 - G
ET
M
ODE AND
O
PTIONS
Subfunction 0 is used to get the current mode, flags, and version number of
MonitorMouse for DOS. In the style of Microsoft mouse programmer's
documentation:
INPUT
OUTPUT
M1%=&H65
M2%=&H65
M2%=0
M3%=flags/mode
M4%=version number
(For other languages, the AX register is M1%, BX is M2%, CX is M3%, and DX
is M4%. The mouse driver is called with an INT 33H instruction.)
On input, M1% is the MonitorMouse for DOS special function number (65 hex),
and M2% is the subfunction number.
On return, the high byte of M4% will contain the major version number and the
low byte the minor version number. The low byte of M3% will contain the current
mode (see -m flag, page 47). The high byte of M3% will have the current flag
settings as follows:
bit 8
&H0100
1 if cursor-on (-c+), 0 otherwise
bit 9
&H0200
1 if beep-on (-b+), 0 otherwise
bit 10
&H0400
1 if active in spawned programs (-s+), 0 otherwise
bit 11
&H0800
1 if active after program terminations (-t+), 0 otherwise
bit 12
&H1000
1 if jump-on (-j+), 0 otherwise
If the subfunction is successful, 65 (hex) is returned in M2%. This can be used to
detect if MonitorMouse for DOS is installed. If only MOUSE.COM is installed,
M2% will not change.
S
UBFUNCTION
1 - S
ET
M
ODE AND
O
PTIONS
Subfunction 1 is used to set the mode and flags. M3% must contain the mode in
the low byte and the flags in the high byte as above.
INPUT
OUTPUT
M1%=&H65
M2%=&H65
M2%=1
M3%=mode/options
As in subfunction 0, if this subfunction is successful, 65 (hex) is returned in
M2%. This can be used to detect if MonitorMouse for DOS is installed. The
following is an example in BASIC:
Содержание DOS and Windows Driver Disk
Страница 1: ...DOS and Windows Driver Guide Version 2 0...
Страница 115: ...112 Appendix Error Main Document Only Error Main Document Only 7 Troubleshooting...
Страница 134: ...133 QGH...