83Plus:BCALLs:809F

From WikiTI
Revision as of 21:54, 29 March 2005 by FloppusMaximus (Talk | contribs)

Jump to: navigation, search

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