83Plus:BCALLs:8111

From WikiTI
Revision as of 14:16, 31 August 2011 by Thepenguin77 (Talk | contribs)

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

Synopsis

Unofficial Name: Validate2048

BCALL Addresses: 8111h

Minimum Hardware Version: 3

This is the bcall that TI added to boot code 1.03 to prevent downgrading. It MD5 hashes the OS and compares it with the transformation of the signature that is on page 73h. For this transformation, the key is 2048 bits and e = 65537.

Inputs

  • 8271h - Number of pages in the OS
  • 8272h - Table listing all of the pages with OS code on them

Outputs

  • Z flag on success

Destroys

  • All

Comments

This routine takes a very long time to run.