? DM42 as Alarm Clock ?

Contributions to this software library are always welcome. Please ensure that you post program listings rather than .raw files. They give a reasonable idea of what your program does without having to load them into a DM42 and you can also include comments in your code. Check out the following link for a decoder/encoder: http://www.swissmicros.com/dm42/decoder/

You can then copy/paste the listing and post it in "code" tags.
Boub65
Posts: 77
Joined: Tue Sep 12, 2017 2:34 pm
Location: Rabat, Morocco

Re: ? DM42 as Alarm Clock ?

Post by Boub65 » Fri Sep 13, 2019 10:54 am

Hello,
1) I understand that Free42 has some instructions enhancements to the standard HP42s instruction set (date and time, base enhancements, LSTO local variables, etc...)
2) I understand that Free42 has some platform dependent instructions (accelerometer, GPS and compas)

so...

I really don't understand why Free42 couldn't support 1) Alarm instructions enhancement to HP42s AND 2) DM42 plateform dependent instructions ?
Sorry... but I really don't understand...
EDIT: except if it is technically impossible...

Boubker.
2xDM15L, DM41L, DM42 SN#00855
TI-89 titanium, CASIO fx-cg50 (to play with micropython)

Thomas Okken
Posts: 600
Joined: Tue May 02, 2017 3:48 pm
Location: New Jersey, USA
Contact:

Re: ? DM42 as Alarm Clock ?

Post by Thomas Okken » Fri Sep 13, 2019 12:01 pm

It is impossible, because Free42 is just an app. It doesn't control the hardware.

On an HP-41C with a Time Module, or an HP-41CX, or a hypothetical DM42 with updated firmware, an alarm can turn on the calculator. Applications running on Windows, MacOS, or Linux have no such capability. Apps running on Android or iOS may be able to set alarms through those platforms' native calendar or alarm clock features, but still wouldn't be able to schedule programs for execution.

These limitations explain most of the Time Module functionality that is missing in Free42. The rest has to do with setting and calibrating the clock, which is impossible and unnecessary, respectively, on the platforms Free42 supports.

The DM42 doesn't have these limitations, and there is no reason why the full set of HP-82182A or HP-41CX alarm and clock functionality couldn't be implemented there, but if that is going to happen, it will have to be done by SwissMicros themselves, or by a contributor working specifically to target the DM42 platform.

The one piece of missing time functionality that I might still implement in Free42 is the stopwatch. Maybe after all the dust has settled from the latest round of changes...

rprosperi
Posts: 483
Joined: Mon Apr 24, 2017 5:48 pm
Location: New York

Re: ? DM42 as Alarm Clock ?

Post by rprosperi » Fri Sep 13, 2019 12:34 pm

akaTB wrote:
Fri Sep 13, 2019 9:51 am
Geoff Quickfall wrote:
Fri Sep 13, 2019 6:18 am
The alarm function not the HP41 was really for HPIL control. Set flag 11, turn off calc and when alarm wakes calc up, execute resident program.

Mine woke up, turned off some lab equipment and turned some on back in the early 80s via HPIL.

42s was not a controller; no HPIL, so no need to implement time functions (reduced budget interfered with the HP42 S design) also.

Alarm made a comeback in the stretch pioneers of course.

Yes, I would like to see alarm functions implemented.

Cheers, Geoff
But they were present in 27S and 17B, I think.
Yep, and also the 18C/19B/19BII, but that could be what Geoff called the stretch (not sure if he meant the Charlemagne or Champion series, they both sorta stretch in different ways). But NOT in the 28C and 28S, somewhat oddly...
--bob p

DM42: β00071 & 00282

Dani R.
Posts: 162
Joined: Fri May 05, 2017 8:23 pm

Re: ? DM42 as Alarm Clock ?

Post by Dani R. » Fri Sep 13, 2019 12:50 pm

Thomas Okken wrote:
Fri Sep 13, 2019 12:01 pm
...

The DM42 doesn't have these limitations, and there is no reason why the full set of HP-82182A or HP-41CX alarm and clock functionality couldn't be implemented there, but if that is going to happen, it will have to be done by SwissMicros themselves, or by a contributor working specifically to target the DM42 platform.

...
I see it the same way. David would have to build in the basics so that ALMCAT and XYZALM can be supported. Who then should make the GUI and the integration in Free42-DM42 is not clear to me either.

Especially on the DM42 the function would make sense, on all other platforms I don't miss it at all. There I have e.g. V41. Besides, I also have the DM-41...
DM42 SN:00032

User avatar
akaTB
Posts: 275
Joined: Tue May 02, 2017 11:56 am

Re: ? DM42 as Alarm Clock ?

Post by akaTB » Fri Sep 13, 2019 12:57 pm

rprosperi wrote:
Fri Sep 13, 2019 12:34 pm
akaTB wrote:
Fri Sep 13, 2019 9:51 am

But they were present in 27S and 17B, I think.
Yep, and also the 18C/19B/19BII, but that could be what Geoff called the stretch (not sure if he meant the Charlemagne or Champion series, they both sorta stretch in different ways). But NOT in the 28C and 28S, somewhat oddly...
Stretched Pioneers are Charlemagne series. And I limited my comment to the 42s' siblings... ;)
Greetings,
    Massimo

-+×÷left is right and right is wrong :twisted:

Boub65
Posts: 77
Joined: Tue Sep 12, 2017 2:34 pm
Location: Rabat, Morocco

Re: ? DM42 as Alarm Clock ?

Post by Boub65 » Fri Sep 13, 2019 1:12 pm

1) Alarms can wake up the calc.
2) The calc (once waken up) can check if an alarm is due and then launch the adhoc subroutine, and if an alarm is not due set watchdog for the next alarm
3) go to 1) if cacl is put off before watchdog did trigger

No?
2xDM15L, DM41L, DM42 SN#00855
TI-89 titanium, CASIO fx-cg50 (to play with micropython)

Geoff Quickfall
Posts: 213
Joined: Wed May 24, 2017 8:44 pm
Location: Vancouver Canada
Contact:

Re: ? DM42 as Alarm Clock ?

Post by Geoff Quickfall » Fri Sep 13, 2019 6:35 pm

Stretch Pioneers are the 48s and g series. They look like a stretched pioneer. The 18C and etc were clamshells but all were the RPL family including the 48.

Cheers.

Back to the alarm even if it is not xyzalarm. There is a single RTC as Thomas mentions so this would seem to be a software problem not a hardware problem as with the apps which reside on boards with many timed interrupts for many apps.

Geoff

Remember, these guys are also supporting all the other Swiss micro products, not just the 42!

I am torn at work between the DM42s, the Panamatik LP29C, Monty’s 41CL, and etc!

Which to take to the flight deck? No body dares touch them as there is no equals key!

Geoff

Post Reply