HP Forums

Full Version: What is FDATA? PowerCL Module
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
While exploring my new 41CL I came across a function called FDATA on the PowerCL Module.
There is no mention of it in the manual other than being listed in the Function Index Listing.

I am wondering how to interpret the Output

Thanks.
In some other ROMs (NoVchap, SandBox), FDATA gets a function's FAT address and XROM value (the one used for key assignments). It takes the function name by prompting, or from the Alpha register if used in a program.
Perhaps my Question was not asked clearly enough...

I fully understand that "It takes the function name by prompting, or from the Alpha register if used in a program."

And I had hoped / expected that it would return the XROM Value and/or other useful information.

I am looking for assistance in interpreting the Output of the function. For Instance:

If I call FDATA on the "AINT" Function from the SandMath Module I get the following Output:

Code:
AINT       CB63 M A0C5

From the SandMath Manual it looks like "AINT" should be the 5th function in the 1st Fat.
The SandMath Module is XROM 03. If I XEQ XROM:03,05 the "AINT" Function is executed at expected.

When I execute FDATA on subsequent functions the last digit in the second group of Hex Digits increments as I would expect. I am unable to decode the meaning of the rest of the Hex Digits in the output. This is my question.
sorry! I should have realised it was too easy Smile
(01-14-2020 03:46 PM)twoweims Wrote: [ -> ]
Code:
AINT       CB63 M A0C5

This means AINT is located at address CB63 (hex location 0xB63 within page #C), and it's XROM HEX Code is A0:C5

ÁM
Thanks Ángel.
I feel kind of stupid for not seeing the first digit being the page number.
I was splitting them into groups of two before trying to make sense of them.


I Assume that the "M" is for "Martin"? Smile
(01-16-2020 01:06 PM)twoweims Wrote: [ -> ]I Assume that the "M" is for "Martin"? Smile

It's probably for MCODE (vs. FOCAL) but it's also probably no coincidence that it was called "M"CODE, as if they were prescient and knew Angel "M"artin would become one of the masters. Smile
(01-16-2020 01:54 PM)rprosperi Wrote: [ -> ]
(01-16-2020 01:06 PM)twoweims Wrote: [ -> ]I Assume that the "M" is for "Martin"? Smile

It's probably for MCODE (vs. FOCAL) but it's also probably no coincidence that it was called "M"CODE, as if they were prescient and knew Angel "M"artin would become one of the masters. Smile

LOL ;-)
Ángel,
I just want to say thank you for the work that you do on your ROMs. I have just returned to using an HP 41 after many years. I just recently converted one to A 41CL and am really enjoying re-discovering what I loved about this machine in the past.
Reference URL's