Post Reply 
What is FDATA? PowerCL Module
01-07-2020, 10:39 PM
Post: #1
What is FDATA? PowerCL Module
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.
Visit this user's website Find all posts by this user
Quote this message in a reply
01-09-2020, 06:36 PM
Post: #2
RE: What is FDATA? PowerCL Module
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.

Cambridge, UK
41CL/DM41X 12/15C/16C DM15/16 17B/II/II+ 28S 42S/DM42 32SII 48GX 50g 35s WP34S PrimeG2 WP43S/pilot/C47
Casio, Rockwell 18R
Find all posts by this user
Quote this message in a reply
01-14-2020, 03:46 PM
Post: #3
RE: What is FDATA? PowerCL Module
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.
Visit this user's website Find all posts by this user
Quote this message in a reply
01-15-2020, 11:54 PM
Post: #4
RE: What is FDATA? PowerCL Module
sorry! I should have realised it was too easy Smile

Cambridge, UK
41CL/DM41X 12/15C/16C DM15/16 17B/II/II+ 28S 42S/DM42 32SII 48GX 50g 35s WP34S PrimeG2 WP43S/pilot/C47
Casio, Rockwell 18R
Find all posts by this user
Quote this message in a reply
01-16-2020, 12:17 PM (This post was last modified: 01-16-2020 12:18 PM by Ángel Martin.)
Post: #5
RE: What is FDATA? PowerCL Module
(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

"To live or die by your own sword one must first learn to wield it aptly."
Find all posts by this user
Quote this message in a reply
01-16-2020, 01:06 PM (This post was last modified: 01-16-2020 01:11 PM by twoweims.)
Post: #6
RE: What is FDATA? PowerCL Module
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
Visit this user's website Find all posts by this user
Quote this message in a reply
01-16-2020, 01:54 PM
Post: #7
RE: What is FDATA? PowerCL Module
(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

--Bob Prosperi
Find all posts by this user
Quote this message in a reply
01-16-2020, 03:46 PM
Post: #8
RE: What is FDATA? PowerCL Module
(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 ;-)

"To live or die by your own sword one must first learn to wield it aptly."
Find all posts by this user
Quote this message in a reply
01-17-2020, 12:04 AM
Post: #9
RE: What is FDATA? PowerCL Module
Á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.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: