[Addressed Listing] [Alphabetical Listing] [Error Codes]

CLALL

     Purpose:  Close all files
Call address:  $FFE7 (hex)  65511 (decimal)
Communication registers:  None
Preparatory routines:  None
Error returns:  None
Stack requirements:  11
Registers affected:  A, X

Description:

This routine closes all open files. When this routine is called, the pointers into the open file table are reset, closing all files. Also, the CLRCHN routine is automatically called to reset the I/O channels.

How to Use:

  1. Call this routine.

EXAMPLE:

     JSR CLALL   ;CLOSE ALL FILES AND SELECT DEFAULT I/O CHANNELS
     JMP RUN     ;BEGIN EXECUTION

[Addressed Listing] [Alphabetical Listing] [Error Codes]