The Museum of HP Calculators

HP Forum Archive 18

[ Return to Index | Top of Index ]

Recalling Last Time Set Time from Time Module
Message #1 Posted by Dan Grelinger on 26 Sept 2008, 4:36 p.m.

It would be advantageous to recall the time that the time module time was last set. In determining an accuracy factor, it would be more accurate to use the formula in the HP-41CX manual to calculate it, rather than have the HP-41 calculate it via the "CORRECT" function, due to the impreciseness of executing CORRECT at the exact 'correct' time. But, you have to know when the last time the Time was set. It's a shame that you have to write this down when the Timer Module is keeping track of it.

I read a little bit, and found that it is stored in Timer scratch register A. Of course, it would take an M-code routine to get it. Has anyone done this? I've examined a few M-code routines in the past, but never written one. I'd rather not re-invent if possible. Maybe there is a subroutine call in the Time Module code that would help get it out...

Thanks!

Dan

      
Re: Recalling Last Time Set Time from Time Module
Message #2 Posted by Jeff Davis on 26 Sept 2008, 4:59 p.m.,
in response to message #1 by Dan Grelinger

Dan, Can you pull this information using Synthetic programming? Just a thought.

            
Re: Recalling Last Time Set Time from Time Module
Message #3 Posted by Dan Grelinger on 27 Sept 2008, 12:13 a.m.,
in response to message #2 by Jeff Davis

No, I don't think so. I have actually written sythetic programs, they are a snap compared to M-code. Since the register is at the hardware level, deep inside the time module, there is no way to get at it except through M-code.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall