The Museum of HP Calculators

HP Forum Archive 21

[ Return to Index | Top of Index ]

HP-41 New versions of your favorite modules - with an AOS twist :-)
Message #1 Posted by 聲gel Martin on 18 June 2013, 8:03 a.m.

Hi Folks, in case you're interested here's a short detail of the new versions/modules just released:

1. Bank-switched AMC_OS/X, adding a second bank with some powerful stuff to the all-time favorite AMC_OS/X (itself a derivative of the CCD_OS/X, which was extracted from the original CCD Module by Raymond del Tondo). It uses the Library#4, so no changes there. All functions in the second bank are also included in the PowerCL, but now you can burn them in your Nov64 without reaching the 4-page limit.

2. An independent 4k module with the PROGram Generator application from the ACEROM - in its own self-contained package, i.e. no Library#4 or any other requirement. If you're not familiar with PROG you're in for a surprise - worth checking out to see what those folks (Nelson F. Crowle et al) came up with, a huge sized code stream nearing 3k (likely the largest it has ever been). And don't miss the AECROM manual posted at TOS. BTW this 4k module also includes the Hyperbolic functions for a complete experience.

3. A tweak on #1 above, adding a third bank with the PROGram generator on it(!). Granted this is a bit of an extravaganza, but who said it couldn't be done? Its size and particulars make it the *ideal* candidate for a bank-switched implementation, so here it is. This one too can be burned on the Nov-64 without problems (4 blocks in total with Lib#4 included). This particular one "connects" with the SandMath for the hyperbolic functions, in case you wonder.

Looks like all those hours spent staring at the code are finally coming to fruition - hope you enjoy it.

Cheers, 簍

PS. forgot to mention that with #3 plugged in my CL now has 116k ROM on-line footprint... I like it when a plan works.

Edited: 18 June 2013, 10:33 a.m.

      
Re: HP-41 New versions of your favorite modules - with an AOS twist :-)
Message #2 Posted by Diego Diaz on 18 June 2013, 12:33 p.m.,
in response to message #1 by 聲gel Martin

Hi 聲gel, all,

Your "surprises" are always welcome.

I can hardly imagine what would you be able to get out of an 8 ROM page NoV-64... ;-)

Enjoy your success, we do!.

All the best.

Diego.

            
Re: HP-41 New versions of your favorite modules - with an AOS twist :-)
Message #3 Posted by Michael Fehlhammer on 19 June 2013, 5:23 a.m.,
in response to message #2 by Diego Diaz

Thank you Angel for the new pearls! I am particularly delighted to see you programming for Nov64! :-)

And yes indeed, Diego, it would be very nice to have an 8 ROM pages Nov64! Or an 8 ROM pages Clonix, capable of turbo speed! :-)

      
Re: HP-41 New versions of your favorite modules - with an AOS twist :-)
Message #4 Posted by Massimo Gnerucci (Italy) on 18 June 2013, 3:09 p.m.,
in response to message #1 by 聲gel Martin

Wow 聲gel, you are a true Mcode wizard (not that anybody could argue about it).
As usual a "Thank you" is just the minimum wage... :)

Greetings,
Massimo

Edited: 19 June 2013, 2:35 a.m.

      
Re: HP-41 New versions of your favorite modules - with an AOS twist :-)
Message #5 Posted by 聲gel Martin on 19 June 2013, 2:05 p.m.,
in response to message #1 by 聲gel Martin

Glad to see this caught your attention... I have to let you know that an even better enhancement is *coming-very-soon*...

I got it working in two different scenarios, but want to be absolutely sure before spilling the beans :-)

Here's a hint:

Quote:
I can hardly imagine what would you be able to get out of an 8 ROM page NoV-64... ;-)

well, this one would need nine (9x)!!

My CL has now 120 kB ROM on-line... ahh the sweet taste of success!

To be continued... soon!

