HP49G IF-structure bug?



#15

I'm currently using an HP49G with ROM version 1.18 (afaik, the last "supported" version) which seems to have a serious bug with "IF THEN (ELSE) END" structure: When I'm trying to use short cuts (usual LEFT- or RIGHT SHIFT with IF) with the IF-structure soft-key to obtain the "IF THEN (ELSE) END" sequence at once, the machine will stall with the busy annunciator active and a "3:" at the right lower part of the display (stack level 1). The same may happen even if working without any short cut if the structure words are not typed in in sequence one after the other (but are "interrupted" by any commands as you normally would work) ... hope, you know what I'm talking about ;-) Thus, the only work-around seems to be to press soft key IF, THEN, (ELSE), END by soft key, one after the other in ADVANCE and subsequently fill in the if-sequence, then-(else-) sequence. Does anyone know more about this?

Juergen


#16

Works normally for me with both 1.18 and 1.19-6.

You don't happen to have anything assigned to these keys do you?

Any libraries loaded? If so, then try holding down the backspace key while warmstarting to keep any library configuration routine from being executed and see if that cures it.

Regards,
James


#17

> You don't happen to have anything assigned to these keys do you?

No, I'm almost sure that nothing's assigned to the keys, but I'll double check that tonight (I haven't the machine at hand right now).

> Any libraries loaded? If so, then try holding down the backspace key while warmstarting to keep any library configuration routine from being executed and see if that cures it.

There's indeed a library loaded (Periodic table). I bought the machine 2nd hand as it's alas no longer available "officially" here :-( so that I'm not really aware about what the library's doing in detail. I'll try to avoid lib-config-routine execution at warmstart too.

Thanks a lot for your valuable input!

Regards, Juergen

#18

James, JFYI the "remedies" you suggested didn't work: RCLKEYS gives {S}, so no assignments. I even purged all existing libraries. I guess, the FlashRom has got corrupted somehow ... if you have any other ideas, they'd be appreciated, of course :-) Thanks for your help anyway.

Juergen


#19

Hello, Jurgen;

a few weeks ago someone at this forum posted a message about another problem related to the HP49G behavior, but in his case, O.S. version was earlier than the one installed in yours. Mine runs with 1.19-5 and runs fine.

What is the sequence you use to call the PRGM menu to the top key roll? If I use 23 MENU [ENTER] and press [left-shift][IF] or [right-shift][IF} I get one of both IF-THEN-(ELSE)-END structures.

Aren't you willing to upgrade just for checking pourposes? If not, don't you consider reloadind current installed O.S.? If it is data corruption, reloading may solve the problem. I'd also try another copy.

BTW, did you observe this behavior before? I mean, have any idea of any particular alteration/addition/removal before the symptoms being observed? It might help further analysis.

Best regards.

Luiz C. Vieira - Brazil


#20

Hi Luiz!

>What is the sequence you use to call the PRGM menu to the top key roll? If I use 23 MENU [ENTER] and press [left-shift][IF] or [right-shift][IF} I get one of both IF-THEN-(ELSE)-END structures.

I'm using here [left-shift] PRG BRCH IF to get there (I'll try 23 MENU [ENTER] tonight). Then I encounter either of the following phenomenons:

1. [left-shift] [IF] returns IF THEN END ok. But subsequently pressing [left-shift] [IF] (e.g. in order to insert an IF THEN END after the 1st IF) stalls the machine.

2. [right-shift] [IF] returns IF THEN ELSE END but stalls the machine immediately.

> Aren't you willing to upgrade just for checking pourposes? If not, don't you consider reloadind current installed O.S.? If it is data corruption, reloading may solve the problem. I'd also try another copy.

It has just been curiosity if there's some sort of bug in OS 1.18 ...

> BTW, did you observe this behavior before? I mean, have any idea of any particular alteration/addition/removal before the symptoms being observed? It might help further analysis.

Well, I've just started to use this HP49G which I bought 2nd hand. So, I can't tell what the previous owner did with it (except of loading 2 libs that I purged lately). Anyway, I'm currently enjoying the excellent Trigonometry-, ComplexNumbers- and SequencesSeriesLimits-Marathons of Nick (can't remind his complicated, long greek name)-- b.t.w., an absolutely incredible work that the guy did here. I have had some problems to follow the course due to missing commands with OS 1.18 and so I'm indeed planning to upgrade to 1.19-5 soon anyway. However, thank you very much for your help!

