HP-41 Time Module question


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


Execute the CLOCK command to display the time continuously!



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).


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


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.


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...





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.



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...



Possibly Related Threads...
Thread Author Replies Views Last Post
  Reasonable price for a 41C, Quad Mem, Time, Navigation and Card reader module? Eelco Rouw 10 3,523 12-12-2013, 01:52 AM
Last Post: Eelco Rouw
  HP-41(CL): The easiest way to transfer FOCAL programs from a Linux PC to the HP-41 Geir Isene 13 4,113 12-05-2013, 02:40 AM
Last Post: Hans Brueggemann
  HP-41 module covers and side port cover Nate Martin 1 1,155 12-02-2013, 01:51 AM
Last Post: Giancarlo
  [HP Prime]How to get Discrete-Time Fourier Transform uklo 0 1,092 11-18-2013, 08:02 PM
Last Post: uklo
  Non-Prime question alert: Hp-41 and synthetic instructions Marcel Samek 11 2,816 11-04-2013, 09:31 PM
Last Post: sjthomas
  Date/time formats R. Pienne 4 1,733 11-01-2013, 12:43 PM
Last Post: Marcus von Cube, Germany
  How to set the Date.Time etc on a WP34S Harold A Climer 4 1,499 10-29-2013, 09:32 PM
Last Post: FORTIN Pascal
  Prime: Exam mode (possible duplicate after funny response first time) Paul Townsend (UK) 1 1,126 10-24-2013, 03:09 PM
Last Post: Tim Wessman
  Date/time programs for the HP 35s R. Pienne 0 834 10-03-2013, 02:37 PM
Last Post: R. Pienne
  Nothing like passing the time away... Eddie W. Shore 2 1,071 03-21-2013, 08:23 AM
Last Post: Eddie W. Shore

Forum Jump: