HP Forums
Fun things found by running strings on the 39gII emulator - Printable Version

+- HP Forums (https://archived.hpcalc.org/museumforum)
+-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html)
+--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html)
+--- Thread: Fun things found by running strings on the 39gII emulator (/thread-243370.html)



Fun things found by running strings on the 39gII emulator - bhtooefr - 05-11-2013

It looks like none of this actually works, but...

D$,RPN
D$ WRPN
Probably just a coincidence, I mean, there's other stuff that looks like that and has other characters that appear to mean nothing.

RPN loop
Boucle en mode RPN
Um... what... (This is in what appears to be a list of commands with their associated English and French descriptions, and there's no actual associated command here, it seems (although I need to look closer.))

rpn()
RPN mode (Reversed Polish Mode)
Mode RPN (saisie polonaise inverse)
Well then. (However, that command is taken as a syntax error.)

T_STACK
T_RPN_END
T_RPN_BEGIN
T_RPN_OP
T_RPN_WHILE
T_RPN_IF

ROLL
ROLLD
SWAP
OVER
PICK
DROP
RPN_LOCAL
RPN_FOR
RPN_WHILE
RPN_CASE
RPN_UNTIL
rpn_prog

RPN_LOCAL
RPN_LOCAL must have at least 3 args
STEP
NEXT
START
Invalid_RPN_FOR
RPN_FOR must have at least 4 args
REPEAT
Invalid_RPN_WHILE
WHILE
RPN_WHILE must have at least 2 args
CASE
Invalid_RPN_CASE
RPN_CASE must have at least 1 arg
UNTIL
Invalid_RPN_UNTIL
RPN_UNTIL must have at least 2 args

RPN-specific looping constructs, as well as an RPN-specific local variable assignment? Very, very interesting.

Edit: Not as interesting as I thought. They just left Giac's rpn.cc in. (Funnily enough, they also left Giac's ti89.cc in. That's right, there's code for simulating TI-89 behavior in the 39gII, that's just sitting there doing nothing.)


Edited: 11 May 2013, 1:52 p.m.


Re: Fun things found by running strings on the 39gII emulator - Tim Wessman - 05-12-2013

No, it wasn't "left in", rather there are so many inter dependencies scattered through everything you actually can't remove large groups of files because things depend on something somewhere.

Kind of surprised a lot wasn't automatically stripped out though...


Re: Fun things found by running strings on the 39gII emulator - bhtooefr - 05-12-2013

Fair enough. (But, it does mean that if for some reason you start running out of ROM space, there's some fairly low-hanging fruit to strip out.)


Re: Fun things found by running strings on the 39gII emulator - Mic - 05-14-2013

A priori, RPN will be available in application in a future version...


Re: Fun things found by running strings on the 39gII emulator - Pal G. - 05-14-2013

I just read a quote, on another forum, regarding the HP Prime, by GT Springer (HP Education Solutions Architect):

"The architecture is based on the HP-39gII; it does have HP Apps, and it incorporates a CAS in a very different way from competitors."

So does the HP Prime have "code for simulating TI-89 behaviour" too?




Re: Fun things found by running strings on the 39gII emulator - Tim Wessman - 05-14-2013

News to me...

TW


Re: Fun things found by running strings on the 39gII emulator - Tim Wessman - 05-14-2013

There is no code for simulating anything. As far as I can tell, there is an option to use "ti89" syntax, "maple" syntax and so on in xcas, but really it just seems to be limited to a few command synonyms and some basic programing structure things and is not really useful.

It has nothing to do with returning identical results or exhibiting identical behavior - just a shallow wrapper over the top.

TW


Re: Fun things found by running strings on the 39gII emulator - bhtooefr - 05-14-2013

Yeah, it's not a full-blown TI-89 emulator in any way, shape, or form, simply a TI-89/92-like parser for Giac. (Funnily enough, it actually has code to deal with the case of someone passing 68k asm to it (it returns an error message saying that asm isn't implemented, and I found that one in the 39gII emulator (and ROM image) trying to find any obvious references to asm programming on it. I had a sad when I found that that message was a Giac string).)

And, it doesn't ever have to be exposed by HP.

Edited: 14 May 2013, 1:51 p.m.


Re: Fun things found by running strings on the 39gII emulator - bhtooefr - 05-14-2013

To be fair, has Mic ever gotten a single exclusive rumor about the Prime or 39gII right? (And I'm not counting the, "we found an online store selling it, and here's what they say the specs are" thing, where he actually was right about color and touchscreen, because that wasn't an actual exclusive, that was just linking to someone else. And, the entire rest of that one was saying it was a color, touchscreen 50g, which wasn't the case at all.)

That said, an RPN mode for the 39gII would be nice. But I wouldn't expect it (none of its predecessors had RPN, after all), and it may end up cannibalizing Prime sales (for those that want RPN, but only need 39gII-level functionality).


Re: Fun things found by running strings on the 39gII emulator - Mic - 05-15-2013

It was an online store who copied the HP 50g features. Not me.


Re: Fun things found by running strings on the 39gII emulator - bhtooefr - 05-15-2013

And, the other things that you got from that source (about it being color and touchscreen), were the only things that you got right about the Prime. And that wasn't even a scoop, because that source was already public.

(That said, I'd be unsurprised if HP was the original source of that error - last I checked, HP had a comparison page that showed the same copy-and-pasted 50g specs, with color and touchscreen added.)


Re: Fun things found by running strings on the 39gII emulator - Mic - 05-16-2013

and ? what are your searching for bhtooefr ?