Difference between revisions of "83Plus:BCALLs:50DD"
From WikiTI
(Capitalization Silliness And Incorrect INFORmation) |
|||
Line 9: | Line 9: | ||
'''BCALL Address:''' 50DD | '''BCALL Address:''' 50DD | ||
− | Requires | + | 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 | + | * HL = Location to store info to. |
+ | |||
=== Outputs === | === Outputs === | ||
− | * (HL)= Major | + | * (HL)= Major boot code version |
− | * (HL+1)= Minor | + | * (HL+1)= Minor boot code version |
− | * (HL+2)= 0 | + | * (HL+2)= Hardware version (0 is 83+, 1 is 83+SE, 2 is 84+, 3 is 84+SE) |
− | * (HL+3)= Bits 0-3= | + | * (HL+3)= Bits 0-3 = current speed and bit 4 set if SE |
− | * (HL+4)= Device | + | * (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.