1,024 additional Registers on the CL
|
08-14-2016, 08:51 PM
Post: #41
|
|||
|
|||
RE: 1,024 additional Registers on the CL
Excellent!
|
|||
08-14-2016, 09:50 PM
Post: #42
|
|||
|
|||
RE: 1,024 additional Registers on the CL | |||
08-15-2016, 05:36 AM
(This post was last modified: 08-19-2016 09:13 AM by Ángel Martin.)
Post: #43
|
|||
|
|||
RE: 1,024 additional Registers on the CL
And here's the new kid on the block. Updated manual will follow.
Remember: CL only , functions won't do any action on non-CL (but there's no risk of ML if you tried). and there's no such thing as bug-free software, so pls. report issues and we'll get them corrected as soon as possible. "To live or die by your own sword one must first learn to wield it aptly." |
|||
08-16-2016, 09:14 PM
Post: #44
|
|||
|
|||
RE: 1,024 additional Registers on the CL
Typo in manual: 1,2024 should be 1,024. :-)
Program below will clear a selective block of Y registers rather than all of them as CLYRG would do. It is simply the BC routine from the PPC rom changed to use the Y registers. Input is a control word bbb.eee.ii, where ii is the increment used to clear registers 1, 2, 3, etc. apart. Default of 01 (which would be left off the control word completely) would clear all Y registers between bbb and eee inclusive. A value of 02 for ii would clear every OTHER register. A value of 05 would clear every fifth register, etc. Code: LBL YBC Think that should work. NOTE: The actual code would put a four digit number after the YSTO instruction which I have left out. Of course, the same modifications can be made to BI, BE, BM, etc., from the PPC rom. |
|||
08-17-2016, 12:28 PM
Post: #45
|
|||
|
|||
RE: 1,024 additional Registers on the CL
1) PWRX was updated. What was changed or added? :-)
2) Angel, I'm sure the answer is "No", but I might as well ask. Is there room in XPMM for some of these Y register routines? I know the FAT appears full, but is there room in the rom at all for things like -- S2 (at least) or -- YBC (posted previously) -- YBM or YBE (similar) or is life short and rom full ? :-) Great work as always, but I might as well ask. It's one of my missions in life it seems. speaking of asking... 3) Think on this for a bit. Now that you have conquered the 41C data register limit, what is the best/easiest way to overcome the 319 register program limits? I know PRWX/OSX3 have ways to execute programs in extended memory subject to some conditions, but what's the best way for a vanilla 41CL and a relatively novice 41CL user to save programs of their own into an enlarged space and execute them more or less at will? I have these ideas already: a) The Extended memory approach above. b) Hepax - create programs in Hepax ram and then save the Hepax page to a ram page then copy to a rom page. Plug the Hepax page in and execute your programs. c) Some better way Angel may think about... :-) |
|||
08-17-2016, 07:51 PM
(This post was last modified: 08-17-2016 07:52 PM by Ángel Martin.)
Post: #46
|
|||
|
|||
RE: 1,024 additional Registers on the CL
(08-17-2016 12:28 PM)Gene Wrote: 1) PWRX was updated. What was changed or added? :-) I'll address the easy parts first... 1. the new PWRX has an updated module list under CLLIB and ROMLIB. It was seriously out of date, and besides some addresses have changed since. 2. Rather than wedging a routine or two, how about putting together a module with Y-versions of all your favorite routines? You can use the HEPAX to compile then, after modification and testing - then shoot the hepax RAM image over to me and I'll padd the header/FAT.etc... Deal? "To live or die by your own sword one must first learn to wield it aptly." |
|||
08-18-2016, 10:49 AM
Post: #47
|
|||
|
|||
RE: 1,024 additional Registers on the CL
(08-17-2016 12:28 PM)Gene Wrote: 3) Think on this for a bit. Now that you have conquered the 41C data register limit, what is the best/easiest way to overcome the 319 register program limits? I'll definitely go for "b)" above. First, running stuff in X-Mem is very limited to the individual chunks of X-Mem - not across divides. Second, the OS is very picky about where X-Mem can be located, and the locations are hard-coded, so forget about using the upper RAM blocks... HEPAX is your best friend here! "To live or die by your own sword one must first learn to wield it aptly." |
|||
08-18-2016, 01:13 PM
Post: #48
|
|||
|
|||
RE: 1,024 additional Registers on the CL
And that's what I thought. Perhaps if I can, I'll write a guide on how to create your own "pretend" roms aka Hepax ram pages with programs.
Just wish you could create a hepax page of programs and be able to run them *without* the space the Hepax rom itself takes up. |
|||
08-18-2016, 01:55 PM
(This post was last modified: 08-18-2016 01:56 PM by Ángel Martin.)
Post: #49
|
|||
|
|||
RE: 1,024 additional Registers on the CL
(08-18-2016 01:13 PM)Gene Wrote: And that's what I thought. Perhaps if I can, I'll write a guide on how to create your own "pretend" roms aka Hepax ram pages with programs. It's not too bad, only 4k footprint that you can tuck away in page#6 or #7... BTW on the "other" subject - I'm modifying the CLXPREGS module to include Y-versions of the X-Functions trio: REGMOVE, REGSWAP, and CLRGX... but you're not off the hook for the "Y-applications" module with all your favorite routines converted from the PPC ROM and others... ;-) "To live or die by your own sword one must first learn to wield it aptly." |
|||
08-18-2016, 02:34 PM
Post: #50
|
|||
|
|||
RE: 1,024 additional Registers on the CL
Haha. Good.
What about a YSORT routine? Even if not S2. A short bubble sort even in the module would be useful. I'll work on the routines. :-) |
|||
08-19-2016, 03:00 PM
(This post was last modified: 08-23-2016 05:42 AM by Ángel Martin.)
Post: #51
|
|||
|
|||
RE: 1,024 additional Registers on the CL
Newsflash update - two more Y-Regs functions made it to the CLXMEM module: A<>YRG and ST<>YRG for a block-exchange of Y-registers with ALPHA or the Stack.
With these the module is complete, and all the Page Management functions are now gone (they were duplicates of the same functions in the PowerCL so not a big deal). I've started to prepare the Y-applications ROM, mostly with Y-versions of all the block register functions from the PPC. So far the count is up to 30 of those... It's easy to modify them, and the "data" is now in the expanded registers. But the choice of where to use the control registers from has two possibilities: 1. use the standard registers, as in the original routines. The advantage of this choice is you have 1,024 registers for the "data', all available. 2. use also expanded registers for the control. Here the advantage is you can run the routines with SIZE 000, at the cost of a few expanded registers for control parameters. Preferences, anyone? "To live or die by your own sword one must first learn to wield it aptly." |
|||
08-23-2016, 05:33 AM
(This post was last modified: 08-26-2016 05:29 AM by Ángel Martin.)
Post: #52
|
|||
|
|||
RE: 1,024 additional Registers on the CL
Bug report: Stack lift was performed by the RCL Math functions - which of course it shouldn't. Duly corrected, new version is attached.
Besides fixing that glitch the following new functions have been included: YARC _ _ _ = Expanded Reg ARCL; supports IND, IND_ST, and IND_RG YAST _ _ _ = Expanded Reg ASTO; supports IND, IND_ST and IND_RG YRGMOV = Expanded Regs RGMOVE; takes cnt'l word from X YRGSWP = Expanded Regs RGSWAP; takes the cnt'l word from X CLYRGX = Expanded Regs CLRGX; takes the cnt'l word from X A<>YRG _ _ _ = exchanghes ALPHA and Expanded Regs; in prompt or X ST<>YRG _ _ _ = exchanges Stack and Expanded Regs; in prompt or X Now the set is really complete to the full extent of the word. But there's more: putting the finishing touches to the "YRGS_APPS" ROM, a module with Y-versions of sorting and array programs from the PPC ROM and JM Baillard's Matrix collection. Real-life examples of the new functions sets put to work full speed ahead; getting the juice out of those 1,024 registers at last! And going the extra-extra mile, this ROM includes three MCODE functions for Matrix Product, Matrix Trace and Matrix Norm (from Jean-Marc's web site) adapted to the Expanded Registers range - nice icing on the cake if you ask me... Exciting times for CL owners, you're the lucky bunch :-) "To live or die by your own sword one must first learn to wield it aptly." |
|||
08-23-2016, 02:49 PM
Post: #53
|
|||
|
|||
RE: 1,024 additional Registers on the CL
Great news! Looking forward to seeing these.
|
|||
08-24-2016, 09:36 AM
(This post was last modified: 08-24-2016 10:44 AM by Ángel Martin.)
Post: #54
|
|||
|
|||
RE: 1,024 additional Registers on the CL
(08-23-2016 02:49 PM)Gene Wrote: Great news! Looking forward to seeing these. Here is a teaser:- you should be familiar with the PPC routines which have the "Y" prefix in their names below. For JMB Matrix refer to the links in the previous post. Testing is pretty much done, will post the ROM shortly... Code:
PS. what a mess of listing, wouldn't it be nice if the [code] feature supported copy-paste from EXCEL??? "To live or die by your own sword one must first learn to wield it aptly." |
|||
08-26-2016, 05:34 AM
(This post was last modified: 08-26-2016 08:34 AM by Ángel Martin.)
Post: #55
|
|||
|
|||
RE: 1,024 additional Registers on the CL
It's all done folks, two ROM images and updated manual can be downloaded from Monte's web site:
http://systemyde.com/pdf/CL_Expanded_Mem...lities.pdf http://systemyde.com/hp41/files.html (select 2016) Last minute addition includes Matrix conversions between Expanded Region and standard registers (using HP41 Advantage's convention), as well as Y-Matrix editors YMSTO and YMRCL. Thanks again to Jean-Marc Baillard for his Matrix programs. Enjoy, 'AM "To live or die by your own sword one must first learn to wield it aptly." |
|||
08-26-2016, 04:22 PM
Post: #56
|
|||
|
|||
RE: 1,024 additional Registers on the CL
(08-26-2016 05:34 AM)Ángel Martin Wrote: It's all done folks, two ROM images and updated manual can be downloaded from Monte's web site: Angel - Do you ever sleep or have a job? Thanks for another beautiful and useful CL ROM and manual! --Bob Prosperi |
|||
08-26-2016, 05:10 PM
Post: #57
|
|||
|
|||
RE: 1,024 additional Registers on the CL
Great! I'm glad to have helped prod you with an idea or two that you so expertly turned into a complete applications rom.
Bravo. Now, about those HP 67 games solution packs and books... :-) |
|||
08-27-2016, 09:10 AM
(This post was last modified: 08-27-2016 09:12 AM by Ángel Martin.)
Post: #58
|
|||
|
|||
RE: 1,024 additional Registers on the CL
(08-26-2016 04:22 PM)rprosperi Wrote: Angel - Do you ever sleep or have a job? Thanks for another beautiful and useful CL ROM and manual! It's summer break ;-) (08-26-2016 05:10 PM)Gene Wrote: Bravo. Summer break is not long enough! ;-) "To live or die by your own sword one must first learn to wield it aptly." |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 5 Guest(s)