Lisa Pascal: Mounting and Reading Disk Directories

From a Pascal program, you can indeed read the directory information of a
diskette.  Once you have detected the insertion of a diskette into the drive
by using KeybdEvent (cf. Pascal Language Reference Manual, Appendix C),
perform the following commands in order to mount and read the directory:

                 mount (error, volname, passwd, device)
                 reset_Catalog (error, pathname)

Then read the file names until done (error 848) by performing the command:

                 get_next_entry (error, prefix, filename)

Chapter 2 of the Operating System Reference Manual documents these and other
file system calls that allow you to get information about the file: name,
date, size, etc.
Published Date: Feb 19, 2012