Page 4 of 4

Re: Could someone educate me on options for HEPAX RAM size?

Posted: Mon Feb 22, 2021 8:15 am
by whuyse
Dave Britten wrote:
Sun Feb 21, 2021 2:23 pm
I read an article somewhere - probably PPC Journal - that it's possible to get the 41 to execute programs directly from X-MEM via some synthetic tricks, though it required some care to do this.
Yes, I have done just that - long ago, with a Heapsort program ;-)
And Angel's HEPAX ROM(s) have an instruction XQXM to execute programs residing in X-Memory.

Cheers, Werner

Re: Could someone educate me on options for HEPAX RAM size?

Posted: Mon Feb 22, 2021 9:16 am
by Boub65
Thanks Dave and Whyuse for the "education" about HP41 memory.

Unfortunately, I think that the DM41X learning curve is very steep!

Sincerely,
Boubker.

Re: Could someone educate me on options for HEPAX RAM size?

Posted: Mon Feb 22, 2021 9:49 am
by Ángel Martin
This graphic may be of help as well:

Re: Could someone educate me on options for HEPAX RAM size?

Posted: Thu Feb 25, 2021 8:59 am
by whuyse
The 41X has arrived, thanks SM!
I tried the HEPAX_8H, together with LIB4.
I emptied the filesystem, and now have 1957 free registers in HEPAX memory. That does seem low, no? At 6 words per register, 3926 words per bank, I should have more than 2600 registers. It seems there's a bank missing?

I loaded the _4H module instead, to verify, and now HEPDIR shows nothing, well 'NAME TYPE REGS' in the alpha register, and 0 in the X-reg. This looks like it thinks the printer is connected but the module is not installed and F55 and F21 are Clear.
What to do?

Cheers, Werner

Re: Could someone educate me on options for HEPAX RAM size?

Posted: Thu Feb 25, 2021 2:44 pm
by rprosperi
Ensure there are no modules installed from the Active Modules view ([shift] [setup] [1] [2]) as the HEPAX ROM will try to relocate itself to Page-6.

Use the ROM Map to see what is allocated where - press [CST] [2]

Re: Could someone educate me on options for HEPAX RAM size?

Posted: Thu Feb 25, 2021 3:23 pm
by whuyse
Bob - this is with a brand new out-of-the box DM41X. The only modules are LIB4 and HEPAX, which is in page 6 BTW.
HEPAX_8H seems to be a RAM page short, as it only shows 1957 free registers in HEPAX Memory.
after removing HEPAX_8H and plugging _4H (or 1G, btw), HEPDIR shows 0 and 'NAME TYPE REGS' in alpha.
Thanks, Werner

Ahh cleared page 11 with "OK" 11 CLRAM, which locked up the calculator.
After a reset, and a unplug/plug of the _8H, I have 2610 regs in the FS!
One problem solved ;-) Though the freeze perhaps shouldn't happen?

Re: Could someone educate me on options for HEPAX RAM size?

Posted: Thu Feb 25, 2021 3:52 pm
by Ángel Martin
Afraid the HEPAX_8H.MOD I posted had a problem: a duplicate XROM id# in one of the RAM pages.
BTW you can use the HEXEDIT function to modify said XROM id# at any time - in fact you will need to do that to avoid conflicts with other modules (see HEPAX manual for details).

PS. Great problem solving! And you're right, that freeze should not happen, CLRAM is a "normal" function and the system should not flunk when used.