Post Reply 
CC41 RPN Calculator
11-15-2023, 10:48 PM
Post: #21
RE: CC41 RPN Calculator
v0.45.01 alpha can now be downloaded from the GitHub link in the first post or in my signature below.

Many thanks to Allen for letting me know about issues with DEC and OCT.

Changes in this release include:
OCT and DEC changed to return DATA ERROR for non-integer input and leave the X register unchanged.
OCT and DEC changed to allow conversion of negative numbers.
DEC changed to return DATA ERROR for input containing digits 8 and 9 and leave the X register unchanged.
OCT and DEC changed to return DATA ERROR for inputs greater than 281,474,976,710,655 for OCT and 7,777,777,777,777,777 for DEC.
MOD function revised from C math libray % behavior, now matches HP-41CX behavior for negative operands.
RND function fixed regression so RND uses calculator precision. Added RND to regression tests.
Rounding in SCI and ENG display modes implemented.
X<>F changed to return DATA ERROR for values greater than 255.

Try CC41!
Find all posts by this user
Quote this message in a reply
11-16-2023, 10:33 PM
Post: #22
RE: CC41 RPN Calculator
(11-15-2023 10:48 PM)Craig Bladow Wrote:  v0.45.01 alpha can now be downloaded from the GitHub link in the first post or in my signature below.

Many thanks to Allen for letting me know about issues with DEC and OCT.

DEC changed to return DATA ERROR for input containing digits 8 and 9 and leave the X register unchanged.

