FNADDR command: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 4: | Line 4: | ||
of a specified $function, or the location of the [[Fast/Unload]] load module, if the | of a specified $function, or the location of the [[Fast/Unload]] load module, if the | ||
[[Fast/Unload User Language Interface]] is active. | [[Fast/Unload User Language Interface]] is active. | ||
===FNADDR command syntax=== | ===FNADDR command syntax=== | ||
FNADDR funcname | LOADMOD loadModName | + hexFuncNumber | FNADDR funcname | LOADMOD loadModName | + hexFuncNumber | ||
The function name specified after FNADDR should not include the initial leading dollar sign (or pound in England). | The function name specified after FNADDR should not include the initial leading dollar sign (or pound in England). | ||
For example, this finds the location of the <var>$Substr</var> function: | For example, this finds the location of the <var>$Substr</var> function: | ||
< | <p class="code">FNADDR SUBSTR | ||
</p> | |||
</ | |||
This command is mostly useful for diagnosis of [[Model 204]] internals problems, especially | This command is mostly useful for diagnosis of [[Model 204]] internals problems, especially | ||
Line 21: | Line 21: | ||
Currently, the only load module name supported is FUNLOAD, so the following | Currently, the only load module name supported is FUNLOAD, so the following | ||
command can be used for diagnosis by Sirius Software when the ''Fast/Unload User Language Interface'' is active: | command can be used for diagnosis by Sirius Software when the ''Fast/Unload User Language Interface'' is active: | ||
< | <p class="code">FNADDR LOADMOD FUNLOAD | ||
</p> | |||
</ | |||
If <b><i>+ hexFuncNumber</i></b>. is specified, the number is that used in QTBL for | If <b><i>+ hexFuncNumber</i></b>. is specified, the number is that used in QTBL for |
Revision as of 22:15, 4 March 2013
Note: This is a Sirius Mods-only command prior to Version 7.5 of Model 204.
The FNADDR command is used to determine the location in the Model 204 load module of a specified $function, or the location of the Fast/Unload load module, if the Fast/Unload User Language Interface is active.
FNADDR command syntax
FNADDR funcname | LOADMOD loadModName | + hexFuncNumber
The function name specified after FNADDR should not include the initial leading dollar sign (or pound in England). For example, this finds the location of the $Substr function:
FNADDR SUBSTR
This command is mostly useful for diagnosis of Model 204 internals problems, especially those related to $functions. It can also be useful in determining whether a particular $function is local, a Sirius $function, or part of the Model 204 base.
If LOADMOD is specified, it is followed by the name of the load module to locate. Currently, the only load module name supported is FUNLOAD, so the following command can be used for diagnosis by Sirius Software when the Fast/Unload User Language Interface is active:
FNADDR LOADMOD FUNLOAD
If + hexFuncNumber. is specified, the number is that used in QTBL for invocations of the $function.
The FNADDR command is available in Sirius Mods version 6.2 and later. The LOADMOD qualifier of FNADDR is available in Sirius Mods version 6.8 and later. The hex function number form of FNADDR is available in Sirius Mods version 7.2 and later.