<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <HTML> <HEAD> <META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.21"> <TITLE>OpenCBM 0.4.2 Users Guide: Checking if the installation is complete</TITLE> <LINK HREF="opencbm-12.html" REL=next> <LINK HREF="opencbm-10.html" REL=previous> <LINK HREF="opencbm.html#toc5" REL=contents> </HEAD> <BODY> <A HREF="opencbm-12.html">Next</A> <A HREF="opencbm-10.html">Previous</A> <A HREF="opencbm.html#toc5">Contents</A> <HR> <H2><A NAME="s5">5.</A> <A HREF="opencbm.html#toc5">Checking if the installation is complete</A></H2> <P>After you installed OpenCBM (cf. <A HREF="opencbm-8.html#installation">Installation</A>, it is wise to check if the installation works as expected. For this, do the following:</P> <P> <UL> <LI>Switch on the floppy drive. Depending on the type of cable you are using (XA1541 or XM1541) and the parallel port of your PC, the drive might keep spinning endless now, because it is continuously resetted. </LI> <LI>Type "<I>cbmctrl reset</I>" and press enter. If it does not already, the red floppy drive LED should light up, and the drive should start spinning. After approximately one second (up to five seconds in the case of a 1581), the red LED should switch off again, and the drive stops spinning. </LI> <LI>Now, type "<I>cbmctrl status 8</I>" to get the status (error) code from the attached floppy drive. If everything works fine, your drive should answer with its identification string. For a 1541, this is something like <I>73,cbm dos v2.6 1541,00,00</I>, while for a 1571, this line looks like <I>73,cbm dos v3.0 1571,00,00</I>. There might also be some variant of this line, depending on the firmware version of your drive. </LI> <LI>Type "<I>cbmctrl status 8</I>" to get the status (error) code from the floppy drive again. As the power on message has been read, your drive should answer with a <I>00, ok,00,00</I> string. </LI> <LI>Type "<I>cbmctrl detect</I>". This command tries to detect the types of drive which are connected on the cable. You should see the drive which you posess. </LI> <LI>Now, we want to check if we can send anything to the floppy drive. Remove any diskette from the drive and press "<I>cbmctrl open 8 15 I0</I>". (Make sure the "I" is an upper-case "I". A lower-case "I" will not work!) This command tries to initialize the disk. Anyway, since there isn't a disk in the drive, an error occurs. You should hear the floppy spinning, and in case of a 1541, the R/W-head should start bumping. After some seconds, the red LED starts starts flashing, indicating that an error occurred. </LI> <LI>Now, try again "<I>cbmctrl status 8</I>" to get the status (error) code from the floppy drive. As an error occurred before, an error string should be displayed. For my setup, it is the "<I>21,read error,18,00</I>" string. Furthermore, the red LED should stop flashing.</LI> </UL> </P> <P>If you have come so far, you are sure that you send commands to the floppy, and receive answers from it. This is very good so far. Furthermore, don't panic: you do not have to enter these commands over and over again, these are only tests to make sure that anything is correctly installed.</P> <P>Now, let's proceed. If you have a D64 file or a floppy disc ready, you can try transferring it over the cable. Do not use all of the following commands, but only the ones you want to perform.</P> <P> <UL> <LI>If you want to transfer an existing floppy from the drive to the PC, use the following command: "<I>d64copy 8 A.D64</I>", while replacing A.D64 by the name you want to give to the file. </LI> <LI><B>WARNING THE FOLLOWING COMMAND OVERWRITES ANYTHING THAT WAS ON THE FLOPPY BEFORE, so make sure you do not need that floppy anymore.</B> If you have a D64 or D71 on your PC, and you want to write it to a new, already formatted disc, enter "<I>d64copy A.D64 8</I>" if the file is called A.D64. </LI> <LI><B>WARNING THE FOLLOWING COMMAND OVERWRITES ANYTHING THAT WAS ON THE FLOPPY BEFORE, so make sure you do not need that floppy anymore.</B> If you have a disc you want to format, you have two options: Either use the command "<I>cbmctrl command 8 N0:NAME,ID</I>", or use the cbmformat program, cf. <A HREF="opencbm-18.html#cbmformat">cbmformat</A>, or the cbmforng program, cf. <A HREF="opencbm-19.html#cbmforng">cbmforng</A>.</LI> </UL> </P> <P>If you want to completely remove the cbm4win driver from your machine, you can do so by issuing a "<I>instcbm --remove</I>" command.</P> <P>You can have a look at the available cbmctrl commands by issuing cbmctrl on your command line, or look at <A HREF="opencbm-17.html#cbmctrl">cbmctrl</A>. For the other programs, you get help by issuing the "--help" option, or look at the appropriate section in <A HREF="opencbm-15.html#utilities">utilities</A>.</P> <HR> <A HREF="opencbm-12.html">Next</A> <A HREF="opencbm-10.html">Previous</A> <A HREF="opencbm.html#toc5">Contents</A> </BODY> </HTML>