home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mega CD-ROM 1
/
megacd_rom_1.zip
/
megacd_rom_1
/
DESQVIEW
/
DVKPOLL.ZIP
/
DVKPOLL.DOC
< prev
next >
Wrap
Text File
|
1988-06-17
|
881b
|
21 lines
This is a shared program which reduces the amount of CPU time used by programs
which poll the keyboard when waiting for input. Simply add DVKPOLL.SHR to the
"Shared Program Pathname" entry on the "Change Program" advanced options
screen, and your other programs will speed up. You will probably also want to
make sure that INT 16 is in the range of interrupts indicated on the advanced
options screen, though the nature of shared programs may make this
unnecessary.
How it works: The shared program installs a small TSR when the window is
opened, and deinstalls the TSR when the window is closed. This TSR intercepts
the polling call, and if no keystroke is available, gives up the rest of the
current timeslice to other programs.
DVKPOLL is hereby released to the public domain.
Ralf Brown
FIDO: 1:129/31
ARPA: ralf@cs.cmu.edu