Difference between revisions of "83Plus:BCALLs:807E"

From WikiTI
Jump to: navigation, search
m (Added categories)
(Destroys: --CalcKing @ school)
Line 18: Line 18:
  
 
=== Destroys ===
 
=== Destroys ===
Unkown, please add this.
+
* AF, B (Not C), DE, HL
  
 
== Comments ==
 
== Comments ==
 
This B_CALL gets the first five bytes of the ID as actual bytes, you have to convert them before you display them. The rest of the ID can't be retrieved using a B_CALL, although there seems to be a call address to get them in every OS. The only problem with using this call address is that your software will only support the oss you add support for and will never work after an upgrade to a new os.
 
This B_CALL gets the first five bytes of the ID as actual bytes, you have to convert them before you display them. The rest of the ID can't be retrieved using a B_CALL, although there seems to be a call address to get them in every OS. The only problem with using this call address is that your software will only support the oss you add support for and will never work after an upgrade to a new os.

Revision as of 08:56, 28 March 2005

Synopsis

Official Name: GetCalcSerial

Other Name: GetID

BCALL Address: 807E

Gets the first five bytes of the calculator ID.

Inputs

None

Outputs

  • OP4: Contains the first five bytes of the calculator ID

Destroys

  • AF, B (Not C), DE, HL

Comments

This B_CALL gets the first five bytes of the ID as actual bytes, you have to convert them before you display them. The rest of the ID can't be retrieved using a B_CALL, although there seems to be a call address to get them in every OS. The only problem with using this call address is that your software will only support the oss you add support for and will never work after an upgrade to a new os.