DIR

DIR drive number
Displays a directory of the disk in the drive you specify.

DIR0

DIR

Sample display:

MYPROG   BAS 0 B 3
YOURPROG BAS 0 A 1
HERDATA  DAT 1 A 5
USPROG   BIN 2 B 2

From left to right, the columns contain:

  • The filename
  • The extension
  • The file type
    • 0 = BASIC program
    • 1 = BASIC data file
    • 2 = machine-language file
    • 3 = editor source file
  • The storage format
    • A = ASCII, B = binary
  • The length of the file in granules

RTS