HP Forums
HP-41 Time Module question - Printable Version

+- HP Forums (https://archived.hpcalc.org/museumforum)
+-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html)
+--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html)
+--- Thread: HP-41 Time Module question (/thread-173333.html)



HP-41 Time Module question - Monte Dalrymple - 10-14-2010

Okay, my head is starting to hurt from all the banging against the wall... Can anyone explain how the "Shift-On" function works to display the time continuously? The code seems to sail right through the "POWOFF" instruction without stopping, and I don't know why. Thanks, Monte


Re: HP-41 Time Module question - Namir - 10-14-2010

Execute the CLOCK command to display the time continuously!

Namir


Re: HP-41 Time Module question - Egan Ford - 10-14-2010

Quote:
Can anyone explain how the "Shift-On" function works to display the time continuously?

You first press and release SHIFT (the solid yellowish key), "SHIFT" should be displayed on the LCD, then you press and release the ON key. Now your 41CX should display the time.

Unsure if this works with Time Module in 41C or CV (I do not have one to test).


Re: HP-41 Time Module question - Jim Horn - 10-14-2010

I believe Monte is trying to figure out how the HP-41 works internally, not how to invoke the clock display.


Re: HP-41 Time Module question - Monte Dalrymple - 10-14-2010

Correct. I can't figure out why the machine doesn't stop with the POWOFF instruction, but continues on to display the time. There must be something I'm missing.


Re: HP-41 Time Module question - PeterP - 10-15-2010

I have not checked the mode but i think there is a polling point called before the execution which could check for the key code Inc of shift key and divert the processor to a different point. For that i would look at the code in the last few addresses of the time module (the bespoke polling points)

I wish i had the time to check it out, it sounds like an interesting thing ti hunt down...

Cheers

Peter


Re: HP-41 Time Module question - Raymond Del Tondo - 10-15-2010

Just follow the TurnOff interrupt vector in the TIME module ROM;-)

I haven't disassembled it, but there is a big chance that this vector is used, and that the code behind starts the clock display routine if the SHIFT key flag was set...

HTH

Raymond


Re: HP-41 Time Module question - Monte Dalrymple - 10-15-2010

Peter,


Thanks, but the polling points are tested while the processor is running. The CPU executes POWOFF to go into light sleep after processing. I couldn't figure out how it started right back up. But after reading the spec for the timer chip (duh... rookie mistake) I figured out that the timer chip drives the ISA bus High, which is one of the wake-up conditions. Sorry for wasting everyone's time.

Monte