Difference between revisions of "83Plus:BCALLs:809F"
From WikiTI
m (Changed official name and added destroys information) |
|||
Line 1: | Line 1: | ||
− | [[Category:83Plus:BCALLs:By Name:Math| | + | [[Category:83Plus:BCALLs:By Name:Math|SetupAppPubKey]] |
− | [[Category:83Plus:BCALLs:By Name| | + | [[Category:83Plus:BCALLs:By Name|SetupAppPubKey]] |
− | [[Category:83Plus:BCALLs:By Address|809F - | + | [[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 | ||
− | |||
=== 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