83Plus:BCALLs:50DD

From WikiTI
Jump to: navigation, search

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.