Dec 112017
 
DesqView utility to reduce polling time.
File DVKPOLL.ZIP from The Programmer’s Corner in
Category Alternate Operating Systems
DesqView utility to reduce polling time.
File Name File Size Zip Size Zip Type
DVKPOLL.DOC 881 488 deflated
DVKPOLL.SHR 111 109 deflated
TPCREAD.ME 199 165 deflated

Download File DVKPOLL.ZIP Here

Contents of the DVKPOLL.DOC file


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: [email protected]



 December 11, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)