Package drivers.nxfa

Class NfaDriver

All Implemented Interfaces:
DeviceDriver

public class NfaDriver extends XfaDriver
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:
  • 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

      public String[] getNativeNames()
      Gets the names of the native dirs.
      Returns: