Post Reply 
50g Random Turn ON
12-07-2016, 09:00 PM
Post: #28
RE: 50g Random Turn ON
I decided that it was a reasonable time to check the 49g+ and 50g I had set aside and left alone for the last 5-6 days to see what their status was. Both calculators had logged a single power-up event occurring, and both events were at times which seemed to coincide with what would be expected for TIMER2 expiring (262144 seconds). I can't be 100% sure, as I didn't note the exact time I turned them off when I started this test. I'll make sure to do that for future ones, or more likely, I'll have the calculators log it appropriately on their own. Smile

(12-07-2016 06:42 AM)Joe Horn Wrote:  But STARTOFF *is* executed every 262144 seconds (if no other interrupts occur in the meantime). The power-up that Wickes is talking about DOES engage the System Outer Loop, and it does turn on the display.

As is usually the case with you, Joe, I'll take you at your word on this one. My own limited testing certainly agrees with what you're saying. This does imply several possibilities, though, given that others are experiencing less-than-predictable results. Some that come to mind:
- Some other interrupt/alarm is occurring on their systems that preempts (and resets) the 262144 second timer reset, and if so, is also not activating or bypassing STARTOFF when it occurs.
- People are using the calculator more often than they think, thereby circumventing the 3 day event.
- Some other software-related issue is occurring in their STARTOFF programs (or elsewhere) that makes it seem like the programs aren't running consistently (ie. beep not activated, etc.).
- An inherent issue in the platform is making the TIMER2 interrupt processing inconsistent.

My own personal experience makes me lean more toward the last item, in that I've already had verified issues with alarms not running consistently. Since the triggering of alarms is very similar to the "timer reset", it makes sense to me that it is a good possibility.

(12-07-2016 06:42 AM)Joe Horn Wrote:  
(12-06-2016 09:23 PM)DavidM Wrote:  - One hour after the last keypress was popped from the key buffer
Never heard of that last one.

That one came from multiple posts on comp.sys.hp48 that I believe were all initially sourced from comments by Dan Kirkland. This one is fairly specific on the topic, but there are other references as well.

(12-07-2016 06:42 AM)Joe Horn Wrote:  It's not a problem. It's a feature. And it's totally predictable: exactly every 262144 seconds, if no other interrupts have occurred.

I feel there's enough anecdotal evidence to question if it is as predictable as it should be, so we will have to agree to disagree on this one. Smile

(12-07-2016 06:42 AM)Joe Horn Wrote:  If your STARTOFF is executed "much more irregular" than every 262144 seconds, then (a) something else is causing interrupts to occur, or (b) there is something in your STARTOFF program that is causing it to exit before the backup is performed, or (c) you have discovered an interesting new bug that involves executing a backup during the execution of STARTOFF.

Or perhaps it's (d): the TIMER2 interrupt doesn't always happen when it should. Sometimes perfect, sometimes late, sometimes not at all, or at least not until some user activity occurs.