Edited: 19 June 2013, 2:10 p.m.

            
Re: HP-41 New versions of your favorite modules - with an AOS twist :-)
Message #6 Posted by Diego Diaz on 20 June 2013, 2:55 p.m.,
in response to message #5 by 聲gel Martin

Did you say 9x?

Ok, let's go for a 12x (3 pages, 4 banks each) configuration available for the NoV-64 and Clonix-D. Will this allow room enough for further development? ;-)

Drawback... no HEPAX running... :-(

Or, 8x including HEPAX (2 pages 4 banks each) say #C & #D plus any RAM page used like Q-ROM. Remember the RAM in the NoV-64 is non-volatile and there are 16 such pages available and SW swappable.

The HEPAX emulation can't run on 2x speed machines (sorry Michael) but there are chances to have a Clonix-41/D on real 2x (not 1.7x).

I'll mail you in the next weeks for beta testing.

Cheers from Dominican Republic.

Diego.

                  
Re: HP-41 New versions of your favorite modules - with an AOS twist :-)
Message #7 Posted by Angel Martin on 20 June 2013, 5:33 p.m.,
in response to message #6 by Diego Diaz

Will this be an optional configuration, i.e. either 12 or 8 pages, selectable at burn time?

Here's the tally for the pages needed and their "owners":

1. 1x page for the Library#4
2. 3x pages for the AMC_OS/X, as per the beginning of this thread
3. 5x pages for the new SandMath (!)

Yes, five pages for the SandMath - anybody guess what's the new addition?? The final obstacle is resolved now (was a bear to handle), but I just removed the remaining limitation so it's about to be a reality...

teaser: honoring its name, the newcomer holds the stuff that originally used the sentence: "Mathematics written in Sand" :-)

                        
Re: HP-41 New versions of your favorite modules - with an AOS twist :-)
Message #8 Posted by Michael Fehlhammer on 20 June 2013, 5:50 p.m.,
in response to message #7 by Angel Martin

5 pages? That means: 4 bank-switched pages on page C, for example, and one residing on page D? Or did you create an extended bank-switching scheme, including new opcodes, to support 5 banks on one page?? :-) If you expanded "SandMath" to use the upper page, then we will see versions with 6, 7, and finally 8 pages soon, I bet. You won't rest before you will have accomplished the utmost 8-pages-module.

                  
Re: HP-41 New versions of your favorite modules - with an AOS twist :-)
Message #9 Posted by Michael Fehlhammer on 20 June 2013, 5:59 p.m.,
in response to message #6 by Diego Diaz

Diego, did I understand you correctly: The new 8-rom-pages version of Nov64 allows ram pages to be "plugged" into page E or page F, for example? Or are ram pages limited to pages 8 to B, like it's the case now? Then pages E and F would always remain empty, which might not be the best solution.

                        
Re: HP-41 New versions of your favorite modules - with an AOS twist :-)
Message #10 Posted by Diego Diaz. on 20 June 2013, 7:54 p.m.,
in response to message #9 by Michael Fehlhammer

Hi again 聲gel, Michael,

Thanks for the advance of the upcoming improvements 聲gel.

Can you put some more detail on the bank structure of this pages?

Michael, to your question, I mean that pages #C & #D are an easy target for 4-banked modules, #E & #F are suitable for physical modules, or they can be used if not all the banks are full in pages #C/#D.

Since RAM structure in HEPAX file system requires a *chain* it is not advisable to split it between pages #8-#B and/or #E-#F, I think it is preferrable to keep RAM "all-in-a-row".

This is for now a developing project, so there are many chances to adjust details as required, and whatever the choices I forecats many hours of enjoyment! :-)

All the best from Caribbean.

Diego.

                              
Re: HP-41 New versions of your favorite modules - with an AOS twist :-)
Message #11 Posted by 聲gel Martin on 21 June 2013, 2:09 a.m.,
in response to message #10 by Diego Diaz.

This is probably nonsense, since I don't have a good understanding on the underpinnings of the Nov64 - but here it comes, pls. ignore it if it's stupid.

