83Plus:BCALLs:80AB

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

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

Synopsis

Unofficial Name: FindAppHeaderSubField

BCALL Address: 80AB

Search for a subfield of the given app header.

Inputs

  • AHL = address of the first type byte of the field whose contents you want to search (8000h if you want to search an installed app header)
  • DE = field to search for (e.g. 8010 to search for the key ID)

Outputs

  • HL = address of the first type byte of the first matching field
  • NZ set if not found.

Destroys

Comments

This routine is almost identical to FindOSHeaderSubfield; the difference is that it will allow you to search starting at a zero byte (i.e., a deleted app header.) The OS uses this routine to search for data in Flash Apps (which may or may not have been deleted already.)