Using TransADF

 
Home    Tutorials    Using TransADF
 

Introduction
TransADF can be used for transferring Amiga Disk Files (ADFs) to and from Amiga disk drives, and in addition it can support compressed Amiga Disk Files as well (ADZs). The TransADF distribution includes three different executables, but the one that can be included on the boot disks and A911Extras packs, is the version that has built-in support for (de)compression of floppy image files. This feature is also one of the reasons why TransADF was chosen over other similar type of programs.
 
Since TransADF is a CLI only program, a simple front-end called TransADFGui will also be included on the boot floppy or pack, this is a requester based script that can make it a bit easier to read and write ADF files.  Below you can find a little mini tutorial which explains the usage.
 


Author: Karl J. Ots, Roger Håseth (script),    Requires: AmigaOS 2.x or higher,    Download: http://aminet.net/package/disk/misc/TransADF



Writing ADF image to floppy disk
Click the "File to Disk" button if you want to transfer an ADF/ADZ image file to a floppy disk, this will open the requester you see on the right. The "Select image file" button allows you to select the ADF file you want written to disk, and you can also change some options by clicking the "Options" button. By doing the latter, you will be able to choose the disk drive to be used (DF0: or DF1:), and whether or not to use the Verify & Format options.
 
Verify is recommended if you want to make sure that all tracks gets written correctly, TransADF will then read data from the drive after writing each track, and will inform you about any errors. It will slow down the transfer by about 40% though.  The Format option is required if the image file is to be written to a floppy disk that are either unformatted, or formatted to a different geometry (eg PC disk), otherwise it is not really needed. The transfer will be slowed down with ca. 20% by using this option.
 
When you are done, click the "Write" button to start writing the ADF/ADZ file to the floppy in the selected drive.





Reading floppy disk to ADF image
By clicking the "Disk to File" button from the main requester, the one to the right will appear. It will allow you to transfer the entire content of a floppy disk to an ADF/ADZ image file. First you must click the "Select Image File" button, this will allow you to enter the name of the image file to be created. It is recommended that you add an ".adz" extension to the file name if the disk image is to be compressed, otherwise you should add an ".adf" extension instead.
 
This requester does also have an "Options" button, and in addition to selecting the disk drive, you can also select if TransADF should compress the disk image. If this is the case, you will also be asked to choose the compression level to use. This consists of a number from 1 to 9, where 1 is fastest but gives a larger file, and 9 is slowest but gives a smaller file. The default compression level is 6, which gives a fair balance between speed and file size.
 
When you are finished, click the "Read" button to start reading the floppy to the selected ADF/ADZ file.




   Please note! Starting with TransADFGui 1.5, you must now press the Return key as confirmation before the floppy disk gets read from or written to.


Saving the Options
There is also a "Save Options" button in the main TransADFGui requester, and as the title implies, it will save all the options that can be changed in the script. This will be to a file called TADFGOptions in Envarc:. 



Copying floppy disks
Earlier I was considering to include support for some kind of disk copy program in Amiga911 Maker, but this idea was dropped since I couldn't find any suitable software that was small enough. But it's actually quite possible to use TransADF for copying disks instead, and here is how it can be done:

First you need to insert the floppy disk to be copied, and then click the "Disk to File" button in the main TransADFGui requester. Now you must click the "Select Image File" button, and enter the name of the temporary image file to be created. As for the destination dir, I will recommend the Ram disk if you have enough free memory on your Amiga. When you are done, click the OK button, and then "Read" to start transferring the floppy contents to the ADF file.

After this is finished, insert your destination disk into the floppy drive, and click the "File to Disk" button in the main TransADFGui window. Make sure that the currently selected image file is the one you just created, and click the "Write" button to start writing from the ADF file to the destination floppy. When this is done, you can just delete the temporary ADF file.




Some important notes
 
1.  When using TransADF, remember to write-protect floppy disks that should NOT be written to, this is just to be on the safe side.
 
2.  Do have in mind that when TransADF transfers from floppy to ADF/ADZ file, any existing file with the same name will automatically be overwritten!
 
3.  TransADF can both read and write ADZ files that uses Zip and GZip compression, but if you use the TransADFGui script for Disk to File transfers, only GZip is supported.
 
4.  Remember that you can NOT use TransADF directly from a floppy disk if it's inserted in the same drive that's going to be used for reading/writing ADF files. If you try to do this, the disk containing TransADF is actually the one that will be read from or written to!  One example is the disk version of A911Extras.  If TransADF is included on the floppy, try to run the Scri2Ram script. This will copy all TransADF related files to the Ram disk, allowing you to run it from there instead.




    Followed a link? Please go to the Main Site                   © Roger E. Håseth 2014 - 2016