Purpose: Close all files on a device
Call address: $FF4A (hex) 65354 (decimal)
Registers: .A -> device # (FA: 0-31) Memory: system map Flags: none Calls: noneResults:
Registers: .A used .X used .Y used Memory: none Flags: none
Description: The FAT is searched for the given FA. A proper CLOSE is performed for all matches. If one of the CLOSEd channels is the current I/O channel, then the default channel is restored. This call is utilized, for example, by the BASIC command DCLOSE. It is also called by the Kernal BOOT routine.
LDA #$08 JSR $FF4A ;close all files on device 8