
|
84782 packages online
|
|
 |
|
|
|
No screenshot available
|
|
--------------------------------------------------------------------------
CheckCD 1.0 © Ricardo Martinez 1994
--------------------------------------------------------------------------
I have written this little program because I own an external CD-ROM drive
that is not always connected to my Amiga and I was bored of manually
mounting CD0: when I want to use my CD-ROM.
This program checks if a defined SCSI device is or not a CD-ROM drive
returning a return code that you can use in a script.
Script example:
;---------- cut ----------
CheckCD scsi.device UNIT 3
If NOT WARN
Mount CD0:
EndIf
;---------- cut ----------
It returns 0 (OK) if the device is a CD-ROM drive, 5 (WARN) if this is a
SCSI device but not a CD-ROM, and 20 (FAIL) in any other case.
Command template is "DEVICE,UNIT/N". DEVICE is the device name of your SCSI
controller and UNIT the unit number of the device you want to check.
CheckCD needs AmigaOS 2.04 or higher!!!
Contact with me at:
E-Mail rmartinez@mips.mazanet.es
FidoNET 2:341/28.5
AmigaNET 39:192/2.5
|
Contents of disk/misc/chkcd10.lha
PERMSSN UID GID PACKED SIZE RATIO CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic] 643 3040 21.2% -lh5- 8bb9 Oct 12 1994 CheckCD
[generic] 531 1076 49.3% -lh5- febc Oct 12 1994 CheckCD.english.doc
[generic] 553 1088 50.8% -lh5- 8a24 Oct 12 1994 CheckCD.español.doc
---------- ----------- ------- ------- ------ ---------- ------------ -------------
Total 3 files 1727 5204 33.2% Dec 24 1997
|
|
|
 |
Page generated in 0.02 seconds |
Aminet © 1992-2024 Urban
Müller and the Aminet team.
Aminet contact address: <aminet aminet net> |