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

From WikiTI
Jump to: navigation, search
m (Changed official name and added destroys information)
(Synopsis)
Line 9: Line 9:
 
'''BCALL Address:''' 809F
 
'''BCALL Address:''' 809F
  
Loads the freeware key (or 0104 key) as a large integer into ram at address 8000h.
+
Loads the freeware key (or 0104 key) as a [[83Plus:OS:Big Integers|big integer]] into the [[83Plus:RAM:8000|appData]] area.
  
 
=== Inputs ===
 
=== Inputs ===
Line 15: Line 15:
  
 
=== Outputs ===
 
=== Outputs ===
* Memory at 8000h contains the freeware key
+
* Memory at [[83Plus:RAM:8000|8000]] contains the freeware key
  
 
=== Destroys ===
 
=== Destroys ===

Revision as of 10:32, 29 March 2005

Synopsis

Official Name: SetupAppPubKey

Other Name: GetFreewareKey

BCALL Address: 809F

Loads the freeware key (or 0104 key) as a big integer into the appData area.

Inputs

  • None

Outputs

  • Memory at 8000 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