AzulSCSI_config.h 1.1 KB

1234567891011121314151617181920212223242526272829
  1. // Compile-time configuration parameters.
  2. // Other settings can be set by ini file at runtime.
  3. #pragma once
  4. // Configuration and log file paths
  5. #define CONFIGFILE "azulscsi.ini"
  6. #define LOGFILE "azullog.txt"
  7. #define CRASHFILE "azulerr.txt"
  8. // Log buffer size in bytes, must be a power of 2
  9. #define LOGBUFSIZE 16384
  10. // HDD image file format
  11. #define HDIMG_ID_POS 2 // Position to embed ID number
  12. #define HDIMG_LUN_POS 3 // Position to embed LUN numbers
  13. #define HDIMG_BLK_POS 5 // Position to embed block size numbers
  14. #define MAX_FILE_PATH 32 // Maximum file name length
  15. #define MAX_BLOCKSIZE 1024 // Maximum BLOCK size
  16. // SCSI config
  17. #define NUM_SCSIID 7 // Maximum number of supported SCSI-IDs (The minimum is 0)
  18. #define NUM_SCSILUN 2 // Maximum number of LUNs supported (The minimum is 0)
  19. #define READ_PARITY_CHECK 0 // Perform read parity check (unverified)
  20. // Default SCSI drive information (can be overridden in INI file)
  21. #define DEFAULT_VENDOR "QUANTUM "
  22. #define DEFAULT_PRODUCT "FIREBALL1 "
  23. #define DEFAULT_VERSION "1.0 "