My favorite section of K&R 2nd edition, found in the summary of changes:
Everyone's favorite trivial change: 8 and 9 are not octal digits.
Find all posts by this user
Quote this message in a reply
11-27-2023, 09:48 PM
Post: #23
RE: CC41 RPN Calculator
Well done ! Congratulations on this program.
getp / savep / path : great for using all my programs!
After "savep" programmes tested with my "41CX interface"
- barcode for HP41C OK!
- RAW for go41X, VB41CX and V41 emulators OK!
- RAW for DM41X OK!
- dump for DM41L and PX41CX OK!
(My interface on http://clones.phweb.me)

Just a little lack : being able to assign functions to the F1 to F12 keys on my keyboard (ASN?)

http://ti58c.phweb.me
http://clones.phweb.me
http://www.instagram.com/ti58c
"No! Do or Do not. There is no try!" [Master Yoda]
Visit this user's website Find all posts by this user
Quote this message in a reply
11-28-2023, 10:48 PM
Post: #24
RE: CC41 RPN Calculator
(11-27-2023 09:48 PM)Pierre Wrote:  Well done ! Congratulations on this program.
getp / savep / path : great for using all my programs!
After "savep" programmes tested with my "41CX interface"
- barcode for HP41C OK!
- RAW for go41X, VB41CX and V41 emulators OK!
- RAW for DM41X OK!
- dump for DM41L and PX41CX OK!
(My interface on http://clones.phweb.me)

Just a little lack : being able to assign functions to the F1 to F12 keys on my keyboard (ASN?)
Thank you Pierre for your kind words. I’m glad you’ve found some of the more recent feature additions useful.
For F1-F12 I would recommend finding a utility that will insert the desired characters when a function key is pressed as CC41 gets the typed instructions from the OS only after the RETURN key is pressed. AutoHotkey for Windows comes to mind. There should be similar programs for MacOS and Linux.
Cheers,
Craig

Try CC41!
Find all posts by this user
Quote this message in a reply
08-31-2024, 06:47 PM
Post: #25
RE: CC41 RPN Calculator
v0.45.02 alpha can now be downloaded from the GitHub link in the first post or in my signature below.

Changes in this release include:

POSA corrected for some situations where incorrect values were returned.
Implemented inital functionality to support Flag 25, Data Error Ignore.
Prefacing a global label with '.' is a shortcut for XEQ. No intervening space character is required. For example, instead of XEQ TVM, typing .TVM will execute the label. This shortcut works in programs as well, but is expanded by LIST or SAVEP.
Implemented ERRNO which returns a number corresponding to the last error.
Changed initial error and last error state to MEMORY LOST , if lost (see Flag 59 explanation in the manual).
New command CLERR to reset the error number to 0 indicating no error.
New command XAIL executes one or more commands contained in the ALPHA register In Line. XAIL stands for "eXecute Alpha In Line".
When USER mode is enabled the prompt changes from ">" to "USER>" instead of a message being printed out to the terminal.
Fixed issue with XEQ starting a program even when a label wasn't found.

Cheers,
Craig

Try CC41!
Find all posts by this user
Quote this message in a reply
09-12-2024, 02:15 AM (This post was last modified: 09-12-2024 02:20 AM by Craig Bladow.)
Post: #26
RE: CC41 RPN Calculator
v0.45.03 alpha can now be downloaded from the GitHub link in the first post or in my signature below.

Changes in this release include:
MOD updated to work with fractional inputs.
TRACE mode now indicated by prompt changing to "TRACE>".

Try CC41!
Find all posts by this user
Quote this message in a reply
09-13-2024, 11:39 PM
Post: #27
RE: CC41 RPN Calculator
I'm not seeing a binary release package for 0.45.03 alpha. All I see is the source code release (which is incomplete; it only seems to have source code for a couple HP-41 programs and the .md file for generating the documentation, so nothing I can use to build the binaries).
Visit this user's website Find all posts by this user
Quote this message in a reply
09-14-2024, 03:48 AM
Post: #28
RE: CC41 RPN Calculator
(09-13-2024 11:39 PM)Eric Rechlin Wrote:  I'm not seeing a binary release package for 0.45.03 alpha. All I see is the source code release (which is incomplete; it only seems to have source code for a couple HP-41 programs and the .md file for generating the documentation, so nothing I can use to build the binaries).

Eric, thanks for letting me know, I've added the zip file containing the executables (binaries) and user manual in v0.45.03_alpha.zip.

Try CC41!
Find all posts by this user
Quote this message in a reply
11-15-2024, 10:26 AM
Post: #29
RE: CC41 RPN Calculator
Hello Craig,

I have downloaded the latest version of cc41 (Version 0.45.03 Alpha) from:
https://github.com/CraigBladow/cc41
Button "Code", 'Download ZIP'.
After unzipping the zip file, I see the following:
- 41_programs
- CC41 User Manual.pdf
- README.md

There is no executable (cc41.exe) as with the previous versions.
Am I doing something wrong, or is it possible to make a cc41.exe available.

Greetings,
J. Groenendijk
Find all posts by this user
Quote this message in a reply
11-15-2024, 12:42 PM
Post: #30
RE: CC41 RPN Calculator
Hi, qgrdne

Move mouse down a bit, to the right, for the section on Releases.
Find all posts by this user
Quote this message in a reply
11-15-2024, 03:46 PM
Post: #31
RE: CC41 RPN Calculator
As Albert mentioned click on the "v.0.45.03_alpha" on the right hand lower side of the page. On the next page click on "v.0.45.03_alpha.zip" and ignore the items under "Assets".
   

Try CC41!
Find all posts by this user
Quote this message in a reply
11-15-2024, 05:50 PM
Post: #32
RE: CC41 RPN Calculator
Thanks!
This works, I've downloaded the "exe".
Find all posts by this user
Quote this message in a reply
11-17-2024, 04:51 AM
Post: #33
RE: CC41 RPN Calculator
Hi,

I have tried this emulator.
basic calculation is fine, I like it. and I turn on the continuous memory

but a have a question. how to input a program?
I can not find the right way to input a program.

please give me some information on how to input a program like real 41CX.
thanks!
Find all posts by this user
Quote this message in a reply
11-17-2024, 05:29 AM
Post: #34
RE: CC41 RPN Calculator
I found the way.

1, edit the program in text editor.
2, save the file as *.P41
3, getp "*.P41"

that is great!
Find all posts by this user
Quote this message in a reply
11-17-2024, 06:12 AM
Post: #35
RE: CC41 RPN Calculator
(11-17-2024 05:29 AM)zixingcheche Wrote:  I found the way.

1, edit the program in text editor.
2, save the file as *.P41
3, getp "*.P41"

that is great!

I'm glad you got it working, CC41 doesn't require a specific filename extension, as long as the file is a text file.

Try CC41!
Find all posts by this user
Quote this message in a reply
11-18-2024, 01:12 PM
Post: #36
RE: CC41 RPN Calculator
I also initially failed to load a program with “cc41”, but the presentation at HHC2021 made a lot clear.
See “HHC 2021: CC41 A Touch Typists Calculator (Craig Bladow)”:
https://www.youtube.com/watch?v=CUvFmkcpVys

Time 10:33 shows how to load a program.
> "count.p41" getp list
cc41.exe loads the program and displays the program lines.
Command “list” (optional) as last argument shows the lines of the program.

I have a little problem using the “dow” (day of the week) command.
> dow
returns:
MON
DATA ERROR
x:[value] y:[value] z:[value] etc....
Monday is good, but why does cc41 show a "data error"?

And:
> 01.012025 dow
also indicates:
MON
DATA ERROR
x:[value] y:[value] z:[value] etc....
I would expect WED for Jan 1, 2025.

Should the command “dow” be used in a different way?
Find all posts by this user
Quote this message in a reply
11-18-2024, 03:20 PM
Post: #37
RE: CC41 RPN Calculator
qgrdne,
Thanks for reporting this. I'm seeing MON instead WED also. What operating system and version are you using? I'm not seeing the DATA ERROR on MacOS or Linux and don't have access to Windows at the moment.

Cheers,
Craig

Try CC41!
Find all posts by this user
Quote this message in a reply
11-18-2024, 04:37 PM
Post: #38
RE: CC41 RPN Calculator
(11-18-2024 03:20 PM)Craig Bladow Wrote:  qgrdne,
Thanks for reporting this. I'm seeing MON instead WED also. What operating system and version are you using? I'm not seeing the DATA ERROR on MacOS or Linux and don't have access to Windows at the moment.

Cheers,
Craig

Tested on Windows 7 Pro 64-bit :

[Image: cc41_dow.jpg]

http://ti58c.phweb.me
http://clones.phweb.me
http://www.instagram.com/ti58c
"No! Do or Do not. There is no try!" [Master Yoda]
Visit this user's website Find all posts by this user
Quote this message in a reply
11-18-2024, 05:07 PM (This post was last modified: 11-18-2024 05:08 PM by qgrdne.)
Post: #39
RE: CC41 RPN Calculator
Specifications:
Edition Windows 11 Home
Version 23H2
Installation date 27-4-2023
Build of operating system 22631.4317
Experience Windows Feature Experience Pack 1000.22700.1041.0

Processor Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz 1.80 GHz
System type 64-bit operating system, x64 processor

Hope this helps.
Find all posts by this user
Quote this message in a reply
11-19-2024, 02:03 AM
Post: #40
RE: CC41 RPN Calculator
I'll have to see if I can reproduce the DATA ERROR on Windows 10. I looked at the code for DOW and it appears that I never fully finished it. It ignores the current day and uses the current clock date so when you run 1.012025 DOW tomorrow you should get TUE. Smile

The release for the fix will also include some new features including new commands STOST XXX and RCLST XXX which save and recall stack registers X,Y,Z,T, and L in a series of memory registers beginning at XXX.

Cheers,
Craig

Try CC41!
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 5 Guest(s)