KillCD0 (<- with a ZERO) A small tool to kill CD0: Version 1.00 - (26.6.01) (C) H. van der Ree KillCD0 (<- with a ZERO) is a small tool that can be used to kill CD0: on a CDTV, A570 or CD32 so you can mount a new one with another filesystem i.e. AmiCDFS or CacheCDFS from OS 3.9. REQUIREMENTS: OS 2.04 or better. And a CDTV, A570 or CD32! It is not very useful on a 1MB machine, but is should work! A CDROM filesystem. AmiCDFS is on Aminet: amicdfs240.lha disk/cdrom 133K 179+AmiCDFS (AmiCDROM) v2.40 If you have OS3.9 you can also use CacheCDFS. Other filesystems are not tested but might work. It is tested on: An A500 with A570 and Harms-Turbo, 1MB chip & 8MB non-DMA fast, OS2.04, OS2.1, OS3.0 and OS3.1. A CD32 with SX-1, 2MB chip & 8MB fast, OS3.1 and OS3.9. INSTALLATION: Copy it to C:, that all. Of course you must have a CD-FileSystem installed in L:! If you use either AmiCDFS or CacheCDFS you can copy the appropriate CD0 Mountfile (the 'CD0' file, NOT the MountFile!) to your SYS:Storage directory. If you use OS2.04 append the appropriate MountFile to your Devs:MountFile. Add to your user-startup the following: --< snip >-- c:KillCD0 cd0 if not warn mount CD0: endif setenv cd0 $cd0 unset cd0 --< snip >-- Another way is to add the line 'c:KillCD0 cd0' early on in your startup- sequence. Then below the line 'C:Mount >NIL: DEVS:DOSDrivers/~(#?.info)' add the following: --< snip >-- if $cd0 eq YES mount CD0: endif setenv cd0 $cd0 unset cd0 --< snip >-- Save the changes, reboot and see if is works. USAGE: The template is: KillCD0 VAR/A. VAR is the name for the LOCAL variable used to save the result into. There are three possible answers: 'YES', 'NO' and 'DISK'. 'YES' : CD0: was killed. 'NO' : CD0: was not killed. 'DISK' : CD0: was not killed because there is a disk in the drive. Also RC is set to either 0 == success or 5 == no success! If successful you can now mount another CD0: with another(=better) filesystem. I included mountfiles for CD0 using AmiCDFS 2.40 or CacheCDFS 42.19 from OS3.9. BUGS: None that I know off. HISTORY: 1.00 - 26.06.01 First version. DISCLAIMER: · This program is to be used entirely at your own risk, and although I have performed extensive testing, I will not be held responsible for any loss of data as a result of it's use. · This program is © 2001, and may only be distributed in its original unmodified form. · This program is EMailware, that means if you use it, please send me an email. If you disagree with any of the above, do not use the program!