83Plus:BCALLs:8075
From WikiTI
Revision as of 16:58, 7 February 2006 by FloppusMaximus (Talk | contribs)
Synopsis
Unofficial Name: FindSubFieldApp
BCALL Address: 8075
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 approximately the same as FindSubField, but handles an initial long-size field correctly, doesn't handle an initial nibble-size field correctly, and stops at any major type other than those allowed for apps (80h, 2, and 3.)
It is much like the other field search routines, but starts by skipping to the data section of the given field, and continues from there.
It does not keep track of whether the "subfield" is actually within the parent field; it simply stops when it reaches a non-app field.