In the pre-ARM RPL systems, the system clock was defined as "SysTime = Next_Event - TIMER2", which is why that 3-day NextEvent/TIMER2 reset was needed in the first place. Post-ARM, though, an ARM-specific op-code is used instead: GETTIME (80B11). While I haven't traced through the TIMER2 service routine (and doubt I'd understand it even if I did), I am assuming that it is also different on the ARM systems as a result. Clearly there is still a 2^31 tick timer event, but how those events actually trigger in the ARM environment has to be different -- there's no longer a hardware-driven way to get exactly 8192 decrements to TIMER2 per second. I've never seen any detailed information about the inner workings of timekeeping on the ARM systems, but I know that there are a number of quirks (sub-second adjustments, jittery system time, and alarm problems all come to mind here). It just doesn't seem that far-fetched to think that those differences could result in some of the problems people are experiencing with TIMER2 and STARTOFF consistency.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
50g Random Turn ON - HPfreak - 11-28-2016, 10:21 PM
RE: 50g Random Turn ON - rprosperi - 11-28-2016, 11:38 PM
RE: 50g Random Turn ON - SlideRule - 11-29-2016, 12:31 AM
RE: 50g Random Turn ON - HPfreak - 11-29-2016, 01:31 AM
RE: 50g Random Turn ON - DavidM - 11-29-2016, 02:53 AM
RE: 50g Random Turn ON - rprosperi - 11-29-2016, 03:26 AM
RE: 50g Random Turn ON - DavidM - 11-29-2016, 04:08 AM
RE: 50g Random Turn ON - Thomas Radtke - 11-29-2016, 06:05 PM
RE: 50g Random Turn ON - Han - 11-29-2016, 06:50 PM
RE: 50g Random Turn ON - DavidM - 11-29-2016, 07:35 PM
RE: 50g Random Turn ON - Claudio L. - 12-01-2016, 03:35 AM
RE: 50g Random Turn ON - HrastProgrammer - 12-19-2016, 06:35 AM
RE: 50g Random Turn ON - toml_12953 - 11-30-2016, 04:35 PM
RE: 50g Random Turn ON - TravisE - 12-04-2016, 02:36 AM
RE: 50g Random Turn ON - rprosperi - 12-04-2016, 02:56 AM
RE: 50g Random Turn ON - TravisE - 12-04-2016, 03:30 AM
RE: 50g Random Turn ON - Garth Wilson - 12-04-2016, 04:52 AM
RE: 50g Random Turn ON - TravisE - 12-04-2016, 07:27 AM
RE: 50g Random Turn ON - DavidM - 12-04-2016, 04:05 PM
RE: 50g Random Turn ON - TravisE - 12-05-2016, 08:12 AM
RE: 50g Random Turn ON - Gerald H - 12-04-2016, 06:21 AM
RE: 50g Random Turn ON - Joe Horn - 12-06-2016, 07:43 PM
RE: 50g Random Turn ON - Han - 12-06-2016, 07:51 PM
RE: 50g Random Turn ON - DavidM - 12-06-2016, 09:23 PM
RE: 50g Random Turn ON - Joe Horn - 12-07-2016, 06:42 AM
RE: 50g Random Turn ON - DavidM - 12-07-2016 09:00 PM
RE: 50g Random Turn ON - Joe Horn - 12-08-2016, 05:47 AM
RE: 50g Random Turn ON - DavidM - 12-08-2016, 04:49 PM
RE: 50g Random Turn ON - Joe Horn - 12-08-2016, 05:32 PM
RE: 50g Random Turn ON - DavidM - 12-08-2016, 06:00 PM
RE: 50g Random Turn ON - DavidM - 12-12-2016, 10:26 PM
RE: 50g Random Turn ON - TravisE - 12-07-2016, 12:08 AM
RE: 50g Random Turn ON - Gerald H - 12-07-2016, 06:37 AM
RE: 50g Random Turn ON - TravisE - 12-07-2016, 08:43 AM
RE: 50g Random Turn ON - Gerald H - 12-08-2016, 07:41 AM
RE: 50g Random Turn ON - DavidM - 12-08-2016, 04:58 PM
RE: 50g Random Turn ON - Joe Horn - 12-08-2016, 05:06 PM
RE: 50g Random Turn ON - Gerald H - 12-08-2016, 05:33 PM
RE: 50g Random Turn ON - TravisE - 12-08-2016, 11:04 PM
RE: 50g Random Turn ON - 3298 - 12-09-2016, 11:13 AM
RE: 50g Random Turn ON - Gerald H - 12-14-2016, 11:03 AM
RE: 50g Random Turn ON - DavidM - 12-14-2016, 02:40 PM
RE: 50g Random Turn ON - DavidM - 12-14-2016, 05:43 PM
RE: 50g Random Turn ON - Gerald H - 12-14-2016, 05:03 PM
RE: 50g Random Turn ON - Gerald H - 12-14-2016, 07:00 PM
RE: 50g Random Turn ON - DavidM - 12-19-2016, 05:49 AM
RE: 50g Random Turn ON - Gerald H - 12-23-2016, 04:05 PM
RE: 50g Random Turn ON - DavidM - 12-24-2016, 11:28 PM
RE: 50g Random Turn ON - TravisE - 12-28-2016, 08:19 PM
RE: 50g Random Turn ON - TravisE - 01-01-2017, 09:32 PM
RE: 50g Random Turn ON - rprosperi - 01-02-2017, 03:24 PM
RE: 50g Random Turn ON - HrastProgrammer - 01-15-2017, 06:07 AM
RE: 50g Random Turn ON - DavidM - 03-26-2017, 04:11 PM
RE: 50g Random Turn ON - TravisE - 03-27-2017, 08:00 PM



User(s) browsing this thread: 5 Guest(s)