I wonder if there'd be any benefit in reducing the number of HEPAX RAM pages, moving some (say two) to the ROM sections, so the module could have 6x pages ROM plus 2x for HEPAX RAM.

I don't mean changing the chips of course, just using 2 of the RAM blocks for ROM purposes.

                        
Re: HP-41 New versions of your favorite modules - with an AOS twist :-)
Message #12 Posted by 聲gel Martin on 21 June 2013, 2:02 a.m.,
in response to message #9 by Michael Fehlhammer

Hi guys, sorry I wasn't clear in the previous post, let me elaborate.

No, I have not invented/discovered a way to add a fifth bank on a given page - that'd require a new unused instruction (ENBNK5) and modifying the BS support in every system known to man (Clonix, CL, V41,...) so it's pretty much out of the question.

The current SandMath is a 2x2 module, that is 2 pages with 2 banks each. So what I've done is just add a third bank to the upper page, so it's now a 2+3 module:

2x banks in the lower page (SandMath 44), and
3x banks in the upper page (High Level Math).

I could have done it reversed, adding the third bank to the lower page instead (and in fact I did both versions while debugging the pesky issues I struggled with for a while), but on either case the module footprint continues to be 8k. So finally I used the upper page, the "High Level Math" as a more logical location.

Three new functions needed to be added to the main FAT, thus I moved three functions to the sub-functions category to make room for them - but more about that in a separate thread.

Really the ultimate 4x4 module is practically impossible to do, even with secondary and tertiary sub-FATS (which can already be confusing enough). The main limitation is that user code (FOCAL) can only be located in the main bank, and this drastically limits the suitable material, so to speak.

                              
Re: HP-41 New versions of your favorite modules - with an AOS twist :-)
Message #13 Posted by Michael Fehlhammer on 21 June 2013, 9:03 a.m.,
in response to message #12 by 聲gel Martin

Sorry Angel for my stupid question, of course 2x2 Sandmath already has 8k footprint, I mixed it up with one page - four banks - PowerCL.

@ Diego: I think many users don't use or need a contiguous block of 4 pages Hepax ram. Ram pages can be managed by a lot of other modules (Eramco RSU or W&W Rambox operating systems, f.e.), and ram pages can house normal 4k modules, like rom pages do.

Probably there are more users who fill at least some ram pages with rom images, than users who need a large free ram space of 4 pages in a row. Therefore imho flexibility would be significantly enhanced if it was possible to configure pages E and F, for example, to hold ram pages.

Otherwise you have to own and use physical rom modules to plug into port 4. Today physical rom modules mostly are outdated. Look at the CCD module, for example. It physically exists only in Version A, which is not compatible with halfnut calculators! Not to speak about all the improved versions of this module, like CCD-OSX or AMC-OSX.

So in my eyes the two free pages are simply wasted.

                                    
Re: HP-41 New versions of your favorite modules - with an AOS twist :-)
Message #14 Posted by Diego Diaz on 21 June 2013, 1:29 p.m.,
in response to message #13 by Michael Fehlhammer

Thanks to both of you for clarifying these points.

The total number of ROM pages into any NoV-64 or Clonix-D is 12.

So, since HEPAX takes 4 pages for its own ROM, only 8 pages max. can be loaded when HEPAX is present.

Creating such 2banks + 3banks (8k footprint) is currently feasible with ClonixConfig using either NoV-64 or Clonix-D (selecting Clonix-D in the configuration utility) You can place any other ROM images in the remainng 7 pages.

Just the current version does not allow to join all 12 pages in a single block. If you agree I can mail you an upgrade to put all pages in a row.

This shouldn't be much difficult and can be ready in a few days.

Regarding the number of RAM pages available with HEPAX, there is no problem in allowing an 8k RAM (pages #8 & #9) leaving the rest ROM addresses for the remaining 8 ROM pages. This may take a bit longer to be implemented though.

Keep in touch.

Diego.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall