83Plus:BCALLs:809F

From WikiTI
Revision as of 23:21, 28 March 2005 by Dan Englender (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 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