Welcome, Guest. Please login or register.

Author Topic: superformat floppy  (Read 1194 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline orangeTopic starter

  • Hero Member
  • *****
  • Join Date: Dec 2003
  • Posts: 2796
    • Show only replies by orange
superformat floppy
« on: February 12, 2017, 02:39:54 PM »
I need to format a DD floppy with 5 sectors per track, tracksize is 5120, how to do it on Amiga?
thanks.
Better sorry than worry.
 

guest11527

  • Guest
Re: superformat floppy
« Reply #1 on: February 12, 2017, 03:24:17 PM »
Quote from: orange;822009
I need to format a DD floppy with 5 sectors per track, tracksize is 5120, how to do it on Amiga?
thanks.
This information is really not sufficient to say anything. The number of sectors per track does not define the format, or the framing. So, is this for example PC type of disk format?
 

Offline orangeTopic starter

  • Hero Member
  • *****
  • Join Date: Dec 2003
  • Posts: 2796
    • Show only replies by orange
Re: superformat floppy
« Reply #2 on: February 12, 2017, 04:22:09 PM »
Quote from: Thomas Richter;822011
This information is really not sufficient to say anything. The number of sectors per track does not define the format, or the framing. So, is this for example PC type of disk format?


Thanks for the reply. Its for some old CPM computer. RAW image is 800Kb exactly.
On linux PC, I can read tracks with:
fdrawcmd read 0  0 0 17 3  0 0x1b 0xff length=5120 rate=2 need_seek track=0
Better sorry than worry.
 

guest11527

  • Guest
Re: superformat floppy
« Reply #3 on: February 12, 2017, 06:33:35 PM »
Quote from: orange;822015
Thanks for the reply. Its for some old CPM computer. RAW image is 800Kb exactly.
On linux PC, I can read tracks with:
fdrawcmd read 0  0 0 17 3  0 0x1b 0xff length=5120 rate=2 need_seek track=0

Well, so this should be an IBM encoding then. If I read your data correctly, then this is a format with 1024 bytes/sector, which is a bit unusual. The above command also specifies 0 sectors/track. But for the time being, let's assume that the value you gave me (5 sectors per track) is correct. Then, a mount list for this particular format should read as follows:

Code: [Select]
FileSystem      = L:Fat95
Device          = mfm.device
Flags           = 1
Unit           = 0
Surfaces        = 2
SectorsPerTrack = 5
SectorSize      = 1024
Reserved        = 1
Interleave      = 0
LowCyl          = 0
HighCyl         = 79
Buffers         = 5
BufMemType      = 0
StackSize       = 2048
Priority        = 9
GlobVec         = -1
DosType         = 0x46415400
CrossDos and the mfm.device can read a lot of formats, but whether the above is correct I can only guess. (Surprisingly, the mfm.device can be really configured through the mount entry and can change the format based on this.)

Give this a nice name (e.g. SP0) and try to mount it. Whether it works... no idea.
 

Offline omnicron10

  • Full Member
  • ***
  • Join Date: Dec 2006
  • Posts: 216
    • Show only replies by omnicron10
Re: superformat floppy
« Reply #4 on: February 12, 2017, 06:51:56 PM »
Even if you get the mountlist correct, the FAT95 filesystem will not read CPM formatted disks.

I think you can use XFS filesystem to do that.  

http://aminet.net/package/disk/misc/xfs

Are you trying to write images to read data on the Amiga or write the images back to floppy on the Amiga?
A500/030 40mhz with A530, Indivision ECS, , KS 3.1, 2 Megs Chip, 8 Megs fast.
A600 Vampire II
SAM440EP 667, Amiga OS 4.1u1
Dual G4 1.2 Mac MorphOS
Chameleon
CD32
SX64
128D
128
C64
64C
 

Offline orangeTopic starter

  • Hero Member
  • *****
  • Join Date: Dec 2003
  • Posts: 2796
    • Show only replies by orange
Re: superformat floppy
« Reply #5 on: February 12, 2017, 08:22:23 PM »
thanks.
I would like to make a .raw image (with tsgui, dcp, dic or similar) as a backup and later write copies. I had managed to make one with MFMWarp, but its too large.
I've tried fd.device from xfs, but it seems to always use 512byte sector size.
will try mfm.device
Better sorry than worry.