Package drivers.nxfa
Class NfaDriver
java.lang.Object
drivers.nxfa.XfaDriver
drivers.nxfa.NfaDriver
- All Implemented Interfaces:
DeviceDriver
The Native File Access device driver class that allows SMSQE to access native files.
It implements 8 "drives" (NFA1_ to NFA8_) which point to native dirs.
The driver opens NFAFiles, one for each SMSQE file. Each Nfafile gets a unique number (integer 0 - 0xffff) which gets put into the SMSQE channel definition block (offset 0x1E). For each drive, the driver maintains a hashmap ‹Integer,NfaFile› so that it can find the Nfafile with the integer.
- See Also:
-
Field Summary
Fields inherited from class drivers.nxfa.XfaDriver
cpu, deviceID, filenameChange, fileNumber, nativeDir, tempHeader, usage, useXTcc
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class drivers.nxfa.XfaDriver
closeAllFiles, closeFile, convertFilename, convertFilename2, deleteFile, deviceIsDir, formatMedium, getDeviceID, getName, getNames, getUsage, makeName, openFile, setCpu, setDirname, setFilenameChange, setNames, setUsage, trap3OK, writeBack
-
Constructor Details
-
NfaDriver
public NfaDriver(boolean useXTcc) Creates this object.- Parameters:
useXTcc
- if True, executables files are saved as XTcc files
-
-
Method Details
-
setXTcc
public void setXTcc(boolean useXTcc) Sets the XTcc flag.- Parameters:
useXTcc
- true if driver should check for XTcc
-
getNativeNames
Gets the names of the native dirs.- Returns:
-