HP Forums
What is FDATA? PowerCL Module - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: General Forum (/forum-4.html)
+--- Thread: What is FDATA? PowerCL Module (/thread-14330.html)



What is FDATA? PowerCL Module - twoweims - 01-07-2020 10:39 PM

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.


RE: What is FDATA? PowerCL Module - cdmackay - 01-09-2020 06:36 PM

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.


RE: What is FDATA? PowerCL Module - twoweims - 01-14-2020 03:46 PM

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.


RE: What is FDATA? PowerCL Module - cdmackay - 01-15-2020 11:54 PM

sorry! I should have realised it was too easy Smile


RE: What is FDATA? PowerCL Module - Ángel Martin - 01-16-2020 12:17 PM

(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


RE: What is FDATA? PowerCL Module - twoweims - 01-16-2020 01:06 PM

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


RE: What is FDATA? PowerCL Module - rprosperi - 01-16-2020 01:54 PM

(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


RE: What is FDATA? PowerCL Module - Ángel Martin - 01-16-2020 03:46 PM

(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 ;-)


RE: What is FDATA? PowerCL Module - twoweims - 01-17-2020 12:04 AM

Á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.