TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Mike Bilow
from: Neilen Marais
date: 1996-04-01 20:40:08
subject: About the real time clock and PIT

Hi Mike,

 GVA>> But under OS/2 I get "strange results" I think is because
 GVA>> the kernel switch the process in the CPU (execute more than
 GVA>> a program), so the results are not the expected.

 MB> You get "strange" results because, under OS/2, your program is not
 MB> talking directly to any hardware.  Rather, OS/2 is using a protected
 MB> mode handler located in a virtual device driver (VDD) to trap your
 MB> attempts to access the timer hardware, and the timer is actually
 MB> emulated or "virtualized" in software by the VDD.  As you
can imagine,
 MB> this would more than explain why you are getting results which you
 MB> think are "strange."
Just wondering whether turning on HW_TIMER in the DOS settings would not do
the trick? (if his programme is a DOS programme that is)

Cheers,
        Neilen
[Sysop Jury-Rigged BBS AH]

... Windows UKD: Unexplained Keyboard Destructions
--- FMail 1.0g
* Origin: >Jury Rigged * Cape Town * South Africa< (5:7102/127.6)
SEEN-BY: 50/99 78/0 270/101 620/243 711/401 409 410 413 430 808 809 934 955
SEEN-BY: 712/407 515 517 628 713/888 800/1 7877/2809
@PATH: 7102/127 111 7104/2 270/101 712/515 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.