Looking for XRCL and XSTO

Discussion around the SwissMicros DM41X calculator
Boub65
Posts: 231
Joined: Tue Sep 12, 2017 4:34 pm
Location: Rabat, Morocco

Looking for XRCL and XSTO

Post by Boub65 »

Hi all,
I am looking to some kind of (efficient) read/write registers from eXtended memory from/to the stack.

In fact I need lots of registers for my program so I thought using directly eXtended memory "as" standard memory whitout the hassle of using "datafiles" and copy/store to main memory...

Looking for XRCL, XRCL IND, XRCL +×÷-, XSTO, XSTO IND, XSTO +×÷-, etc...

I realised that there is a Y memory in the HP41CL and soon in MAXX module (with YSTO and YRCL), but why not just use X memory also (it's standard in DM41X)?

Does XRCL XSTO exist somewhere?
Thanks (and sorry for the "nooby" question)
Sincèrement, Sincerely, 73,
Boubker

DM15L, DM41L, DM42 #00855 (domes upgraded), DM41X #00707
HP48SX (with dark screen), HP42s, HP32SII (1990 with fraction bug), HP41C/CV
TI-89 titanium, CASIO fx-cg50 and Numworks (to play with micropython)
User avatar
HP41CV
Posts: 35
Joined: Sat Sep 04, 2021 10:05 am
Location: Germany

Re: Looking for XRCL and XSTO

Post by HP41CV »

Ángel Martin made a X-Mem Twin Module: "X-Register Management and Stack Swap Functions With Block & Sorting Applications"

This module depends on some other modules (e.g. Lib#4) from Ángel Martin but you get up to 606 Registers in X-Memory!
Stephan
HP41CV/HP71B/HP48GX/DM41X
Boub65
Posts: 231
Joined: Tue Sep 12, 2017 4:34 pm
Location: Rabat, Morocco

Re: Looking for XRCL and XSTO

Post by Boub65 »

HP41CV wrote:
Fri Nov 18, 2022 7:08 pm
Ángel Martin made a X-Mem Twin Module: "X-Register Management and Stack Swap Functions With Block & Sorting Applications"

This module depends on some other modules (e.g. Lib#4) from Ángel Martin but you get up to 606 Registers in X-Memory!
Hey, thanks Stephan!
Where can I get more infos on this Angel Martin's module?
Sincèrement, Sincerely, 73,
Boubker

DM15L, DM41L, DM42 #00855 (domes upgraded), DM41X #00707
HP48SX (with dark screen), HP42s, HP32SII (1990 with fraction bug), HP41C/CV
TI-89 titanium, CASIO fx-cg50 and Numworks (to play with micropython)
User avatar
HP41CV
Posts: 35
Joined: Sat Sep 04, 2021 10:05 am
Location: Germany

Re: Looking for XRCL and XSTO

Post by HP41CV »

Stephan
HP41CV/HP71B/HP48GX/DM41X
Ángel Martin
Posts: 145
Joined: Mon Apr 24, 2017 8:19 pm

Re: Looking for XRCL and XSTO

Post by Ángel Martin »

I don't remember if the XMTWIN module is posted at hp41.org, I should do it next - but in the mean time you can get the ROM/MOD files from here.
The manual is available at: https://www.systemyde.com/hp41/documents.html
Attachments
XMTWIN.zip
(19.46 KiB) Downloaded 159 times
User avatar
HP41CV
Posts: 35
Joined: Sat Sep 04, 2021 10:05 am
Location: Germany

Re: Looking for XRCL and XSTO

Post by HP41CV »

Great Ángel for chiming in!

Indeed it was not (yet) posted there, no idea where I got it from.
Stephan
HP41CV/HP71B/HP48GX/DM41X
Boub65
Posts: 231
Joined: Tue Sep 12, 2017 4:34 pm
Location: Rabat, Morocco

Re: Looking for XRCL and XSTO

Post by Boub65 »

Thank you Ángel and Stephan for your replies.
Sincèrement, Sincerely, 73,
Boubker

DM15L, DM41L, DM42 #00855 (domes upgraded), DM41X #00707
HP48SX (with dark screen), HP42s, HP32SII (1990 with fraction bug), HP41C/CV
TI-89 titanium, CASIO fx-cg50 and Numworks (to play with micropython)
Boub65
Posts: 231
Joined: Tue Sep 12, 2017 4:34 pm
Location: Rabat, Morocco

Re: Looking for XRCL and XSTO

Post by Boub65 »

Ángel Martin wrote:
Sat Nov 19, 2022 7:45 am
I don't remember if the XMTWIN module is posted at hp41.org, I should do it next - but in the mean time you can get the ROM/MOD files from here.
The manual is available at: https://www.systemyde.com/hp41/documents.html
Ángel... any way these memory extension routines could find there way in Monte's MAXX module?
It all about managing "more" memories! No?
(aka adding XSTO/XRCL to YSTO/YRCL)
Or do you think is is useless because we have then the Y-memory and should let the X-memory for files?
Sincèrement, Sincerely, 73,
Boubker

DM15L, DM41L, DM42 #00855 (domes upgraded), DM41X #00707
HP48SX (with dark screen), HP42s, HP32SII (1990 with fraction bug), HP41C/CV
TI-89 titanium, CASIO fx-cg50 and Numworks (to play with micropython)
Ángel Martin
Posts: 145
Joined: Mon Apr 24, 2017 8:19 pm

Re: Looking for XRCL and XSTO

Post by Ángel Martin »

Boub65 wrote:
Sat Nov 19, 2022 12:08 pm
Ángel... any way these memory extension routines could find there way in Monte's MAXX module?
It all about managing "more" memories! No?
(aka adding XSTO/XRCL to YSTO/YRCL)
Or do you think is is useless because we have then the Y-memory and should let the X-memory for files?
In the MAXX there's the capability to load up to 12 4k-blocks of RAM with instructions (a.k.a Q-ROM), so nothing will stop you from using one of those blocks for the XMTWIN indeed, so it's all good ;-)

I think it's not redundant to have the Y-Funs (from the MAXX itself) and the X-Funs (from the XMTWIN) together, to each one its own.

And as you have probably realized from the manual there are two types of X-Mem Register access offered in the XTWIN module:
1. using the complete X-Mem area as a single memory pool, or
2. within each X-Mem DATA file independently (so the rest of X-Mem is not disturbed)

So it's all about having choices, and don't we all love that?

Cheers,
ÁM
User avatar
HP41CV
Posts: 35
Joined: Sat Sep 04, 2021 10:05 am
Location: Germany

Re: Looking for XRCL and XSTO

Post by HP41CV »

Ángel Martin wrote:
Sat Nov 19, 2022 7:45 am
I don't remember if the XMTWIN module is posted at hp41.org, I should do it next - but in the mean time you can get the ROM/MOD files from here.
The manual is available at: https://www.systemyde.com/hp41/documents.html
Thanks for posting at hp41.org!

Found a bug: CLXRG shows "FL NOT FOUND" and X-Reg 127 (decimal) is set to -1, all others untouched

Is there also a manual for the XMMTRX.MOD available?
Stephan
HP41CV/HP71B/HP48GX/DM41X
Post Reply