WP43 Alternative key layout --> C43

This area is for discussion about these families of custom high-end Scientific Calculator applications for SwissMicros devices.
H2X
Posts: 885
Joined: Tue Apr 25, 2017 8:00 am
Location: Norðvegr
Contact:

Re: 43S Alternative key layout --> WP43C

Post by H2X »

Jaymos wrote:
Wed Mar 25, 2020 12:22 am
Following the posts above re 2D vector sums, and my proposal posted above to split the use of the sigma operator for statistical plotting and regression, and for vector arithmetic, I edited my stats graph code to include a VECT mode, where a vector series is plotted starting from the origin and following the vectors in the table.

...

Thoughts on whether this is useful or wanted?
I'm interested!
What is the metric tensor in imperial units?
User avatar
Jaymos
Posts: 1635
Joined: Sun Nov 04, 2018 7:03 pm
Location: Cape Town

Re: 43S Alternative key layout --> WP43C

Post by Jaymos »

H2X wrote:
Wed Mar 25, 2020 8:22 am
Jaymos wrote:
Wed Mar 25, 2020 12:22 am
Following the posts above re 2D vector sums, and my proposal posted above to split the use of the sigma operator for statistical plotting and regression, and for vector arithmetic, I edited my stats graph code to include a VECT mode, where a vector series is plotted starting from the origin and following the vectors in the table.

...

Thoughts on whether this is useful or wanted?
I'm interested!
Well, I added the bells and whistles to enter this vector data thing. And started to describe the process for my document.

I also spent a lot of time today to figure out how export and import the STATS data, or vectors, from the calculator into a CSV file on the flash drive. The loading/saving is to a file from within the calculator, and this works now. As I described in an earlier post, I want the 2x400 points to not reside in calculator, but will be saved and loaded from a CSV file on the disk. I still need to do the CSV code, which will take some time still, but it is coming.

Next exciting thing that will come very soon is to save the complete stack, or even the stack and all registers to a CSV text file. That will be super useful for those 2000 digits integer math and primes ;-).

A question is do I need to make another special key combination (say Shift-ENTER) to dump the registers, or do I just combine the dump registers feature onto the system SNAPshot command, Shift-DISP? I do like the idea of doing a full dump in one go, that is a BMP file and a CSV file. Shift-DISP would do two things then: save the screen to file with a name like 20200329-23554146.BMP and at the same time save the complete stack and registers 00 through 99 to a file 20200329-23554146.CSV. (BTW, the file name is made up of yyyymmdd-hhmmsscc where cc is decimal seconds or centiseconds.)

Have a look at the vector entry and graphing example below, written for the documentation.

Below that, look at the latest simulator mockup which includes the changing of F1 and F6.

Any comments welcome.
.
.
Clipboard21.png
Clipboard21.png (142.53 KiB) Viewed 3648 times
.
.
Image
Jaco Mostert
Elec Eng, South Africa
https://47calc.com C47 (s/n 03818 & 06199), WP43 (0015). In box: HP42S, HP32Sii, WP34S&C, HP28C, HP35s, EL-506P, EL-W506, PB700; ex: FX702P, 11C, HP67 & HP85; iOS: 42s Byron, Free42+, WP31S/34S, HCalc.
H2X
Posts: 885
Joined: Tue Apr 25, 2017 8:00 am
Location: Norðvegr
Contact:

Re: 43S Alternative key layout --> WP43C

Post by H2X »

Jaymos wrote:
Mon Mar 30, 2020 12:10 am
Next exciting thing that will come very soon is to save the complete stack, or even the stack and all registers to a CSV text file. That will be super useful for those 2000 digits integer math and primes ;-).
Nice!
Jaymos wrote:
Mon Mar 30, 2020 12:10 am
A question is do I need to make another special key combination (say Shift-ENTER) to dump the registers...
I haven't thought this through yet, but since a printer icon is already there - maybe print to file might be a sensible default, if no printer is available? Maybe provide options after pressing g[printer icon] about what / where to print?
What is the metric tensor in imperial units?
User avatar
Jaymos
Posts: 1635
Joined: Sun Nov 04, 2018 7:03 pm
Location: Cape Town

Re: 43S Alternative key layout --> WP43C

Post by Jaymos »

H2X wrote:
Mon Mar 30, 2020 10:02 am
Jaymos wrote:
Mon Mar 30, 2020 12:10 am
Next exciting thing that will come very soon is to save the complete stack, or even the stack and all registers to a CSV text file. That will be super useful for those 2000 digits integer math and primes ;-).
Nice!
Jaymos wrote:
Mon Mar 30, 2020 12:10 am
A question is do I need to make another special key combination (say Shift-ENTER) to dump the registers...
I haven't thought this through yet, but a printer icon is already there. Maybe print to file might be a sensible default, if no printer is available? Maybe provide options after pressing g[printer icon] about what / where to print?
That is very interesting that you mention the print menu. I would take that a bit further, and propose the following:

