41-MCODE: Updated AECROM w/ 13-digit Math



#2

Greetings fellow 41-comrades,

No doubt you all know about the AECROM, the module published by Wilson Holes from "RedShift SW", and programmed by Nelson F. Crowle and others. If you do, you'll be aware of its very original approach and ground-breaking contents, but if it passed unperceived to you (perhaps due to the late release date, or due to the US-centric unit convertion features) it'll probably feel like a mystery to you.

Fact is the AECROM is full of tricks and treats for the MCODE programmer. It's surely hard to follow the intricate code, but also surprisingly innovative and very rewarding once you get your bearings and get the hang of it.

I can't say that I completely understand the full extent of sophisticated techniques that went into putting it together, but I've managed to "upgrade" it by using 13-digit math routines - replacing the standard 10-digit it originally came with. Not sure if the programmers didn't know about them, or they chose not to use them - after all the subjects of the programs are not accuracy-critical: curve fitting for instance - but the fact is that they were not used at all.

So the updated ROM image now uses the 13-digit OS calls in the Hyperbolics, Curve Fitting and the Triangle, Circle, and SARR solvers as well. Lots of careful editing was required - this module is tricky, and there are multitude of calls from either page using unusual methods, so it's almost impossible to MOVE things around and one has to play within the current boundaries of the routines.

Here's some examples:

- extensive usage of GOTO ADR between pages

- jumps from the ROM-ID section of the lower page to the upper one

- tables, tables, and then more tables to hold lots of data

- pseudo FOCAL programs using just ONE menu function that does multiple things depending on HOW it's accessed!

- and a lot more... have you used the PROG function?? An amazing feat that pushes the limits of the 41 MCODE, really a hard nut to crack.

The new MOD image Will be posted at TOS in a couple of days. If you're interested I can send you the "blueprints" - result of the reverse-engineering effort so far (still going on BTW).

Best, ÁM


#3

Please send me the blueprints.

It would be cool to make it less US-centric, though.


#4

Great! This will be a perfect example for the community to lay out the BEST way to get this new rom image loaded into the soon to be shipped 41CL.

I'm not sure most of us will want to try transferring / copying a rom image into flash on the 41CL, but the 41CL does include 50+ 4K ram pages that are much easier to load rom images into.

What we need is a good, step-by-step set of instructions for how to go from a .rom file on the PC to having it in a ram page in the 41CL.

I'm hopeful that the first adopters will be seeing their 41CL boards within a week!

Yay!


#5

Since both pages in the .MOD file have the same name, translating the image to a .ROM format (which is the first step in getting it into the 41CL) doesn't work very well. The second page overwrites the first...

Monte

#6

you´ve got mail...

BTW the foot-meter-etc. stuff is also a beauty to behold in action. I t uses the I/O interrupt of the module to display the values in the "selected" unit, seemingly transparent to the user and creating the impression it is the machine's native "language" for the corresponding mode.

It's good if you need to work in "imperial" units of length, those invented by the British and later on dropped in favor (or favour rather) of the metric system (well, not quite of course... but that's another story). At any rate, it's an MCODE tour-de-force worth watching :-)

Unfortunately it conflicts with the CCD usage of the same interrupt, so you have to choose. Oh well, life isn't perfect!


#7

As Monte points out, that will allow it to be moved to the 41CL... ?


#8

Quote:
how about changing the 2nd MOD page's name?

Well, I´m not sure this is anything related to the module itself (read: the MOD file) but to the way it´s named as a ROM file, or two of them to be precise. My guess is you can use the MOD2ROM utility posted at TOS and label it as you want, thus overcoming the issue.

Best, \'AM


#9

I use ModFile or ModFileWin from TOS. Neither allow you to name the .ROM pages, but take them from the .MOD file itself.

Monte


#10

I see... but you can certainly use M2kManager (which does not require the MLDL to be present) to edit the ROM files of a MOD image ' including giving it another ¨name¨.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Need help understanding math.... cyrille de Brébisson 9 4,049 12-13-2013, 02:23 AM
Last Post: Didier Lachieze
  HP Prime finally updated! Les Koller 8 3,762 12-10-2013, 09:25 PM
Last Post: Les Koller
  HP-70 simulator updated Willy R. Kunz 3 1,699 11-26-2013, 08:20 PM
Last Post: BShoring
  HP-41 MCODE: The Last Function - at last! Ángel Martin 0 1,107 11-08-2013, 05:11 AM
Last Post: Ángel Martin
  HP Prime 2013 8 13. Rev:5106 bluesun08 2 1,429 09-28-2013, 11:05 AM
Last Post: debrouxl
  Updated PPC DVD Version 2.10: HP-41 Searchable Program Files and Scannable Barcode Jake Schwartz 3 1,950 09-27-2013, 09:51 PM
Last Post: Olivier (Wa)
  Graph3D v2013.09.26 for HP Prime (updated) Han 3 1,707 09-26-2013, 04:01 PM
Last Post: cyrille de brebisson
  OT: a math competition site Pier Aiello 0 1,102 09-16-2013, 06:03 AM
Last Post: Pier Aiello
  Simple Math Question Namir 2 1,450 08-09-2013, 06:13 PM
Last Post: Eddie W. Shore
  OT: PockEmul has been updated Bill (Smithville, NJ) 0 1,080 08-07-2013, 03:16 PM
Last Post: Bill (Smithville, NJ)

Forum Jump: