Difference between revisions of "84PCE:Syscalls:000310"

From WikiTI
Jump to: navigation, search
m (Undo revision 11189 by MateoConLechuga (talk))
Line 1: Line 1:
[[Category:84PCE:Syscalls:By Name|FindFirstCertField]]
+
[[Category:84PCE:Syscalls:By Name|GetCertCalcID]]
[[Category:84PCE:Syscalls:By Address|000310 - FindFirstCertField]]
+
[[Category:84PCE:Syscalls:By Address|00033C - GetCertCalcID]]
 
== Synopsis ==
 
== Synopsis ==
'''Hypothesized Official Name:''' FindFirstCertField
+
'''Hypothesized Official Name:''' GetCertCalcID
  
'''Syscall Address:''' 000310h
+
'''Syscall Address:''' 00033Ch
  
This will search from the beginning of the certificate located at 3B0001 for a particular field. Types of fields you can search for are listed below; there are probably many more useful ones.
+
Searches the certificate for the calculator ID, and returns a pointer to it.
 
+
0B0(0) - Language settings
+
  
 
=== Inputs ===
 
=== Inputs ===
* DE = Field to search for
+
* None
  
 
=== Outputs ===
 
=== Outputs ===
* Pointer to field entry
+
* Pointer to calculator ID
  
 
=== Destroys ===
 
=== Destroys ===
 
* All
 
* All
 
=== Example ===
 
You can get the string used to determine the current language for example:
 
 
ld de,0B00h
 
call _FindFirstCertField
 
jp _PutS
 

Revision as of 10:50, 26 May 2016

Synopsis

Hypothesized Official Name: GetCertCalcID

Syscall Address: 00033Ch

Searches the certificate for the calculator ID, and returns a pointer to it.

Inputs

  • None

Outputs

  • Pointer to calculator ID

Destroys

  • All