Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: Hybrid on June 29, 2006, 04:22:04 PM

Title: CacheCDFS multiple LUN Settings (CD Changer)
Post by: Hybrid on June 29, 2006, 04:22:04 PM
Hello there!!

Im busy putting the final touches to an A4000D to re-launch an old BBS. One stumbling block is getting my Nakamichi 7 Disk CD Changer to work with CacheCDFS.

The DosDriver entry that gets the first CD in the changer going is below (ID 4 LUN 0). This works fine but of course is only for the first disk in the changer.

What changes to this mounlist do I need to make to get CD01: etc to be recognised (ie ID 4 LUN 1,2,3,4,5 and 6)?

Many thanks

Paul (Hybrid/Digital Candy)

/***************************************************************/
/*  CacheCDFS mountlist entry © 1993 Elaborate Bytes, O. Kastl */
/***************************************************************/
   FileSystem     = L:CacheCDFS /* The name of the game */
   Device         = "cybscsi.device" /* Name of exec device driver */
   Unit           = 4 /* exec device unit */
   Flags          = 0 /* OpenDevice flags */
   BlocksPerTrack = 351000 /* Unused */
   BlockSize      = 2048 /* True, but unused */
   Mask           = 0x7ffffffe /* Memory mask for direct read */
   MaxTransfer    = 0x100000 /* Maximum amount of bytes for direct read */
   Reserved       = 0 /* Unused */
   Interleave     = 0 /* Unused */
   LowCyl         = 0 /* Unused */
   HighCyl        = 0 /* Unused */
   Surfaces       = 1 /* Unused */
   Buffers        = 50 /* Number of cache lines */
   BufMemType     = 1 /* MEMF_PUBLIC */
   GlobVec        = -1 /* Do not change! */
   Mount          = 1 /* Mount it immediately */
   Priority       = 10 /* Priority of FileSystem task */
   DosType        = 0x43443031 /* Currently unused */
   StackSize      = 3000 /* Minimum stack required is 3000! */
   Control        = "MD=0 LC=1 DC=8 L LV AL LFC=1 S NC"
   /* The Control field is for special adjustments */
   /* L/S convert all file/volume names to lowercase */
   /* LV/S convert volume names to lowercase */
   /* AL/S Auto-Lower converts only non-Amiga CDs */
   /* LFC/N start converting at this character */
   /* LC/N/A number of blocks per cache line */
   /* DC/N/A number of cache lines for the data cache */
   /* MD/N/A number of blocks, when starting direct read, not using */
   /* the cache. 0 will be a reasonable default (LC*DC+1) */
   /* S/S Do SCSI direct commands, no Trackdisk like commands! */
   /* NC/S Do NOT use TD_ADDCHANGEINT, poll for DiskChange! */
   /* M/S Issue a TD_MOTOR (OFF) command after read */


Title: Re: CacheCDFS multiple LUN Settings (CD Changer)
Post by: Thomas on June 29, 2006, 04:44:06 PM

Unit = abc

a = board
b = LUN
c = ID

so
unit 4 = LUN 0 at ID 4
unit 14 = LUN 1 at ID 4
unit 24 = LUN 2 at ID 4
etc.


For UW-SCSI with numbers larger than 7 it is

aa0bb0cc8

Bye,
Thomas
Title: Re: CacheCDFS multiple LUN Settings (CD Changer)
Post by: Hybrid on June 29, 2006, 11:26:51 PM
Thomas

Thank you kindly. I will try it tomorrow and see if it works.

Regards

Hybrid