43S Alternative key layout --> WP43C

General discussion about calculators, Swiss Micros or otherwise
User avatar
Jaymos
Posts: 607
Joined: Sun Nov 04, 2018 6:03 pm
Location: Cape Town

Re: 43S Alternative key layout --> WP43C

Post by Jaymos » Sun Sep 13, 2020 5:58 pm

RAPo wrote:
Sun Sep 13, 2020 2:23 pm
something like:

S06 | S08 | S16 | S32 | S64 | FB
U06 | U08| U16| U32 |U64 | FW
third line:
if in hexmode:
A | B | C | D | E | F
else
SL | SR | RL | RR | RLn | RRn (i.e toprow of a HP16C

Snn = switch to signed mode, wordlength=nn
Unn= switch to unsigned mode, wordlength=nn
FB = flip bytes FW = Flip words (ie AABBCCDD FB -> DDCC BBAA 000 000 and AABBCCDD FW -> CCDD AABB 0000 0000)

The third row does not have to be dynamic A B C ... because in Hex mode, the top row of keys (underneath the function keys) (labelled as A .. F) already work as hex digits A..F in HEX mode.

FB already is flip bit and cannot change. So I propose FBYTE.
For symmetry I would propose FWORD for FW.
With "signed" I assume you mean 2's complement.

So my rendition of your menu would be:

Code: Select all

S06 | S08 | S16 | S32 | S64 | FBYTE
U06 | U08 | U16 | U32 | U64 | FWORD
SL  | SR  | RL  | RR  | RLn | RRn

Ok?
Jaco Mostert
Elec Eng, South Africa
WP34C, HP42S, DM42 for complex math; 35S, 28C, 32Sii, WP34S, EL-506P, EL-W506, PB700; owned FX702P & 11C; used 67 & 85. iOS: 42s (Byron), Free42, WP31S/34S, HCalc.
WP43C running on DM42 sn. 03818 .

User avatar
RAPo
Posts: 257
Joined: Wed May 03, 2017 4:54 pm
Location: The Netherlands
Contact:

Re: 43S Alternative key layout --> WP43C

Post by RAPo » Sun Sep 13, 2020 6:04 pm

Oke❤️👍👍
DM41X beta: SN00018.
DM42 beta: SN00074.
DM10L: SN056/100.
DM11L: SN 02058.
DM15L: SN2074.
DM16L: SN2156.
DM15, DM16, DM41
and a whole bunch of the original HP's,

User avatar
Jaymos
Posts: 607
Joined: Sun Nov 04, 2018 6:03 pm
Location: Cape Town

Re: 43S Alternative key layout --> WP43C

Post by Jaymos » Sun Sep 13, 2020 7:05 pm

RAPo wrote:
Sun Sep 13, 2020 6:04 pm
Oke❤️👍👍

Your spec below seems to be for 64 but wide words only.

>> AABBCCDD FB -> DDCC BBAA 000 000
What happens in the general case? flipping it in the same pattern? WWXX YYZZ AABB CCDD FB -> DDCC BBAA ZZYY XXWW ?
And in the case where the word size is not 64? And when word size is odd?
Please clarify what should happen with FWORD and FBYTE for word size 1 through 64 bits.

>> AABBCCDD FW -> CCDD AABB 0000 0000
Same here. Please specify all cases.
Jaco Mostert
Elec Eng, South Africa
WP34C, HP42S, DM42 for complex math; 35S, 28C, 32Sii, WP34S, EL-506P, EL-W506, PB700; owned FX702P & 11C; used 67 & 85. iOS: 42s (Byron), Free42, WP31S/34S, HCalc.
WP43C running on DM42 sn. 03818 .

User avatar
Jaymos
Posts: 607
Joined: Sun Nov 04, 2018 6:03 pm
Location: Cape Town

Re: 43S Alternative key layout --> WP43C

Post by Jaymos » Sun Sep 13, 2020 7:38 pm

The POC for the second BASE menu layout.

FWORD and FBYTE need specification before I can attempt to code it.
.
Clipboard25.png
Clipboard25.png (71.51 KiB) Viewed 188 times
.
.
Further to the discussions this afternoon, I changed FB01-FB64 to be FB00-FB63, counting from 0.
Most people might indeed count from 1, but a subset of people, including hardware people like myself, mostly count from 0.
This is now different from the 43S; well, I can't stop hoping the bit counting will change.
.
Clipboard26.png
Clipboard26.png (3.85 KiB) Viewed 188 times
.
.
Closing thought: I love the NOT handy in BASE and the FBnn menus. Works nice.
Jaco Mostert
Elec Eng, South Africa
WP34C, HP42S, DM42 for complex math; 35S, 28C, 32Sii, WP34S, EL-506P, EL-W506, PB700; owned FX702P & 11C; used 67 & 85. iOS: 42s (Byron), Free42, WP31S/34S, HCalc.
WP43C running on DM42 sn. 03818 .

User avatar
Jaymos
Posts: 607
Joined: Sun Nov 04, 2018 6:03 pm
Location: Cape Town

Re: 43S Alternative key layout --> WP43C

Post by Jaymos » Sun Sep 13, 2020 11:41 pm

.
.
Here compiled versions of my release 39. Thanks Dani for the sim compile as always.

DM42 image at https://classic43.com/downloads/C43_39L2.zip
Windows Simulator at https://classic43.com/downloads/C43_EMU ... _Rel39.zip

DM42: once loaded and started, remember to f[CLEAR] g[RESET].
DM42: I rolled back to the DMCP firmware requirement of 3.18 which comes with the DM42 software. This means the newest DMCP 3.19 need not be installed prior to C43.
DM42: Remember to copy the PROGRAMS folder from the zip file to the calculator flash drive. It can work without, but it is nice to have the demo programs on board.

To orientate you, here are a few instructions to demo two things:

DEMO1: BASE
  • f[4] is BASE on the DM42 hardware layout; f[CHS] is BASE on the simulator.
  • Place it into HEX mode by pressing HEX. Note the #KEYA-F top of screen. Note the new short integer 4 line display of X.
  • Type Σ+. Note hex digit "A" comes. Type [1/x]. Note hex digit B comes. Type AB 00 00 00 ENTER.
  • Note the 4 line display.
  • Long press FN6 until NOT appears, and release. Long press is the equivalent of pressing f prior to the key.
  • Press DN to get to RAPo's new BASE screen discussed on Sunday.
  • As example, press SL1 repeatedly and note the behaviour.
  • Press Up Up to get to the flip bit screens FB00 through FB63.
  • Get out of HEX mode by typing "." for decimal, or by pressing any of HEX/DEC/DEC/BIN/MODE# again.
DEMO2: DM42 FUN: CHECK BATTERY PERFORMANCE
  • Also, try the XEQM program that checks your battery performance. This is not new, but it is nice to see the result.
  • Remember to pull out the USB cable otherwise there is no voltage drop from the battery.
  • Press .1 ENTER to make sure you are not in BASE mode.
  • Longpress XEQ until XXEQ appears then release
  • Press FN6 which is XEQM
  • Press FN2 which is BATPLT, short for Battery Plot.Note this file is in the PROGRAMS folder.
  • This program runs long. It does 400 sample points of the instantaneous voltage measured on the battery. That takes about 5 minutes to get a representative graph of battery drop over time.
  • Notice at the very very bottom of the screen. There is a slowly increasing line eating up the pixels of the screen, from the bottom up. This is a progress bar indicator which comes in handy for programs taking very long like this one. At least it tells you the thing is still busy with the task you gave it.
  • Once done, it plots the resulting graph and is waiting for EXIT to continue. Notice the slightly sloping line drawn top left to slightly down to the right.
  • Press EXIT
  • Press f[STAT] (which is on f[/]. The graph is drawn using my STAT graph functionality.
  • Press f[ST_GRF] which is on f[FN6].
  • Press f[MAGN.Y] which is on f[FN6]. This option is to auto scale to magnify the scale to see the variance better.
  • Press PLOT which is on [FN6].
  • Make a screen dump by pressing and keeping in f, then while kept in, press E (EXP). A tick-tick sound is heard as the screen dump is saved.
.
20200914-01111252.bmp
20200914-01111252.bmp (12.31 KiB) Viewed 174 times
My graph of battery voltage over time, done just now.
Jaco Mostert
Elec Eng, South Africa
WP34C, HP42S, DM42 for complex math; 35S, 28C, 32Sii, WP34S, EL-506P, EL-W506, PB700; owned FX702P & 11C; used 67 & 85. iOS: 42s (Byron), Free42, WP31S/34S, HCalc.
WP43C running on DM42 sn. 03818 .

User avatar
RAPo
Posts: 257
Joined: Wed May 03, 2017 4:54 pm
Location: The Netherlands
Contact:

Re: 43S Alternative key layout --> WP43C

Post by RAPo » Mon Sep 14, 2020 6:31 pm

Jaymos wrote:
Sun Sep 13, 2020 7:05 pm
RAPo wrote:
Sun Sep 13, 2020 6:04 pm
Oke❤️👍👍

Your spec below seems to be for 64 but wide words only.

>> AABBCCDD FB -> DDCC BBAA 000 000
What happens in the general case? flipping it in the same pattern? WWXX YYZZ AABB CCDD FB -> DDCC BBAA ZZYY XXWW ?
And in the case where the word size is not 64? And when word size is odd?
Please clarify what should happen with FWORD and FBYTE for word size 1 through 64 bits.

>> AABBCCDD FW -> CCDD AABB 0000 0000
Same here. Please specify all cases.
Will sent you details next saturday: work is hectic right now.
DM41X beta: SN00018.
DM42 beta: SN00074.
DM10L: SN056/100.
DM11L: SN 02058.
DM15L: SN2074.
DM16L: SN2156.
DM15, DM16, DM41
and a whole bunch of the original HP's,

Post Reply