English Amiga Board


Go Back   English Amiga Board > Support > support.Other

 
 
Thread Tools
Old 05 January 2013, 22:41   #41
prowler
Global Moderator
 
prowler's Avatar
 
Join Date: Aug 2008
Location: Sidcup, England
Posts: 10,300
Lightbulb

Quote:
Originally Posted by Arnie View Post
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.
Quote:
Originally Posted by prowler View Post
I have only seen the 960K size with 12 sectors per track instead of 11 (hence DiskSpare). The only images I have seen in the 984K size turned out to be padded with 24K of zeroes at the end!
I'm just getting my head round all this again...

I've just worked out what the 984K DiskSpare disk images most likely are, and why all those I have seen (on the EAB File Server, IIRC) are padded with zeroes!

The mountlist muist have 82 tracks per side instead of 80! But those images are dumps of disks with only 80 tracks per side, so the last 24K of data are zeroed out!
prowler is offline  
Old 06 January 2013, 11:25   #42
Arnie
R.I.P Smudge 18-08-16
 
Arnie's Avatar
 
Join Date: Aug 2005
Location: Leicester/UK
Age: 66
Posts: 3,968
Yeah, weird. I've never come across any dumped disks with 984kb, the Superdisks I have are all 960kb.

Can you tell me why some of the early Superdisks (not diskspare) are 902kb disks but show as 836 in workbench?
Arnie is offline  
Old 06 January 2013, 11:29   #43
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,517
Quote:
Originally Posted by Arnie View Post
Can you tell me why some of the early Superdisks (not diskspare) are 902kb disks but show as 836 in workbench?
OFS formatted?
Toni Wilen is offline  
Old 06 January 2013, 11:36   #44
Arnie
R.I.P Smudge 18-08-16
 
Arnie's Avatar
 
Join Date: Aug 2005
Location: Leicester/UK
Age: 66
Posts: 3,968
Yes they are but, why the 902kb file size. Shouldn't it be 836kb?
Arnie is offline  
Old 06 January 2013, 12:19   #45
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,517
Perhaps you meant something else but OFS disk data block size is 488 bytes, 24 bytes is wasted (512 byte blocks) for OFS book keeping information. (OFS 880k adf does not have 880k free either)
Toni Wilen is offline  
Old 06 January 2013, 14:34   #46
Arnie
R.I.P Smudge 18-08-16
 
Arnie's Avatar
 
Join Date: Aug 2005
Location: Leicester/UK
Age: 66
Posts: 3,968
Quote:
Originally Posted by Toni Wilen View Post
Perhaps you meant something else but OFS disk data block size is 488 bytes, 24 bytes is wasted (512 byte blocks) for OFS book keeping information. (OFS 880k adf does not have 880k free either)
OK thanks

So irrespective of whether it's OFS or FFS formatted the files size is the same, 901120.

I have different size diskspare disks so I'm trying to find out what loads what.

901120 AmigaDOS FFS/OFS

923648 AmigaDOS FFS/OFS

983040 DiskSpare FFS/OFS (960kb)

1007218 DiskSpare FFS/OFS (984kb)

The only one which is puzzling me is 923648, it's an AmigaDOS 880kb disk but, larger than a standard ADF?
Arnie is offline  
Old 06 January 2013, 20:56   #47
prowler
Global Moderator
 
prowler's Avatar
 
Join Date: Aug 2008
Location: Sidcup, England
Posts: 10,300
Quote:
Originally Posted by Arnie View Post
The only one which is puzzling me is 923648, it's an AmigaDOS 880kb disk but, larger than a standard ADF?
This 902K disk has 82 tracks per side, whereas the 880K disk has 80 tracks per side. Both disks have 11x512-byte sectors per track.
prowler is offline  
Old 06 January 2013, 21:04   #48
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 3,343
Yes that one's a bit strange. Did anyone ever hack trackdisk.device to do 82 tracks? If Arnie could upload one of the 923648-byte image files, we could see whether it's an under-dumped DiskSpare disk or not. (Maybe whoever dumped it accidentally used a mount file with 11 sectors per track instead of 12???)
mark_k is offline  
Old 06 January 2013, 22:22   #49
prowler
Global Moderator
 
prowler's Avatar
 
Join Date: Aug 2008
Location: Sidcup, England
Posts: 10,300
Quote:
Originally Posted by mark_k View Post
If Arnie could upload one of the 923648-byte image files, we could see whether it's an under-dumped DiskSpare disk or not. (Maybe whoever dumped it accidentally used a mount file with 11 sectors per track instead of 12???)
Is that a realistic possibility, even when using a device which supports both formats?
prowler is offline  
Old 06 January 2013, 22:29   #50
Arnie
R.I.P Smudge 18-08-16
 
Arnie's Avatar
 
Join Date: Aug 2005
Location: Leicester/UK
Age: 66
Posts: 3,968
@mark

Download the file AUI #2 from the eab fileserver

(commodore_amiga/collection/coverdisk/amiga user international)

@Prowler

Do I need 2 mountlists for diskspare, one for 960kb and one for 984kb or is there a way for the 984kb mountlist to mount 960kb & 984kb ADF's?
Arnie is offline  
Old 06 January 2013, 22:58   #51
prowler
Global Moderator
 
prowler's Avatar
 
Join Date: Aug 2008
Location: Sidcup, England
Posts: 10,300
Quote:
Originally Posted by Arnie View Post
@Prowler

Do I need 2 mountlists for diskspare, one for 960kb and one for 984kb or is there a way for the 984kb mountlist to mount 960kb & 984kb ADF's?
I suspect that you do, but I really don't know because I haven't tried it.

