home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga MA Magazine 1998 #6
/
amigamamagazinepolishissue1998.iso
/
cdrom
/
dseject
/
dseject.readme
< prev
Wrap
Text File
|
1996-11-09
|
1KB
|
31 lines
Short: Eject and load a tray of CDROM drive
Uploader: jbednars@elka.pw.edu.pl (Jakub Bednarski)
Author: jbednars@elka.pw.edu.pl (Jakub Bednarski)
Type: disk/cdrom
This program simply ejects or loads a tray of cdrom drive with use of direct
scsi command mechanism.
Instalation:
Just copy DSEject command whereever you want (preferably within your command
path).
Usage:
DSEject device_name unit_number [optional_keyword_for_loading_a_tray]
Example:
Let's say you have a CDROM drive connected on scsi.device unit 4.
To eject a tray just enter: DSEject scsi.device 4
To load a tray: DSEject scsi.device 4 LOAD
I've written this program because none of the programs from aminet doesn't
meet my expectations. Some of them use TD_EJECT command which isn't
supported by my device. (BTW I use Mitsumi FX600S ATAPI CDROM drive driven
by atapi.device by Oliver Castl) or have hardcoded device name. Others have
GUI which I don't want or can only eject a tray but can't load it.
So I decided to write a program which would do what I want it to do.
My program is written in 100% assembler and use START_STOP_UNIT command to
eject and load a tray. It works great on my system.