83Plus:BCALLs:80C3

From WikiTI
Revision as of 22:10, 29 January 2007 by FloppusMaximus (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Synopsis

Unofficial Name: ProdNrPart1

BCALL Address: 80C3

Retrieve the hardware version and product number.

Inputs

None

Outputs

  • D = Hardware version * 10h
  • E = Product number

Destroys

  • HL

Comments

The product number is 04 for the 83+, 0A for the 84+. Other product numbers are defined for the other Flash calculator models. The product number is also the freeware OS key ID, as well as the last byte of most other key IDs.

This is not quite the same as the first three digits of the PROD ID shown on the About screen (though it may have been so at some time in the past.) The third digit shown on the About screen is the OS's hardware compatibility level, not the actual hardware version.