| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Detecting the clock has been altere |
Hello Peter Replying to a message of Peter Fitzsimmons to Alan Clifford: AC>> I want to automatically detect if the clock has changed. Under Dos I AC>> am thinking about a TSR that hooks the interrupt that updates the AC>> RTC. I suspect that if I ran this in an OS/2 Dos session, the AC>> operating system would just fall about laughing! So I need an OS/2 AC>> text mode program that detects the clock has been changed and I AC>> don't have a clue where to start. PF> Installing a hook in a TSR (or someting similar under OS/2) strikes me PF> as a big waste of CPU cycles -- all day long -- why don't you just PF> set the clock each time you get mail, whether you need to or not? I was looking for something passive. I was under the impression that the interrupt under Dos (1Ah, 03h) just sits there until something calls it. But I tend to agree with your sentiments. The idea came about because at a Psion meeting, someone asked if anyone had managed to set the Psion clock from the PC and my son said that I had. I had a conversation with the bloke via email and he suggested the desirability of setting the Psion clock when the PC clock changed after a mail session. So I got to thinking about a scenario where you plug your connecting lead into the Psion, it interogates the PC program to see if the PC clock has been recently corrected and then updates its own clock from the PC. Personally, I just, occasionally, set my watch from the radio time signal and set my PC from that. Alan --- FleetStreet 1.14 NR* Origin: Alan's Point on Donor/2 (alanc{at}donor2.demon.co.uk) (2:440/4.6) SEEN-BY: 50/99 270/101 620/243 625/100 711/401 409 410 413 430 808 809 934 SEEN-BY: 711/955 712/407 515 517 628 713/888 800/1 @PATH: 440/4 141/209 270/101 712/515 711/808 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™.