19 December 2012, 05:27 | #1 |
R.I.P Smudge 18-08-16
Join Date: Aug 2005
Location: Leicester/UK
Age: 66
Posts: 3,968
|
Mounting ADF's
Inspired by a script for mounting ADF's from Thomas I came up with an Idea to be able to mount and unmount adf's.
Enjoy.... edit: Forgot to mention that it requires a 020 cpu or better. MountADFv3 is the latest Drives now remain mounted with the ability to eject the adf. Empty drives are scanned to insert the next adf. User selected path to adf files on first startp. Up to nine drives (subject to available memory) can be mounted. Last edited by Arnie; 20 January 2013 at 19:24. Reason: Final release |
20 December 2012, 22:08 | #2 |
R.I.P Smudge 18-08-16
Join Date: Aug 2005
Location: Leicester/UK
Age: 66
Posts: 3,968
|
Here's one for use with 68000 cpu's
EDIT: New archive uploaded, please download again. Last edited by Arnie; 14 February 2013 at 22:44. |
21 December 2012, 00:18 | #3 |
Still an Amiga user
Join Date: Nov 2006
Location: Kent
Age: 55
Posts: 2,715
|
So, on an Amiga I can use this to just view the contents of an ADF rather than having to write it to a floppy - it's that's correct it's great - thanks for sharing Arnie!
This is really useful to me. |
21 December 2012, 00:34 | #4 |
Ruler of the Universe
Join Date: Mar 2010
Location: Lanzarote/Spain
Posts: 6,195
|
This must be a REALLY useful program. I think you should talk with Thomas and upload it to Aminet (and/or his web), but perhaps you should improve where it searchs for adf's files.
Last edited by Retrofan; 21 December 2012 at 00:48. |
21 December 2012, 03:02 | #5 |
Registered User
Join Date: May 2001
Location: ?
Posts: 19,646
|
Any file device can mount an ADF. I use XFS. You can mount as many ADFs as device names you want to make up in a mountlist (as is what this script does). It's not a "program" per se.
By the way, the A500 verison will not work as the mountlist has not been changed and is still mounting the devices using "diskimage.device" instead of "filedisk.device" |
21 December 2012, 18:42 | #6 | |||
R.I.P Smudge 18-08-16
Join Date: Aug 2005
Location: Leicester/UK
Age: 66
Posts: 3,968
|
Quote:
Quote:
Quote:
If you are using WB2 or WB2.5, you will need requestfile from aminet. I hadn't thought about requestchoice. Is there an alternative anywhere? |
|||
21 December 2012, 19:35 | #7 |
Registered User
Join Date: May 2001
Location: ?
Posts: 19,646
|
The mountlist is used to mount the devices. It's the description of each device that is contained within. In your case, it's called "drivelist" and the definitions contained within call for "diskimage.device" and hence will only work if you have diskimage.device, which isn't included in the package (filedisk.device is included instead)
No matter how you call it, doens't need to be caleld "mountlist" to be a mountlist. You are creating a mountlist in ENV called "device" and that is what you mount. As it is, unless you have diskimage.device, this doesn't work. |
21 December 2012, 19:52 | #8 | |
R.I.P Smudge 18-08-16
Join Date: Aug 2005
Location: Leicester/UK
Age: 66
Posts: 3,968
|
Quote:
Obviously this "program" is crap and you should steer well clear of it. |
|
21 December 2012, 20:31 | #9 |
Registered User
Join Date: May 2001
Location: ?
Posts: 19,646
|
I tried it and couldn't get it to work. I never said that any of this is crap, I said that I thought it didn't work, because I looked inside the script, which USES the "drivelist" file you included, a file which has references to diskimage.device.
Alternatively, the script also calls for "RequestChoice" and "Requestfile", neither of which are found in the archive or in my Amiga 600 system Now, if you want to be a jerk calling me things I do not deserve, so be it. It's full of jerks in the Internet. But your script doesn't work. |
21 December 2012, 21:32 | #10 |
R.I.P Smudge 18-08-16
Join Date: Aug 2005
Location: Leicester/UK
Age: 66
Posts: 3,968
|
The reason it dose not work is because anything below WB2.1 does not include RequestChoice or Requestfile and the C:mount does not work with Isomount.
I'll upload an updated archive with RequestFile & RequestChoice found on Aminet. I'm looking for a replacement C:Mount. I apologise if you thought I was calling you things but, poking around the script and proclaiming it's the "mountlist" without checking the facts is annoying. The fact is that the script does work but not on WB2.05 or lower at the moment. I'll work on it some more but, as it stands, it works on WB2.1 and above. |
21 December 2012, 21:40 | #11 |
Ruler of the Universe
Join Date: Mar 2010
Location: Lanzarote/Spain
Posts: 6,195
|
I want to know what Thomas thinks about this. I'm sure he's got some ideas to make it better. He just made it very fast to install WB using adfs for a guy with problems with his floppy drive, but a program to avoid using floppys is a great idea.
|
21 December 2012, 21:52 | #12 |
Global Moderator
Join Date: Aug 2008
Location: Sidcup, England
Posts: 10,300
|
Something like this would be ideal for mounting/unmounting DiskSpare ADF images on the fly.
I'll see if I can come up with something similar based on work I did recently to unpack DiskSqueezed DiskSpare disk images without using a floppy disk drive. |
21 December 2012, 22:11 | #13 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,024
|
Well, knowing that it is not possible to really unmount a DOS device and that using assign dismount and then mounting the same device again is just a big waste of memory, I would put ADF0 etc. into Devs/DosDrivers and run DiskImageCtrl (or DiskImageGUI if you use the newer V52 diskimage.device) from WBStartup and forget the script completely.
You can remove the ADF from the virtual drive like you remove a floppy disk from a real drive. You don't need to unmount the virtual drive like you don't disconnect the real drive every time, either. The difference between the script and using DiskImageCtrl directly is that with DiskImageCtrl you first select a drive and then select an ADF which you insert into this specific drive. With the script you only select an ADF and the script then inserts it into any drive it finds. I could imagine a combination of both: make a "mount" script which lets you select an ADF and insert it into an empty drive or mount a new drive if none is empty. And an "eject" script which lets you choose from a list of all inserted ADFs the one which you want to remove. I don't like the "unmount" part for the reason mentioned above. Probably a more "real" programming language is needed for the eject part (ARexx for example). It needs to extract the ADF file names from the list which DiskImageCtrl outputs. One should be able to run the mount script as default tool for ADF files so that you can mount them by double click. And unmount them if you double click again... just brainstorming ;-) |
21 December 2012, 22:59 | #14 |
Ruler of the Universe
Join Date: Mar 2010
Location: Lanzarote/Spain
Posts: 6,195
|
I like that idea, with a "Mount" (or Insert) and "Eject". Easy and useful
|
21 December 2012, 23:11 | #15 |
R.I.P Smudge 18-08-16
Join Date: Aug 2005
Location: Leicester/UK
Age: 66
Posts: 3,968
|
@Thomas
The main reason that I made this script was to combine mount/unmount scripts into one easy to use script that tries to be as user friendly as possible for new users. If I could write in ARexx then that is the path I would have taken. A default tool for ADF's would be a great idea. Anyway, I'm by no means an Amiga programmer and this script is meant as an easy option to mount/unmount adf's. @Prowler A DSQ/Diskspare mounter would be great. |
21 December 2012, 23:26 | #16 |
Global Moderator
Join Date: Aug 2008
Location: Sidcup, England
Posts: 10,300
|
What I have in mind won't mount DiskSqueeze archives; only DiskSpare-formatted ADF images with 12 sectors per track (983,040 bytes).
There were some Amiga User International and other coverdisks formatted in this way, and disk images of these have been uploaded to the EAB File Server as DiskSpare-formatted ADF images. Mounting those images is what I was talking about. DiskSqueeze archives of both standard- and DiskSpare-formatted disk images can be extracted to ADF using Toni Wilen's UAEUNP 0.8 utility - available from the WinUAE downloads page. |
21 December 2012, 23:43 | #17 |
R.I.P Smudge 18-08-16
Join Date: Aug 2005
Location: Leicester/UK
Age: 66
Posts: 3,968
|
I have used Diskspare in the past. As far as I can remember there are 2 different sizes of disk, 960kb and 984kb, depending on the version of diskpsare you use.
I would imagine you could mount DS0: and then Insert the image the same as ADf's, or is that being too naive? I've tried DSQ's but never quite got to grips with the GUI. |
22 December 2012, 00:07 | #18 | ||
Global Moderator
Join Date: Aug 2008
Location: Sidcup, England
Posts: 10,300
|
Quote:
Quote:
It's cetainly not an easy tool to use. That's why UAEUNP is so useful. |
||
22 December 2012, 00:18 | #19 | |
Registered User
Join Date: May 2001
Location: ?
Posts: 19,646
|
Quote:
Also, again, you are wrong, as I am running WB2.1 on my A600. Who is the one who isn't "checking the facts"? You assumed I was doing things wrong and saying this doesn't work "just because" and decided to vent on me for no good reason and without justification. Your script does not work except on your configuration. |
|
22 December 2012, 00:29 | #20 | |
R.I.P Smudge 18-08-16
Join Date: Aug 2005
Location: Leicester/UK
Age: 66
Posts: 3,968
|
Quote:
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mounting adf file on floppy or cf card | WeiXing3D | support.Apps | 6 | 17 March 2013 21:19 |
Mounting DMS and ADF images | AndersHP | support.Other | 9 | 10 September 2010 20:18 |
Mounting .adf images | THX1138 | support.Games | 4 | 25 June 2005 23:13 |
Mounting .adf in RAM | lauri_t | project.ClassicWB | 9 | 30 April 2005 22:10 |
Mounting ADF files as disks on real amiga | dkovacs | support.Apps | 5 | 08 April 2005 16:57 |
|
|