WP43 Alternative key layout --> C43

This area is for discussion about these families of custom high-end Scientific Calculator applications for SwissMicros devices.
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 »

be.philippe wrote:
Mon Jun 21, 2021 6:55 pm
Another bug.

Storing the config in a global register with STOCFG 00, and then saving the data to the FAT with SAVE crashes the DM42 (version C43_105L1.pgm).

After RESET, trying to LOAD crashes the 43C again.

Thx for reporting. It will be fixed.

I will list the bug on my C43 Gitlab page. I will look at it later, I am away from my development system for a few days.
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 »

PierreMengisen wrote:
Mon May 31, 2021 2:06 pm
Jaymos wrote:
Mon May 31, 2021 3:22 am
The simulator and the PGM files are here: https://classic43.com/downloads/2021-05-31_C43_106.ZIP.
Thanks for the new version.
I am on the simulator and I have problems to edit the matrices. When I validate a data, it automatically asks for a new index that I have to cancel with <-. Some times the keyboard is completely blocked.
The +/- key does not appear on the layout even though it works.
Thanks for the SNAP
I confirm the bug. Thanks Pierre for also confirming that it works in the DM42 version - that actually helps to know! It means that there is an issue in the GTK code which is not present in the DM42. It does not help that that is the most convoluted part of the C43 changed code. I will find and correct the issue, but it may take another while until I get there ... I will list it on my Gitlab page as a bug.

Thx very much
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 »

I was wondering about the defaults of C43, so I compiled a shortlist of settings, some standard 43S and some not, that I like on the C43.

The following are some notable standard 43S settings, set differently:
  1. 8 level deep stack,
  2. ALL 3
  3. Range: 10^6145 is selected
  4. CPXRES is selected: No error on complex result.
  5. SPCRES is selected: No error on infinity: shows infinities.
  6. Fractions: DENMAX 64 selected, and DENANY and DENFIX not selected. That means a decimal fraction by default will be shown as 64ths. I read somewhere that could be useful if you use inches. Is it?
  7. Radix is set to .
The following are some notable C43 specific default settings, which I like:
  1. No base menu shown, i.e. Mymenu (which is standard on 43S) is de-selected. Sometimes I like HOME to be selected instead as the base menu, but mostly prefer nothing.
  2. Large text Longint displays selected.
  3. 2 stack lines of Shortint display: That is X & Y shown, with extra lines for HEX and BIN representations of the number in X are shown.
  4. eRPN selected. No duplication of X when a number is ENTERed.
  5. G2TAP selected, which allows double tapping the FN keys for a g-function.
  6. iLI/RL (input LongInt/Real) which is the setting for standard 43S operation. I sometimes change modes to iREAL (inputREAL, which forces new numbers onto the stack to be real). Why? So that ENG dispay, SIG and UNIT displays correctly when I use the calculator in an engineering role. I like integers, but really do not need integers then – they just stuff up the display mode.
  7. I mostly I have DRG on the Sigma+ key in normal mode. That means that no menus are needed to change to radians or DMS without changing the ADM. Just hit [DRG] until the correct angle appears.
I am actually considering to make the default setting on C43 for (g) DRG on Sigma+, which would mean that the DRG sits on a DM42 button marked as Sigma+...

Thoughts on 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.
be.philippe
Posts: 24
Joined: Mon Jun 21, 2021 4:32 pm
Location: Liège Belgium

Re: 43S Alternative key layout --> WP43C

Post by be.philippe »

Jaymos wrote:
Mon Jun 21, 2021 8:59 pm
be.philippe wrote:
Mon Jun 21, 2021 6:22 pm
Very nice work, I love the 43C.

