drl defil
zero L(arglst),L(stat)
sta fildes
...
arglst null
filnam ascii 2,aftname
opts vfd 6/devtyp,10/0, bits 0-5
etc 1/bigpat, bit 16
etc 1/setdev, bit 17
etc 1/mode,5/0, bit 18
etc 1/links bits 24-35
stat bss 1
DRL DEFIL is used to create a temporary, or to obtain a information about a named entry in the AFT.
When creating a file (0 < links), DRL DEFIL allows you to specify a type of disk. However, this is just for backward compatibility. If a specific device type is requested, TSS will check that it is the code for a mass storage type device, but will ignore the actual device code value, and look for space in the pool of devices that allow temporary files.
If a temp file was created (status 0), or if the AFT already contained a entry matching 'filnam' (status 5), the A register will be set as follows.
Bits 0-5 Device type
Bits 6-17 Number or words per logical sector (64)
Bit 18=1 Always set
Bit 19=0 Linked file
Bit 19=1 Random file
Bit 20=0 Temporary file
Bit 20=1 Permanent file
Bit 21 Unused
Bits 22-35 Number of llinks in file
Zero implies more than 16383
Copyright © 2000, Thinkage Ltd.