TZ

Paul Ratcliffe pmmail@rpglink.com
Fri, 07 Apr 2000 21:29:19 +0100 (BST)


On Tue, 21 Mar 2000 13:49:25 -0400 (AST), Trevor Smith wrote:

>OK, here's a question. As I understand it, most OS/2 programs are not
>allowed to access the hardware directly, right? So none of these apps
>are directly querying the RTC are they? There must be *some* low
>level service provided by the OS/2 kernel or something that is
>actually querying the RTC, no?

The application calls the DosGetDateTime() API which goes into either 
the Kernel or DOSCALLS.DLL (I can't remember and it is irrelevant to 
the point), which then makes a call to the clock device driver which 
talks to the hardware to read the RTC.