I could add an option in the print softmenu called [TOFILE], i.e. a CheckBox, when ticked, the printer output goes to CSV files. I like that a lot. And I agree, it can default to "ON".
.
Clipboard22.png
Clipboard22.png (4.09 KiB) Viewed 3559 times
The existing PRINT menu has the required buttons already.

I could use pSTK (Existing function, for 8 registers X through D).
I would need to add a new function in the PRINT menu to print all registers, i.e. pALL (for 00-99, 100-111 (X through L) & local registers 112-maxlocal_registers)).

So, to summarise:

1. Shift-DISP does a SNAPshot as well as an 8 register stack dump to CSV file.
2. PRINT menu : a TOFILE option.
3. PRINT menu : the existing pSTK activated, and if TOFILE is active it exports stack registers X through K
4. PRINT menu : the existing pREGS activated and if TOFILE is active it exports registers 00 through 99.
5. PRINT menu : the existing pLCD activated and if TOFILE is active it does a SNAPshot.


This is a good idea Haakon ...
Jaco Mostert
Elec Eng, South Africa
https://47calc.com C47 (s/n 03818 & 06199), WP43 (0015). In box: HP42S, HP32Sii, WP34S&C, HP28C, HP35s, EL-506P, EL-W506, PB700; ex: FX702P, 11C, HP67 & HP85; iOS: 42s Byron, Free42+, WP31S/34S, HCalc.
User avatar
Jaymos
Posts: 1635
Joined: Sun Nov 04, 2018 7:03 pm
Location: Cape Town

Re: 43S Alternative key layout --> WP43C

Post by Jaymos »

I am in two minds on the setting. I like the direct CB selection for "TOFILE", but the correct place for the is in the pMODE setting, which has options 0,1,2 for printing, 3 for serial transmission, and here option 4 would have been ideal for TOFILE.

But I like the visibility of TOFILE as a CB option more.

J
Jaco Mostert
Elec Eng, South Africa
https://47calc.com C47 (s/n 03818 & 06199), WP43 (0015). In box: HP42S, HP32Sii, WP34S&C, HP28C, HP35s, EL-506P, EL-W506, PB700; ex: FX702P, 11C, HP67 & HP85; iOS: 42s Byron, Free42+, WP31S/34S, HCalc.
H2X
Posts: 885
Joined: Tue Apr 25, 2017 8:00 am
Location: Norðvegr
Contact:

Re: 43S Alternative key layout --> WP43C

Post by H2X »

Jaymos wrote:
Mon Mar 30, 2020 6:09 pm
... CSV files...
Which columns do you have in mind?
What is the metric tensor in imperial units?
User avatar
Jaymos
Posts: 1635
Joined: Sun Nov 04, 2018 7:03 pm
Location: Cape Town

Re: 43S Alternative key layout --> WP43C

Post by Jaymos »

H2X wrote:
Mon Mar 30, 2020 8:47 pm
Jaymos wrote:
Mon Mar 30, 2020 6:09 pm
... CSV files...
Which columns do you have in mind?
I think just REGISTER, VALUE.
I made a sample below.
Any changes?

I will re-order it X-K, and 00 to 99.

Code: Select all

REGISTER, VALUE
K, 0.
J, 0.
I, 0.
L, 7
D, 3.141592653589793238462643383279503
C, 10.87312731383618094144114988541065 + ix13.59140914229522617680143735676331
B, 4 + ix5
A, 1234#10 (word size, 64)
T, 10011010010#2 (word size, 64)
Z, 49
Y, 6
X, 6
R99, 0.
R98, 0.
R97, 0.
...
R28, 0.
R27, 225251798594466661409915431774713195745814267044878909733007331390393510002687
R26, 4776913109852041418248056622882488319
R25, 195845982777569926302400511
R24, 7369130657357778596659
R23, 18446744082299486207
R22, 18014398241046527
R21, "Primes: Carol, Kynea, repunit, Woodal"
R20, 842468587426513207
R19, 2646693125139304345
R18, "37 digits of pi, Reg19 / Reg20."
R17, 12602123297335631
R16, 80435758145817515
R15, -80538738812075974
R14, "Reg 15, 16 & 17 have: The 3 cubes, 42."
R13, -472715493453327032
R12, -569936821113563493509
R11, 569936821221962380720
R10, "Reg 11,12 & 13 have: The 3 cubes, 3."
...
R01, 0.
R00, 0.
Jaco Mostert
Elec Eng, South Africa
https://47calc.com C47 (s/n 03818 & 06199), WP43 (0015). In box: HP42S, HP32Sii, WP34S&C, HP28C, HP35s, EL-506P, EL-W506, PB700; ex: FX702P, 11C, HP67 & HP85; iOS: 42s Byron, Free42+, WP31S/34S, HCalc.
H2X
Posts: 885
Joined: Tue Apr 25, 2017 8:00 am
Location: Norðvegr
Contact:

Re: 43S Alternative key layout --> WP43C

Post by H2X »

Jaymos wrote:
Mon Mar 30, 2020 9:20 pm
H2X wrote:
Mon Mar 30, 2020 8:47 pm
Jaymos wrote:
Mon Mar 30, 2020 6:09 pm
... CSV files...
Which columns do you have in mind?
I think just REGISTER, VALUE.
I made a sample below.
Any changes?

