From WikiTI
Jump to: navigation, search


Unofficial Name: FindAppHeaderSubField

BCALL Address: 80AB

Search for a subfield of the given app header.


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


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



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.)