83Plus:BCALLs:50DD

From WikiTI
Revision as of 14:50, 11 April 2008 by Luby (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)= 0 if 83Plus, NZ if not
  • (HL+3)= Bits 0-3=Current Speed and Bit 4 set if SE
  • (HL+4)= Device Code default
  • (HL+5) through (HL+8)

Destroys

  • All

Comments

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