I will re-order it X-K, and 00 to 99.

Code: Select all

REGISTER, VALUE
K, 0.
J, 0.
I, 0.
L, 7
D, 3.141592653589793238462643383279503
C, 10.87312731383618094144114988541065 + ix13.59140914229522617680143735676331
B, 4 + ix5
A, 1234#10 (word size, 64)
T, 10011010010#2 (word size, 64)
Z, 49
Y, 6
X, 6
R99, 0.
R98, 0.
R97, 0.
...
R28, 0.
R27, 225251798594466661409915431774713195745814267044878909733007331390393510002687
R26, 4776913109852041418248056622882488319
R25, 195845982777569926302400511
R24, 7369130657357778596659
R23, 18446744082299486207
R22, 18014398241046527
R21, "Primes: Carol, Kynea, repunit, Woodal"
R20, 842468587426513207
R19, 2646693125139304345
R18, "37 digits of pi, Reg19 / Reg20."
R17, 12602123297335631
R16, 80435758145817515
R15, -80538738812075974
R14, "Reg 15, 16 & 17 have: The 3 cubes, 42."
R13, -472715493453327032
R12, -569936821113563493509
R11, 569936821221962380720
R10, "Reg 11,12 & 13 have: The 3 cubes, 3."
...
R01, 0.
R00, 0.
Reasonable! Possibly an extra column for information like "(word size, 64)"? I notice some extra unquoted commas here and there, if this is a problem for some spreadsheet applications I'm sure it can be worked out.
What is the metric tensor in imperial units?
User avatar
Jaymos
Posts: 1635
Joined: Sun Nov 04, 2018 7:03 pm
Location: Cape Town

Re: 43S Alternative key layout --> WP43C

Post by Jaymos »

H2X wrote:
Mon Mar 30, 2020 9:50 pm
Jaymos wrote:
Mon Mar 30, 2020 9:20 pm
H2X wrote:
Mon Mar 30, 2020 8:47 pm


Which columns do you have in mind?
I think just REGISTER, VALUE.
I made a sample below.
Any changes?

I will re-order it X-K, and 00 to 99.

Code: Select all

REGISTER, VALUE
K, 0.
J, 0.
I, 0.
L, 7
D, 3.141592653589793238462643383279503
C, 10.87312731383618094144114988541065 + ix13.59140914229522617680143735676331
B, 4 + ix5
A, 1234#10 (word size, 64)
T, 10011010010#2 (word size, 64)
Z, 49
Y, 6
X, 6
R99, 0.
R98, 0.
R97, 0.
...
R28, 0.
R27, 225251798594466661409915431774713195745814267044878909733007331390393510002687
R26, 4776913109852041418248056622882488319
R25, 195845982777569926302400511
R24, 7369130657357778596659
R23, 18446744082299486207
R22, 18014398241046527
R21, "Primes: Carol, Kynea, repunit, Woodal"
R20, 842468587426513207
R19, 2646693125139304345
R18, "37 digits of pi, Reg19 / Reg20."
R17, 12602123297335631
R16, 80435758145817515
R15, -80538738812075974
R14, "Reg 15, 16 & 17 have: The 3 cubes, 42."
R13, -472715493453327032
R12, -569936821113563493509
R11, 569936821221962380720
R10, "Reg 11,12 & 13 have: The 3 cubes, 3."
...
R01, 0.
R00, 0.
Reasonable! Possibly an extra column for information like "(word size, 64)"? I notice some extra unquoted commas here and there, if this is a problem for some spreadsheet applications I'm sure it can be worked out.
Sure, I'll include that.
J
Jaco Mostert
Elec Eng, South Africa
https://47calc.com C47 (s/n 03818 & 06199), WP43 (0015). In box: HP42S, HP32Sii, WP34S&C, HP28C, HP35s, EL-506P, EL-W506, PB700; ex: FX702P, 11C, HP67 & HP85; iOS: 42s Byron, Free42+, WP31S/34S, HCalc.
User avatar
Jaymos
Posts: 1635
Joined: Sun Nov 04, 2018 7:03 pm
Location: Cape Town

Re: 43S Alternative key layout --> WP43C

Post by Jaymos »

Sorry to bring K.PK up again. I want another shot at it ...

I chose K.PK (Key Pack) as the best of the available options. It is clear, compact, and due to the dot easily recognisable as two words, and it works. But are two words needed?

What about just KEYS. It is four letters. It is compact. Not repeated. And talks directly to the topic.

It would read ASN KEYS.

Any enthusiasm for that?
Jaco Mostert
Elec Eng, South Africa
https://47calc.com C47 (s/n 03818 & 06199), WP43 (0015). In box: HP42S, HP32Sii, WP34S&C, HP28C, HP35s, EL-506P, EL-W506, PB700; ex: FX702P, 11C, HP67 & HP85; iOS: 42s Byron, Free42+, WP31S/34S, HCalc.
Post Reply