Purpose: Close all files and channels
Call address: $FFE7 (hex) 65511 (decimal)
Preparation:
Registers: none Memory: system map Flags: none Calls: noneResults:
Registers: .A used .X used Memory: LDTND, DFLTN, FLTO updated Flags: none
Description: CLALL deletes all logical file table entries by resetting the table index, LDTND ($98). It clears current serial channels (if any) and restores the default I/O channels via CLRCHN. The path to CLALL is through an indirect RAM vector at $32C. Applications may therefore provide their own CLALL procedures or supplement the system's by redirecting this vector to their own routine.
EXAMPLE:
JSR $FFE7 ;close files