Talking about the WP 34s at the internal HP calculator forum - 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: Talking about the WP 34s at the internal HP calculator forum (/thread-190327.html) |
Talking about the WP 34s at the internal HP calculator forum - Gene Wright - 08-11-2011 This is an internal forum at HP where people can post questions, etc about calculators. I have tried to drum up some interest in the WP 34s and 41CL there. You will probably have to register to view the content. FYI.
Business Support Forum on the HP Servers
Re: Talking about the WP 34s at the internal HP calculator forum - Walter B - 08-11-2011 Everything's readable without registration for me. Thanks for posting. There seems to be far less activity in months, however, than at a single day on the museum forum. So well, it's another channel, but apparently a minor one.
Thanks anyway, Re: Talking about the WP 34s at the internal HP calculator forum - Gene Wright - 08-11-2011 Good! Did not know you could read it without registration. Yes, it has quieted down, but I wanted to again point people in the direction to find out more info.
On another note...I have the first draft of the matrix programs for the 34s keyed in. Debugging now. 197 lines is all it takes. Could do a 6x6 system or inverse, 8x8 determinant. That's a limit based on 100 registers available.
Re: Talking about the WP 34s at the internal HP calculator forum - Walter B - 08-11-2011 Sounds good. With respect to matrix size requirements, please note I posted a statement in another thread recently.
Just my 20m€, of course, as usual :-)
Re: Talking about the WP 34s at the internal HP calculator forum - Gene Wright - 08-11-2011 Oh, I agree. 8x8 determinant is more than enough and 6x6 system / inverse is really awfully big too. These should handle the "normal" matrix work, assuming they are debugged well. :-)
Would be good to put a "check mark" in the box on "matrix math" with the 34s description, IMO.
34S matrix programs - Marcus von Cube, Germany - 08-11-2011 Gene, I was wondering how a usable editor / browser for matrix data could be implemented with the current command set. Or do the routines depend on manual data entry?
Re: 34S matrix programs - Gene Wright - 08-11-2011 The plan is to also include the PPC ROM application program "MIO" from the PPC ROM manual. It helps with the loading / viewing of the matrix.
What you say? You don't have a copy of the PPC ROM manual? :-) Shame on you! lol.
Re: 34S matrix programs - Walter B - 08-11-2011 Everyone owning a museum DVD has got a copy of said telephone directory. And I've even got a printed one :-)
Re: 34S matrix programs - Gene Wright - 08-11-2011 Good! No wonder you made many very good decisions on the 34s. ;-) But, what I am working on is a very vanilla port of M1 through M5, BX, QR, BE from the PPC ROM and then RRM and MIO from the M1 routines application programs. First draft, which should fit into the 506 step flash bank with few problems, will not use the REG-SWAP features of the 34s because the programs are written assuming XX.YY in X and TT.ZZ in Y for register swaps, for example. Once it is working then refinements can be worked on.
So, no secret what these will look like. They will be as much like those in the PPC ROM manual as possible. :-)
Re: 34S matrix programs - Paul Dale - 08-11-2011 Great news. 197 steps? I think there isn't enough functionality there. You've got 506 steps for this library :-) Check the back of the 15c for a start. Then consider:
Remember the 34S motto: "if something is worth doing, it is worth utterly overkilling". I just made that up, it isn't really the motto but it is almost apt. - Pauli
Edited: 11 Aug 2011, 6:06 p.m. after one or more responses were posted
Re: Talking about the WP 34s at the internal HP calculator forum - Marcus von Cube, Germany - 08-11-2011 We can throw in another user flash region if desired or some yet unknown tricks for the user interface. Tell us what's missing and we'll consider.
Re: Talking about the WP 34s at the internal HP calculator forum - Paul Dale - 08-11-2011 I was thinking more of pre-filling one of the user flash regions with this library but another such region is always beneficial :-) Even a read only flash region is possible. We've a little space at present so if there is a specific command that saves a lot of steps or increases performance, let us know and we'll consider it...
Re: Talking about the WP 34s at the internal HP calculator forum - Marcus von Cube, Germany - 08-11-2011 I'm thinking of a neat way to display row / column indexes in the alpha area without disturbing the user's display settings.
Re: Talking about the WP 34s at the internal HP calculator forum - Walter B - 08-11-2011 How about "r2;c2" ? Or - if space is really tight - "2;2" based on everybody knowing it's "row;column"? Just crossed my mind.
Re: Talking about the WP 34s at the internal HP calculator forum - Paul Dale - 08-11-2011 Use STOM and RCLM ??? This is exactly the kind of thing they are inlcuded for :-)
Re: Talking about the WP 34s at the internal HP calculator forum - Paul Dale - 08-11-2011 Something like this ought to work:
LBL 00
Re: Talking about the WP 34s at the internal HP calculator forum - Gene Wright - 08-11-2011 That may work well, Pauli and could help with the MIO port. But...
Don't you guys go getting too excited. This is a basic port and I'm not doing much intelligence with it. I had a math *minor* in college and never had linear algebra. What I know (which isn't much) I learned studying for the actuarial exam (several times).
Re: Talking about the WP 34s at the internal HP calculator forum - Paul Dale - 08-11-2011 Quote: Oh well. I did an awful lot of maths at university and loved linear algebra but that was a long time ago and much has been forgotten over the years. Use it or lose it really applies. I'd love to find some time to spice up the matrix library but I'm kept pretty busy playing with the lower level firmware.
Re: Talking about the WP 34s at the internal HP calculator forum - Paul Dale - 08-11-2011 Any idea of the execution times for these maximal sized problems? Just out of interest.
OT: PPC Manual - Mark Hardman - 08-11-2011 I have a copy of the PPC manual--in fact you were the source! I traded a HP-19C case for the manual. Boy, did I get the better end of that deal!
Mark Hardman
Re: Talking about the WP 34s at the internal HP calculator forum - Paul Gaster - 08-12-2011 Quote:Good ideas, but I have a very similar and slightly different suggestion. How about we use the 42S notation? The first element in a matrix on a 42S is 1:1=0.00 Most would be familiar with this notation already, but any slight variation would be fine and people would recognize it easily.
Re: Talking about the WP 34s at the internal HP calculator forum - Marcus von Cube, Germany - 08-12-2011 The problem is the available set of commands in the 34S for handling the alpha register. The only available command aRC# formats the number according to the current display format. If you just want 2 instead of 2.0000 (depending on what is set by the user) you need to set a proper format first. For single digits adding 48 and using XTOA helps but is not the best possible solution.
Re: Talking about the WP 34s at the internal HP calculator forum - Marcus von Cube, Germany - 08-12-2011 Pauli, you know we had a more elegant solution which was removed with the advent of the register browser. I vote for having a variant of aRC# which only converts the integer part without a trailing dot.
Re: Talking about the WP 34s at the internal HP calculator forum - fhub - 08-12-2011 Quote:A wonderful solution would be a kind of matrix browser (like the register browser), where you navigate with the 4 arrow keys within the matrix, the current position is shown in the alpha display and the value in X. And if you type in a value and [ENTER] the value would be stored in the current matrix element. But this could certainly only be done in the firmware itself and not by a user program - and I doubt that there's enough space left for such a feature.
Franz
Re: Talking about the WP 34s at the internal HP calculator forum - Marcus von Cube, Germany - 08-12-2011 The size of a row or column is not known to the firmware, only to the user program. In a future version which may natively support matrices, such an editor is a viable option.
Re: Talking about the WP 34s at the internal HP calculator forum - Dieter - 08-12-2011 Maybe there's something I miss here, but isn't the [alpha]IP command intended for exactly this case? It appends the integer part of a number to Alpha, no matter which display format is currently set, without any decimals, trailing zeroes or radix marks.
Dieter
Re: Talking about the WP 34s at the internal HP calculator forum - fhub - 08-12-2011 Quote:Well, of course I meant that the browser should be called "with a special matrix", and the information about this matrix is stored anywhere (e.g. in a register with a value ss.rc, meaning: ss=start register, r=#rows, c=#cols of the matrix) Quote:Aaah, that sounds interesting! I hope I'll live long enough to see such a version ... :-)
Edited: 12 Aug 2011, 6:09 p.m.
Re: Talking about the WP 34s at the internal HP calculator forum - Paul Dale - 08-12-2011 Thanks Dieter. Seems we'd both forgotten about the existence of this one :-(
Re: Talking about the WP 34s at the internal HP calculator forum - Walter B - 08-12-2011
Quote:Depends. Do it yourself and you'll determine the speed 8-) Re: Talking about the WP 34s at the internal HP calculator forum - Marcus von Cube, Germany - 08-13-2011 The 34S exceeds our intellectual capacities. ;-)
Now, with aIP and KEY? available, Franz' browser idea can be implemented in user code. :-)
Re: Talking about the WP 34s at the internal HP calculator forum - Walter B - 08-13-2011 Quote:... and thus I'd vote for letting Franz do it :-) Re: Talking about the WP 34s at the internal HP calculator forum - fhub - 08-13-2011 Quote:Njet, forget it! The loop with checking for the 4 arrow keys and displaying the current matrix element would be no problem, but when the user enters any number (to change the current matrix element) things would become VERY complicated.
This would definitely be MUCH easier to do with internal code. Edited: 13 Aug 2011, 6:13 a.m.
Re: Talking about the WP 34s at the internal HP calculator forum - Marcus von Cube, Germany - 08-13-2011 I agree. It looks like a viewer would be easy to implement while an editor would be much harder.
Re: Talking about the WP 34s at the internal HP calculator forum - Paul Dale - 08-13-2011 You need an "edit this element" key which is a bit more cumbersome. Doing a full fledged editor in flash wouldn't be fun. The command line support just isn't set up for it. Adding a command to parse alpha as a number would be a bit easier. Something to think about...
Re: Talking about the WP 34s at the internal HP calculator forum - Marcus von Cube, Germany - 08-15-2011 Maybe the following works:
Navigate to the element in question
The loop which queries the keyboard for the arrow keys needs to check the ENTRY? flag to determine if it has been interrupted and needs to store the modified value in the currently selected location. The first R/S may be made automatic by a new command that allows to feed a key into the keyboard buffer so that the loop can terminate itself as soon as the user presses a digit entry key. Another command my help to detect if a key code is one of the digit entry keys 0-9, ., +/- or EEX.
|