This week's contributions to download:
C43 Simulator for Windows: https://classic43.com/downloads/C43_EMU ... _Rel41.zip
Thanks Dani for the help!
C43 DM42 software image file: https://classic43.com/downloads/C43_41L2.zip
Added to the BASE menu functionality:
- Added selectable
display mode for 1-3 lines of X display for short integers. I made the calculator default to two lines, leaving 2 lines for the stack X and Y. That can change in DISP Up f[FN3]. I found that I prefer two lines of the stack, but you can change that. See the grey image below, with two stack items, and two X register duplications on top.
- Added RAPo’s
little/big endian conversions to his proposed BASE screen
(SWAP.B & SWAP.W). We hope this is what you intended.
- Updated to the bugfixes done by Martin for 43S, including the HP16C-like handling of integer memories.
Added to the XEQM RPN code interpreter
- Changed the default names for the 18 user defined XEQM buttons from XEQM01..18 to X1..X18 instead. See in the green image below.
- Refined the XEQM command interpreter, and accordingly revved up all sample user XEQM RPN sample programs.
- Added a break out keypress, to exit from an endless (or long) loop in XEQM RPN code. Any key pressed will abort the currently running program.
- Added a TEST program on XEQM g[FN6] for fun, which plays with a ‘forensic’ test similar to the traditional forensic test. See below.
Illustration of a big/little endian swap in the sample 32-bit word, this example done with SWAP.Bytes
Other small changes:
Conversions: mmHg -> Pa conversion factor. 43S team chose pascal = mm.Hg × 133.3224 whereas I chose for C43 pascal = mm.Hg × 13.5951 × 9.80665. This is the conclusion of this discussion starting here viewtopic.php?f=2&t=2491&hilit=mmhg
. A real meaningless difference between these constants ...
The 43S ‘+’ operator only works to add a number X to a string Y, and I added functionality on the C43 to concatenate a string in X to a number in Y. This is used to build strings in program output, see in the forensics program below.
Forensic test fun:
As mentioned above, I played with the old ‘forensic’ test mentioned in footnote 69 of Walter’s Reference Manual
on p164, but I amplified it significantly by adding more functions without repeats. I added as much of the on-keyboard math functions to see how much the accuracy of the C43 and hence the WP43S will suffer due to repeated transcendentals and rounding. I do bear in mind it is a nonsensical equation, but it has been calculated millions of times I suppose, since Mike Sebastian coined the term here https://www.rskey.org/~mwsebastian/misc ... ensics.htm
To be fair, I tried to ‘break’ the accuracy due to massive propagation of rounding and numeric errors. But it does not really successfully ‘break’ the 43, as the result shows below. You will see the formula deflects symmetrically after the cuberoot function and then reverses in sequence, the inverse functions for the 13 functions performed. (The PI in there is a 34 digit constant in the constants table).
Code: Select all
XEQC43 XEQLBL FF TEST
ERPN DOTD DEG CLSTK TICKS STO 00 DROP
SIN COS TAN 1/X SQRT LOG10 LN 2^X SINH COSH TANH PI Y^X CUBRT
X^3 PI XRTY ARCTANH ARCCOSH ARCSINH LOG2 E^X 10^X X^2 1/X ARCTAN ARCCOS ARCSIN
ENTER 9 - ALPHA "DIFFERENCE FROM 9 IS " EXIT X<>Y +
ALPHA "AND TOOK " EXIT TICKS RCL 00 - 10 / + ALPHA " SEC" EXIT +
Sample of the XEQM softmenu, example "TEST" top right.
The BASE menu which kept us busy for a few weeks now was summarised on a few pages. See the two page draft BASE menu writeup