Difference between revisions of "83Plus:BCALLs:809F"

From WikiTI
Jump to: navigation, search
 
m (Changed official name and added destroys information)
Line 1: Line 1:
[[Category:83Plus:BCALLs:By Name:Math|GetFreewareKey]]
+
[[Category:83Plus:BCALLs:By Name:Math|SetupAppPubKey]]
[[Category:83Plus:BCALLs:By Name|GetFreewareKey]]
+
[[Category:83Plus:BCALLs:By Name|SetupAppPubKey]]
[[Category:83Plus:BCALLs:By Address|809F - GetFreewareKey]]
+
[[Category:83Plus:BCALLs:By Address|809F - SetupAppPubKey]]
 
== Synopsis ==
 
== Synopsis ==
'''Official Name:''' GetFreewareKey
+
'''Official Name:''' SetupAppPubKey
 +
 
 +
'''Other Name:''' GetFreewareKey
  
 
'''BCALL Address:''' 809F
 
'''BCALL Address:''' 809F
Line 11: Line 13:
 
=== Inputs ===
 
=== Inputs ===
 
* None
 
* None
<!-- We need to figure out how we're doing flags and link that up -->
 
  
 
=== Outputs ===
 
=== Outputs ===
Line 17: Line 18:
  
 
=== Destroys ===
 
=== Destroys ===
* ??
+
* BC, DE
  
 
== Comments ==
 
== Comments ==

Revision as of 23:21, 28 March 2005

Synopsis

Official Name: SetupAppPubKey

Other Name: GetFreewareKey

BCALL Address: 809F

Loads the freeware key (or 0104 key) as a large integer into ram at address 8000h.

Inputs

  • None

Outputs

  • Memory at 8000h contains the freeware key

Destroys

  • BC, DE

Comments

The large integer loaded to 8000h is the 512 bit modulus used for decrypting Rabin signatures in Apps. The first byte of the integer is the length of the large integer followed by the integer in little endian.

Example

 B_CALL GetFreewareKey