Best Wishes and a have Nice Weekend :-) Juergen


#21

Hi Juergen,

It sure sounds strange. I expect that if Revision 1.18 had this bug,
then I would've read about it long ago, and besides, I have a 49G with
revision 1.18 that gives me IF THEN END for LeftShift IF and IF THEN
ELSE END for RightShift IF (where the IF key pressed is the sub-menu
key), and I can fill in the blanks just fine. I even tried two
consecutive LeftShift IF presses (it is plausible that a bug in that
case may have gone unnoticed), and that also worked as it should.

I agree with Luiz that the next thing to try would be to re-install the
"ROM", but I'd skip 1.19-5 and upgrade to 1.19-6 instead. You can get it
at http://www.epita.fr/~avenar_j/hp/49.html or somewhere on
http://www.hpcalc.org/. Lots of other good stuff on hpcalc.org
too.

By the way, you may want to look into the CASE structure as a
replacement for nested IF structures.

Regards,
James


#22

Hi, James;

are you using 1.19-6 O.S. version? As it is available at Avenar's homepage, no doubts about stability, so there's no need to ask... ;^)

I am using 1.19-5 since it was available and I must confess I did not try 1.19-6 because I was just lazy enough to install it... |^(

Thanks for your support on trying it. I'll do it this very weekend.

Best regards.

Luiz C. Vieira - Brazil


#23

I've been using 1.19-6 since shortly after it became available. See
JYA's page for a list of changes, additional features, and bug fixes.

In my opinion, it's the stablest and generally "best" 49G ROM so far,
and the general consensus on comp.sys.hp48 seems to be the same.

Regards,
James


#24

Hi;

this is to let you know I have already updated my HP49G's O.S. to 1.19-6 version. I did not use any "suspicious" resources, but all data that what was already stored in the calculator (as all programs and libraries) prevailed.

Thank you again, James.

And Juergen: now I can say I recomend based on my own experience.

Success.

Luiz C. Vieira - brazil


#25

Thanks for the message and encouragement, Luiz! As mentioned, I'll follow you and will update my OS most probably on the upcoming Easter weekend ... well, at least, I hope so: You know, Holidays often turn out to be very preoccupying ;-)

Juergen

#26

... and am looking forward to install 1.19-6 :-) Thanks for the link, James and - as Luiz said - for the testing of 1.19-6!

Juergen


#27

...if you have success. I believe everyone in here looks forward for anyone's successfull results.

Best regards.

Luiz C. Vieira - Brazil


#28

> ...if you have success. I believe everyone in here looks forward for anyone's successfull results

... and that's why I always feel surrounded by friends when entering this forum :-) Btw, I've already downloaded all the necessary files for 1.19-6 from Jean Yves' site and do plan to upgrade on Easter weekend (hopefully I will have the time). I let you know when I'm done with it ...

Best Wishes, Juergen


Possibly Related Threads...
Thread Author Replies Views Last Post
  Directory Structure,if any, on the Prime Harold A Climer 9 925 10-07-2013, 11:08 PM
Last Post: Helge Gabert
  Data Structure on a 12C/CP -- sorting, median Katie Wasserman 2 449 06-17-2006, 05:53 PM
Last Post: tony(nz)
  HP49G+ and HP49G compatibility Les Wright 17 1,664 06-02-2006, 08:23 PM
Last Post: James M. Prange (Michigan)
  hp49g+ bug? Combinations, sums, and equivalence Eddie Shore 6 715 03-15-2005, 07:56 AM
Last Post: Veli-Pekka Nousiainen
  HP49G and HP49G+ emualtor Harry 4 667 12-05-2004, 09:11 PM
Last Post: Vieira, Luiz C. (Brazil)
  HP49G+ Bug? Eddie Shore 1 357 08-11-2004, 02:40 AM
Last Post: Vieira, Luiz C. (Brazil)
  HP17BII memory structure Tizedes Csaba ICQ#347034200 2 443 01-19-2004, 11:49 PM
Last Post: Les Bell [Sydney]
  HP49G+ vs. HP49G, pausing F. Casanellas 6 812 09-20-2003, 11:35 PM
Last Post: Ed Look
  Re: TDS structure analysis card manual Frank Travis 0 285 12-10-2001, 12:05 PM
Last Post: Frank Travis

Forum Jump: