84PCE:Syscalls:000310: Difference between revisions

From WikiTI
Jump to navigationJump to search
No edit summary
Undo revision 11192 by MateoConLechuga (talk)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:84PCE:Syscalls:By Name|GetCertCalcString]]
[[Category:84PCE:Syscalls:By Name|FindFirstCertField]]
[[Category:84PCE:Syscalls:By Address|000338 - GetCertCalcString]]
[[Category:84PCE:Syscalls:By Address|000310 - FindFirstCertField]]
== Synopsis ==
== Synopsis ==
'''Hypothesized Official Name:''' GetCertCalcString
'''Hypothesized Official Name:''' FindFirstCertField


'''Syscall Address:''' 000338h
'''Syscall Address:''' 000310h


This searches the certificate for the null terminated string used to display the type of calculator. This is not a required field; so sometimes it may return null.
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.


For example, a TI84+CE will have the string "TI-84 Plus CE"
0B0(0) - Language settings


=== Inputs ===
=== Inputs ===
* None
* DE = Field to search for


=== Outputs ===
=== Outputs ===
* HL = pointer to string used to display the calculator type
* Pointer to field entry


=== Destroys ===
=== Destroys ===
Line 20: Line 20:


=== Example ===
=== Example ===
You can get the string used to determine the current language for example:


  call _GetCertCalcString
ld de,0B00h
  call _FindFirstCertField
  jp _PutS
  jp _PutS

Latest revision as of 17:51, 26 May 2016

Synopsis

Hypothesized Official Name: FindFirstCertField

Syscall Address: 000310h

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.

0B0(0) - Language settings

Inputs

  • DE = Field to search for

Outputs

  • Pointer to field entry

Destroys

  • All

Example

You can get the string used to determine the current language for example:

ld de,0B00h
call _FindFirstCertField
jp _PutS