If you were to use a mountlist with 82 tracks per side to mount a 960K DiskSpare-formatted floppy disk and tried to dump it, then the last two cylinders of the image would be zeroed out, because they would appear as bad tracks, but it you were to mount a 960K ADF image with the same mountlist, then I suspect you would get an error due to geometry mismatch, but even if you succeeded in mounting it, you would be risking filesystem errors and/or overwritten files if you tried to writing to the image.

And if you were to use a mountlist with 80 tracks per side to mount a 984K DiskSpare-formatted floppy disk and tried to dump it, then the last two cylinders of the image would be ignored, and you'd get only a 960K ADF image. Mounting a 984K ADF image with this mountlist would leave you unable to access the last two cylinders of the image.
prowler is offline  
Old 06 January 2013, 23:10   #52
Arnie
R.I.P Smudge 18-08-16
 
Arnie's Avatar
 
Join Date: Aug 2005
Location: Leicester/UK
Age: 66
Posts: 3,968
2 mountlists it is then.

I have also managed to mount ms-dos (PC0) and DMS images. So they will be in the next release.

I'm running out of unit numbers so I may have to cut back on trackdisk and diskspare drives. Or find a way to share unit numbers. I need something like multifilesystem for virtual drives.
Arnie is offline  
Old 06 January 2013, 23:40   #53
prowler
Global Moderator
 
prowler's Avatar
 
Join Date: Aug 2008
Location: Sidcup, England
Posts: 10,300
Quote:
Originally Posted by Arnie View Post
I have also managed to mount ms-dos (PC0) and DMS images. So they will be in the next release.
This is turning out to be a very useful tool for use in Amiga emulation and real machines.

Quote:
Originally Posted by Arnie View Post
I'm running out of unit numbers so I may have to cut back on trackdisk and diskspare drives. Or find a way to share unit numbers. I need something like multifilesystem for virtual drives.
You know, you don't have to stick to DFn:, DSn:, etc. You can use another alias if it means cutting back on those drives. You can even use three letters to make them more descriptive, like for Macintosh disks with CrossMac, i.e. MACn:.

I notice in the release notes for diskimage.device that the author found FMS often crashed when mounting an "fmsdisk.device" image. I used the later of the two available versions when I used it an an alternative to a real floppy drive and it was very reliable. However, the best feature of diskimage.device is the way it allows you to swap virtual floppies.
prowler is offline  
Old 09 January 2013, 16:27   #54
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 3,343
Quote:
Originally Posted by Arnie View Post
Download the file AUI #2 from the eab fileserver

(commodore_amiga/collection/coverdisk/amiga user international)
I took a look at that file. It's a standard 901120-byte trackdisk-type image with two tracks' worth of extra data at the end.

The extra data is just "garbage" and should be deleted. It is actually the last sector (512 bytes) in the 901120-byte image, repeated 44 times. Perhaps whoever dumped that disk used some program which attempted to dump 82 tracks, but when it couldn't read past the 80th track, the program wrote the last-correctly-read sector data to the image file over and over.
Attached Files
File Type: zip aui02_extra_part.bin.zip (864 Bytes, 161 views)

Last edited by mark_k; 09 January 2013 at 16:37.
mark_k is offline  
Old 20 January 2013, 19:21   #55
Arnie
R.I.P Smudge 18-08-16
 
Arnie's Avatar
 
Join Date: Aug 2005
Location: Leicester/UK
Age: 66
Posts: 3,968
Due to the rather inclement weather, I have had some spare time to work on MountADF.

I have added support for ms-dos 720kb, DMS disks & ISO's

ADZ's, Diskspare 960kb and 984kb also work.

Last edited by Arnie; 14 February 2013 at 22:44.
Arnie is offline  
Old 20 January 2013, 21:06   #56
prowler
Global Moderator
 
prowler's Avatar
 
Join Date: Aug 2008
Location: Sidcup, England
Posts: 10,300
Thanks, Arnie!

This is turning out to be quite some tool!

Hehe, it's because of the ghastly weather here that I haven't had much spare time lately. We're virtually cut off here as a result of the snowfall today! My new shovel's come in quite handy, though.
prowler is offline  
Old 20 January 2013, 21:12   #57
Turran
Moderator
 
Turran's Avatar
 
Join Date: May 2012
Location: Stockholm / Sweden
Age: 49
Posts: 1,575
Yay Weather. Thanks =)
Turran is offline  
Old 21 January 2013, 20:44   #58
Arnie
R.I.P Smudge 18-08-16
 
Arnie's Avatar
 
Join Date: Aug 2005
Location: Leicester/UK
Age: 66
Posts: 3,968
Would there be any need/interest/purpose in being able to boot from Adf disks (AmigaDos)?
Arnie is offline  
Old 21 January 2013, 20:55   #59
prowler
Global Moderator
 
prowler's Avatar
 
Join Date: Aug 2008
Location: Sidcup, England
Posts: 10,300
Quote:
Originally Posted by Arnie View Post
Would there be any need/interest/purpose in being able to boot from Adf disks (AmigaDos)?
Not for me personally, but I'm sure I have seen interest in such a utility being expressed in these forums by other users.
prowler is offline  
Old 22 January 2013, 22:27   #60
amigasith
Registered User
 
amigasith's Avatar
 
Join Date: Jan 2013
Location: Wild South / Germany
Age: 48
Posts: 271
Hi there,

how is this solution different from this one here: http://aminet.net/package/disk/misc/diskimage.m68k-aos ? I tried it before I found this thread and it works quite nicely (I don't use the GUI, however).

EDIT: Forgot to mention that diskimage.m68k-aos also supports ADFs...
amigasith is offline  
 


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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 07:42.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.20420 seconds with 14 queries