Difference between revisions of "83Plus:BCALLs:50DD"

From WikiTI
Jump to: navigation, search
 
(Capitalization Silliness And Incorrect INFORmation)
 
Line 9: Line 9:
 
'''BCALL Address:''' 50DD
 
'''BCALL Address:''' 50DD
  
Requires Rom version 1.13 and later
+
Requires ROM version 1.13 and later
  
 
Return nine bytes of system information, including current speed.
 
Return nine bytes of system information, including current speed.
  
 
=== Inputs ===
 
=== Inputs ===
* HL = Location to Store Info to.
+
* HL = Location to store info to.
 +
 
 
=== Outputs ===
 
=== Outputs ===
* (HL)= Major Boot Code Version
+
* (HL)= Major boot code version
* (HL+1)= Minor Boot Code Version
+
* (HL+1)= Minor boot code version
* (HL+2)= 0 if 83Plus, NZ if not
+
* (HL+2)= Hardware version (0 is 83+, 1 is 83+SE, 2 is 84+, 3 is 84+SE)
* (HL+3)= Bits 0-3=Current Speed and Bit 4 set if SE
+
* (HL+3)= Bits 0-3 = current speed and bit 4 set if SE
* (HL+4)= Device Code default
+
* (HL+4)= Device code default
* (HL+5) through (HL+8)
+
* (HL+5) through (HL+8) = reserved
 +
 
 
=== Destroys ===
 
=== Destroys ===
 
* All
 
* All
  
 
== Comments ==
 
== Comments ==
Check to see if the calc is at least 1.13 before running using [[83Plus:BCALLs:4C6F|GetBaseVer]]
+
Check to see if the calc is at least 1.13 before running using [[83Plus:BCALLs:4C6F|GetBaseVer]].

Latest revision as of 20:40, 25 May 2008


Synopsis

Official Name: GetSysInfo

BCALL Address: 50DD

Requires ROM version 1.13 and later

Return nine bytes of system information, including current speed.

Inputs

  • HL = Location to store info to.

Outputs

  • (HL)= Major boot code version
  • (HL+1)= Minor boot code version
  • (HL+2)= Hardware version (0 is 83+, 1 is 83+SE, 2 is 84+, 3 is 84+SE)
  • (HL+3)= Bits 0-3 = current speed and bit 4 set if SE
  • (HL+4)= Device code default
  • (HL+5) through (HL+8) = reserved

Destroys

  • All

Comments

Check to see if the calc is at least 1.13 before running using GetBaseVer.