22 December 2012, 19:29 | #21 |
R.I.P Smudge 18-08-16
Join Date: Aug 2005
Location: Leicester/UK
Age: 66
Posts: 3,968
|
Is there a way to detect if the mounted virtual floppy has an image attached?
I'm thinking along the lines of checking for volume =, that way I wouldn't need to dismount the drive and, as Thomas pointed out, save some memory. The way I would like to do it is, Check if a drive has a volume attached, if yes, mount another drive, if no, use the available drives. Sound feasible? |
22 December 2012, 21:09 | #22 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,001
|
That is quite tricky in a shell script. This could work:
Code:
info adf0: >t:info.out search >nil: t:info.out "No disk present" if not warn echo "no disk in adf0" endif |
22 December 2012, 23:31 | #23 | |
R.I.P Smudge 18-08-16
Join Date: Aug 2005
Location: Leicester/UK
Age: 66
Posts: 3,968
|
Quote:
Works great with diskimage though. So 020 |
|
23 December 2012, 01:06 | #24 |
R.I.P Smudge 18-08-16
Join Date: Aug 2005
Location: Leicester/UK
Age: 66
Posts: 3,968
|
Updated archive post #1
Thanks Thomas |
23 December 2012, 14:13 | #25 |
R.I.P Smudge 18-08-16
Join Date: Aug 2005
Location: Leicester/UK
Age: 66
Posts: 3,968
|
Another small update:
Added Selecting your path to ADF files on first startup. post #1 updated Will look into mounting Diskspare, dms & adz files... How's it going Prowler? |
23 December 2012, 20:07 | #26 |
Global Moderator
Join Date: Aug 2008
Location: Sidcup, England
Posts: 10,300
|
I thought I'd wait to see how your version polishes up and then create a DiskSpare version.
It was just an idea of mine. However, if you'd like to give it a go yourself, then I'll not steal your thunder. I did write myself a procedure for how to extract DiskSqueeze archives of DiskSpare ADFs into a file mounted using FMSDisk.device, which I could post here if you think it might help. |
24 December 2012, 00:54 | #27 |
R.I.P Smudge 18-08-16
Join Date: Aug 2005
Location: Leicester/UK
Age: 66
Posts: 3,968
|
To be honest I'm not getting very far with diskspare, one minute it works ok then nothing can be read.
I think I'm about done with my version, I might add an extra button to reset the user defined paths for adf's. The A500/68000 version is going nowhere at the moment. It needs a type of diskimage.device for that CPU. Feel free to add to mine or make a free standing one, it's for the benefit of all afterall. |
24 December 2012, 01:10 | #28 |
Global Moderator
Join Date: Aug 2008
Location: Sidcup, England
Posts: 10,300
|
Okay. I'm looking at the Ninja Gaiden II disks at the moment, with a view to fixing the graphics corruption on Level 7.
When I'm done with that (one way or the other), I'll have a go at creating a MountADF DiskSpare version. |
24 December 2012, 03:55 | #29 |
Registered User
Join Date: Jan 2007
Location: Burbank, CA
Posts: 161
|
Does anyone know why IconX has problems parsing the "IF" command, which is a resident/internal command?
I get the error: "Must be in a command file IF failed returncode 10" The script works fine if run from CLI... |
24 December 2012, 10:05 | #30 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,517
|
I guess this should be in some other forum? I don't think WinUAE needs help with ADF mounting.
|
24 December 2012, 11:11 | #31 |
R.I.P Smudge 18-08-16
Join Date: Aug 2005
Location: Leicester/UK
Age: 66
Posts: 3,968
|
|
24 December 2012, 16:37 | #32 |
Global Moderator
Join Date: Aug 2008
Location: Sidcup, England
Posts: 10,300
|
|
24 December 2012, 19:37 | #33 |
R.I.P Smudge 18-08-16
Join Date: Aug 2005
Location: Leicester/UK
Age: 66
Posts: 3,968
|
MountADF Final uploaded 24-12-12
Merry Christmas eveyrone Arnie |
24 December 2012, 19:41 | #34 |
Global Moderator
Join Date: Aug 2008
Location: Sidcup, England
Posts: 10,300
|
Thanks, Arnie!
|
25 December 2012, 03:58 | #35 |
Registered User
Join Date: Jan 2007
Location: Burbank, CA
Posts: 161
|
|
04 January 2013, 17:06 | #36 |
R.I.P Smudge 18-08-16
Join Date: Aug 2005
Location: Leicester/UK
Age: 66
Posts: 3,968
|
Hey Prowler....how's it going.
I've managed to get Diskspare disks mounted, did you have any luck with DSQ? If you haven't got round to it yet I can upload my new version here. Arnie |
04 January 2013, 20:09 | #37 |
Global Moderator
Join Date: Aug 2008
Location: Sidcup, England
Posts: 10,300
|
Hi Arnie,
Please go ahead and upload your version. I have been very busy and have made no headway on this. PS. I never intended to mount DSQ archives in this way. They can be extracted to ADF (standard or DiskSpare) with Toni Wilen's UAEUNP 0.8 tool, available on the WinUAE downloads page, and then mounted. |
04 January 2013, 20:51 | #38 |
R.I.P Smudge 18-08-16
Join Date: Aug 2005
Location: Leicester/UK
Age: 66
Posts: 3,968
|
Yes, i understand, life gets in the way sometimes. I don't start back work 'till the 7th so I've had some spare time
Not tried UAEUNP 0.8 tool yet, is it easier than DSQ, does it unpack all the Diskspare disks? Anyway here is a version 2 of MountADF that mounts AmigaDos & Diskspare (960mb)disks. Only works for 020 cpu due to diskimage not working for 68000 cpu's. Oh, almost forgot, in keeping with real Amigas, only 4 drives can be used, AmigaDos & Diskspare share a drive, i.e If there ia Amigados disk in drive ADF0: then you need to eject the disk to mount a disk in ADS0:. Enjoy EDIT: Just found another file size for diskspare disks (923648), will add it in next release. Last edited by Arnie; 14 February 2013 at 22:44. |
04 January 2013, 21:18 | #39 | ||
Global Moderator
Join Date: Aug 2008
Location: Sidcup, England
Posts: 10,300
|
Quote:
Quote:
For details of how to use the tool (it can be a bit confusing), read the relevant parts of this thread: Uaeunp (26-10-10) extracts corrupted ADF from DSQ archive. (Don't worry, that particular bug is fixed in later versions. ) |
||
05 January 2013, 00:41 | #40 |
Registered User
Join Date: Feb 2012
Location: United Kingdom
Posts: 3,175
|
Nice tool Arnie!
|
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 |
|
|