There is a small problem with g[.ms], with version C43_105L1.pgm on a DM42.
Entering 123.45678901 g[.ms] g[.ms] (ex. from the WP43S Owner's Manual) gives 123°46' 7,89", instead of 123°45'67.89", perhaps because the internediate time is 123:46:08.
Thank you for the report.

I checked it quick on both the 43S simulator and C43 simulator and confirm your bug report.

I think the bug is in the manual, not the code. If you take a shorter 123.45678901 and convert it to DMS, it becomes 123˚45 minutes and 67.8901 seconds. Now the SS position in DDMMSS ranges from 00 to 59.999999... seconds and if you try to represent 67.8901 seconds in a register which is defined to be 00-59.999.. then it ticks over the minute from 45 to 46 and subtracts 60 from SS, which is 7.8901 seconds. Therefore the calculators (both) are right with 23°46' 7,89.

I will report the manual error on the Gitlab site to Walter.
My bad, should have thought it a bit more...
Philippe Martens
Elec Eng, Software Architect
[HP41C, DM41X, DM42]
be.philippe
Posts: 24
Joined: Mon Jun 21, 2021 4:32 pm
Location: Liège Belgium

Re: 43S Alternative key layout --> WP43C

Post by be.philippe »

I don't know if these are actual bugs:
  • According to (WP43S) documentation, [VIEW] should take a register argument. It currently always shows X.
  • [SHOW] prefixes the display with the register being shown (X:, ...), except when the content is a Large Integer.
  • According to WP43S documentation, p147, 1011 00112 [RL] 2 should display 1100 11102, it actually shows 10 1100 11102 (the WP43S simulator does the same). The actual value is 1100 11102, as shown by [.d] [#]2.
Philippe Martens
Elec Eng, Software Architect
[HP41C, DM41X, DM42]
Dani R.
Posts: 349
Joined: Fri May 05, 2017 10:23 pm

Re: 43S Alternative key layout --> WP43C

Post by Dani R. »

be.philippe wrote:
Tue Jun 22, 2021 2:58 pm
  • According to WP43S documentation, p147, 1011 00112 [RL] 2 should display 1100 11102, it actually shows 10 1100 11102 (the WP43S simulator does the same). The actual value is 1100 11102, as shown by [.d] [#]2.
Confirmed. RL does not respect the value for WSIZE, here in the example of the documentation it will be set to 8. 1011 00112 [RL]6 generates then 10 1100 1110 11002. This is a issue of the WP43S software.
C47(DM42) SN:00032 WP43 SN:00016
https://47calc.com
be.philippe
Posts: 24
Joined: Mon Jun 21, 2021 4:32 pm
Location: Liège Belgium

Re: 43S Alternative key layout --> WP43C

Post by be.philippe »

[CC] and [eRPN] don't play well together:
  • After 3 [CC] 4 [ENTER^}, both X and Y contain 3,+ix4, but the automatic stack lift is not disabled.
  • So the next entry pushes the stack further.
Without [eRPN] (and on the WP43S simulator) the automatic stack lift is disabled, and the next entry overwrites X.
Philippe Martens
Elec Eng, Software Architect
[HP41C, DM41X, DM42]
be.philippe
Posts: 24
Joined: Mon Jun 21, 2021 4:32 pm
Location: Liège Belgium

Re: 43S Alternative key layout --> WP43C

Post by be.philippe »

be.philippe wrote:
Tue Jun 22, 2021 2:58 pm
  • [SHOW] prefixes the display with the register being shown (X:, ...), except when the content is a Large Integer.
There are also no prefixes for Dates and Times.
Philippe Martens
Elec Eng, Software Architect
[HP41C, DM41X, DM42]
User avatar
Walter
Posts: 3070
Joined: Tue May 02, 2017 11:13 am
Location: On a mission close to DRS, Germany

Re: 43S Alternative key layout --> WP43C

Post by Walter »

Whenever you call [SHOW] on the 43S, the content of X will be displayed with maximum precision. So there is no reason for displaying a heading X: then. Must be a problem of the 43C.

And [VIEW] isn't coded yet for the 43S.
WP43 SN00000, 34S, and 31S for obvious reasons; HP-35, 45, ..., 35S, 15CE, DM16L S/N# 00093, DM42β SN:00041
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 for delayed answer - I am travelling and have occasional access.
be.philippe wrote:
Tue Jun 22, 2021 2:58 pm
  • According to (WP43S) documentation, [VIEW] should take a register argument. It currently always shows X.
VIEW calls the original WP43S SHOW command, for comparison with the C43 SHOW which is on the SHOW key. This is a temporary test and you are the first to try VIEW, it seems. It will be removed once we do VIEW in 43S.
be.philippe wrote:
Tue Jun 22, 2021 2:58 pm
  • According to WP43S documentation, p147, 1011 00112 [RL] 2 should display 1100 11102, it actually shows 10 1100 11102 (the WP43S simulator does the same). The actual value is 1100 11102, as shown by [.d] [#]2.
SHOW for a longint on C43 should show X: ...
I will check and list it on Gitlab as a bug.
be.philippe wrote:
Tue Jun 22, 2021 2:58 pm
  • According to WP43S documentation, p147, 1011 00112 [RL] 2 should display 1100 11102, it actually shows 10 1100 11102 (the WP43S simulator does the same). The actual value is 1100 11102, as shown by [.d] [#]2.
Dani responded adequately. Thx.
be.philippe wrote:
Tue Jun 22, 2021 5:14 pm
  • After 3 [CC] 4 [ENTER^}, both X and Y contain 3,+ix4, but the automatic stack lift is not disabled.
I must say I do not often use the HP35S way of using CC. Even though I have both 42S and 35S, I never use the 35S method, I prefer the 42S COMPLEX way.

Having said that, that is no reason for it not to work. Bug listed on Gitlab and will be fixed.

be.philippe wrote:
Wed Jun 23, 2021 10:00 am
There are also no prefixes for Dates and Times.
That is not really a bug. Just incomplete features. C43 SHOW was written before MihailJP implemented dates and times and I must still get to add those displays! I put it on the feature list.

Walter wrote:
Wed Jun 23, 2021 10:41 am
Whenever you call [SHOW] on the 43S, the content of X will be displayed with maximum precision. So there is no reason for displaying a heading X: then. Must be a problem of the 43C.
In C43 it is required to show the register name like X: as you can scroll through all named register with Up/Dn, provided there is not a multi-screen softmenu active, which of course takes precedence over the Up/Dn keys.




Thx for the trouble to report these bugs. It is really appreciated. It is the only way to get them fixed!
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