83Plus:BCALLs:50DD

From WikiTI
Revision as of 20:40, 25 May 2008 by Brandonw (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.