Post Reply 
CC41 RPN Calculator
11-19-2024, 06:11 PM
Post: #41
RE: CC41 RPN Calculator
(11-19-2024 02:03 AM)Craig Bladow Wrote:  STOST XXX and RCLST XXX
Nice idea. Is this in any module in MCODE?

HP71B 4TH/ASM/Multimod, HP41CV/X/Y & Nov64d, PILBOX, HP-IL 821.62A & 64A & 66A, Deb11 64b-PC & PI2 3 4 w/ ILPER, VIDEO80, V41 & EMU71, DM41X
Find all posts by this user
Quote this message in a reply
11-20-2024, 05:09 PM (This post was last modified: 11-20-2024 06:22 PM by qgrdne.)
Post: #42
RE: CC41 RPN Calculator
Thanks for the feedback Craig and the quick fix.

Most of the programs for the hp-67 also work on the hp-41c.
For easy access, labels “A through E” and “a through e” have special meaning.
For example, pressing the “A” key starts a program from label “A.”
This also works with an hp-41c, if the USER key is activated.
It seems that cc41 does not support this.
Is that a deliberate choice?
Find all posts by this user
Quote this message in a reply
11-20-2024, 08:10 PM
Post: #43
RE: CC41 RPN Calculator
(11-20-2024 05:09 PM)qgrdne Wrote:  Thanks for the feedback Craig and the quick fix.

Most of the programs for the hp-67 also work on the hp-41c.
For easy access, labels “A through E” and “a through e” have special meaning.
For example, pressing the “A” key starts a program from label “A.”
This also works with an hp-41c, if the USER key is activated.
It seems that cc41 does not support this.
Is that a deliberate choice?

Supporting local label execution by typing the label, say "A" followed RETURN in USER mode should be doable. The only reason it hasn't been done yet is I found the USER mode global label execution feature more useful for the way I was using CC41 at the time. The only complication would be that 'b' or 'B' currently works as a shortcut for BST and that would have to change in USER mode.

I've added your request to the features list.

Cheers,
Craig

Try CC41!
Find all posts by this user
Quote this message in a reply
11-20-2024, 08:46 PM
Post: #44
RE: CC41 RPN Calculator
(11-20-2024 08:10 PM)Craig Bladow Wrote:  ... The only complication would be that 'b' or 'B' currently works as a shortcut for BST and that would have to change in USER mode.

Back in the last century when I was using my 41 every day I found annoying that BST was a shifted function, so promptly BST on the TAN key became part of my user setup, same as other programming functions (PROMPT, for example) that I used more often than trigonometric functions. With very small variations it is the setup I use to this day
Find all posts by this user
Quote this message in a reply
11-21-2024, 08:54 AM
Post: #45
RE: CC41 RPN Calculator
Thanks for the reply Craig about the shortcuts.
The shortcuts for SST and BST (s and b) are very convenient.
I wouldn't change that.
The manual “CC41 User Manual.pdf” states that “XEQ TVM” is the same as “.TVM”.
It turns out that “.A” is also a shortcut for “XEQ A”.
So the easy access for “A to E” and “a to e” can be done by placing a dot (“.”) before the local label name. This works independently of the USER mode.
So there is no need to change or modify “cc4”.
Find all posts by this user
Quote this message in a reply
11-21-2024, 11:08 AM
Post: #46
RE: CC41 RPN Calculator
(11-17-2024 06:12 AM)Craig Bladow Wrote:  
(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.

And we must not forget the program launch parameters:
Code:

 CC41 Command Line Options
 The default mode of operation is interactive mode if no options are provided.
 Option  Description
 -i or -I    Start CC41 in interactive mode.
 -l or -L [filename]     Loads a program into memory.
 -x or -X [filename]     Loads a program into memory and begin running it.
 -r or -R [filename]     Restores entire memory from a file, equivalent to READA command.

We can therefore do :
save myprog.txt in the text editor
then
cc41.exe -l myprog.txt

which allowed me to add a link to CC41 in my "41CX interface" !

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
Yesterday, 01:12 AM
Post: #47
RE: CC41 RPN Calculator
(11-20-2024 08:46 PM)born2laser Wrote:  
(11-20-2024 08:10 PM)Craig Bladow Wrote:  ... The only complication would be that 'b' or 'B' currently works as a shortcut for BST and that would have to change in USER mode.

Back in the last century when I was using my 41 every day I found annoying that BST was a shifted function, so promptly BST on the TAN key became part of my user setup, same as other programming functions (PROMPT, for example) that I used more often than trigonometric functions. With very small variations it is the setup I use to this day

Same here! I guess great minds think alike :-)
Find all posts by this user
Quote this message in a reply
Yesterday, 05:21 AM
Post: #48
RE: CC41 RPN Calculator
(11-21-2024 08:54 AM)qgrdne Wrote:  Thanks for the reply Craig about the shortcuts.
The shortcuts for SST and BST (s and b) are very convenient.
I wouldn't change that.
The manual “CC41 User Manual.pdf” states that “XEQ TVM” is the same as “.TVM”.
It turns out that “.A” is also a shortcut for “XEQ A”.
So the easy access for “A to E” and “a to e” can be done by placing a dot (“.”) before the local label name. This works independently of the USER mode.
So there is no need to change or modify “cc4”.

That is good news!

Try CC41!
Find all posts by this user
Quote this message in a reply
Yesterday, 05:45 AM
Post: #49
RE: CC41 RPN Calculator
Improvements made to DOW in CC41 resulted in revised date validation routines that are also used by DDAYS and DATE+. The earliest valid date allowed by the HP 41CX is October 15, 1582, the first day of the Gregorian calendar. Any earlier date results in an OUT OF RANGE or DATA ERROR/X/Y.
October 15, 1582 is accepted as valid by DATE+, DDAYS and DOW as an input but not as a result of a DATE+ operation!

Code:

MDY
10.151582
1
DATE+    (result: 10.161582)
-1
DATE+    (OUT OF RANGE, result: 10.161582)

I get the same result in V41 and on my halfnut 41CX manufactured in 1986.
Surely this is a known bug?

Cheers,
Craig

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




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