System information

FUNCTION 18: SEARCH FOR NEXT
Entry Parameters:
Register C: 12H
Returned Value:
Register A: Directory Code
The Search Next function is similar to the Search First function, except that the directory scan
continues from the last matched entry. Similar to Function 17, Function 18 returns the decimal
value 255 in A when no more directory items match.
FUNCTION 19: DELETE FILE
Entry Parameters:
Register C: 13H
Registers DE: FCB Address
Returned Value:
Register A: Directory Code
The Delete File function removes files that match the FCB addressed by DE. The filename and
type may contain ambiguous references (that is, question marks in various positions), but the
drive select code cannot be ambiguous, as in the Search and Search Next functions.
Function 19 returns a decimal 255 if the referenced file or files cannot be found; otherwise, a
value in the range 0 to 3 returned.
5.2 Call Conventions CP/M Operating System Manual
5-22