CompuServe Thread

#EJECT CODE ?

9 messages in this thread
#52686From: BARRY G. MILLERJul 13, 1993 7:20 PM
Does anyone know of any software code/routine that I could use to eject a disk out of the Toshiba 3401B? Are eject codes standard for all drives ? I want to use a batch file to call a routine that will eject the disk upon exiting a program. I launch almost all my programs with batch files. (Use Windows only when I have to!) I bought my drive at a show, so the documentation isn't very complete. If someone could help me out, it would be greatly aprreciated! Barry
#52725From: David Dillard [MDI]Jul 14, 1993 8:15 AM
If you're using MSCDEX there is a call to make to the driver that causes the disc to eject. Don't remember it off of the top of my head. If you're going raw SCSI, the 3401 uses the standard SCSI Start/Stop Unit command to eject the disc. Opcode of 0x1B in byte 0 and set the load/eject bit in byte 4 (0x02). David
#52770From: BARRY G. MILLERJul 14, 1993 7:47 PM
Dave, Yes, I'm using MSCDEX. I'll take another look in the 4 page long manual and see if there's anything about the MSCDEX driver, but I don't think so. Thanks for the reply! Barry
#52778From: steve sotoJul 14, 1993 8:38 PM
if you would like full docs for the 3401 give me a call at work. I'll fax the 3401 and MSCDEX code to you. Happy programming.
#52839From: BARRY G. MILLERJul 15, 1993 6:12 PM
Steve, What's your number ? Are you affiliated with Toshiba in anyway, since you're offering me the full docs? I'm not sure if faxing them to me would be such a great idea. The people I work for frown on activity like that, unless I'm actually at the fax machine to intercept them. (Which I should be able to do without any problem). Thanks, Barry
#52851From: steve sotoJul 15, 1993 8:24 PM
My number is 800-445-8633 or 718-343-1040 x136. I am the engineering manager for a large CD-ROM drive manufacture.
#52934From: BARRY G. MILLERJul 16, 1993 10:23 PM
Steve, I'll give you a call sometime next week. Thanks, Barry
#52732From: Glen ChapmanJul 14, 1993 9:53 AM
Barry, >>Are eject codes standard for all drives ?<< There is a standard protocol via MSCDEX that will eject the disc if the drive and low level driver supports it. I'll try to post a piece of code either here or the CDVEND forum in the next couple of days. Glen Chapman
#52771From: BARRY G. MILLERJul 14, 1993 7:48 PM
Glen, I'll be looking forward to it. Though I'm not a code programmer, I'm sure I'll be able to figure it out. I've got enough books around here! Barry