HP-41 Time Module question



#9

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


#10

Execute the CLOCK command to display the time continuously!

Namir

#11

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

#12

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


#13

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.


#14

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


#15

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

#16

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


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 914 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 1,080 12-05-2013, 02:40 AM
Last Post: Hans Brueggemann
  HP-41 module covers and side port cover Nate Martin 1 287 12-02-2013, 01:51 AM
Last Post: Giancarlo
  [HP Prime]How to get Discrete-Time Fourier Transform uklo 0 325 11-18-2013, 08:02 PM
Last Post: uklo
  Non-Prime question alert: Hp-41 and synthetic instructions Marcel Samek 11 792 11-04-2013, 09:31 PM
Last Post: sjthomas
  Date/time formats R. Pienne 4 451 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 461 10-29-2013, 09:32 PM
Last Post: FORTIN Pascal
  Prime: Exam mode (possible duplicate after funny response first time) Paul Townsend (UK) 1 250 10-24-2013, 03:09 PM
Last Post: Tim Wessman
  Date/time programs for the HP 35s R. Pienne 0 222 10-03-2013, 02:37 PM
Last Post: R. Pienne
  Nothing like passing the time away... Eddie W. Shore 2 254 03-21-2013, 08:23 AM
Last Post: Eddie W. Shore

Forum Jump: