Difference between revisions of "84PCE:Syscalls:021FB0"

From WikiTI
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[Category:84PCE:CCalls:By Name|GetSymTablePtr]]
+
[[Category:84PCE:CCalls:By Name|os_GetSymTablePtr]]
[[Category:84PCE:CCalls:By Address|021FB0 - GetSymTablePtr]]
+
[[Category:84PCE:CCalls:By Address|021FB0 - os_GetSymTablePtr]]
 
== Synopsis ==
 
== Synopsis ==
'''Hypothesized Official Name:''' GetSymTablePtr
+
'''Hypothesized Official Name:''' os_GetSymTablePtr
  
 
'''C Function Address:''' 021FB0h
 
'''C Function Address:''' 021FB0h
  
Gets the location of the Symbol Table. This seems like a very useless call.
+
Gets the location of the Symbol Table.  
  
 
=== Function Prototype ===
 
=== Function Prototype ===
int* GetSymTablePtr(void);
+
void *os_GetSymTablePtr(void);
  
 
=== Arguments ===
 
=== Arguments ===
Line 20: Line 20:
 
* This is an OS call; not present in the bootcode.
 
* This is an OS call; not present in the bootcode.
  
* Full dissasembly of call:
+
* Full disassembly of call:
<pre>_GetSymTablePtr:
+
<pre>_os_GetSymTablePtr:
 
  ld        hl, symTable
 
  ld        hl, symTable
 
  ret</pre>
 
  ret</pre>

Latest revision as of 23:43, 5 March 2016

Synopsis

Hypothesized Official Name: os_GetSymTablePtr

C Function Address: 021FB0h

Gets the location of the Symbol Table.

Function Prototype

void *os_GetSymTablePtr(void);

Arguments

  • None (void)

Returns

  • The address of the Symbol Table.

Notes

  • This is an OS call; not present in the bootcode.
  • Full disassembly of call:
_os_GetSymTablePtr:
 ld        hl, symTable
 ret