Gotek Flashfloppy not recognising blank ADFS discs?

for bbc micro/electron hardware, peripherals & programming issues (NOT emulators!)
Post Reply
User avatar
jms2
Posts: 1981
Joined: Mon Jan 08, 2007 6:38 am
Location: Derby, UK
Contact:

Gotek Flashfloppy not recognising blank ADFS discs?

Post by jms2 » Sat May 26, 2018 1:10 pm

I've been loading more and more disk images onto my Gotek and realised it would be handy to put some blank ones on there as well. Blank DFS images seem to work fine, but I've encountered some problems with blank ADFS images. When I try to select them, Flashfloppy reports "ERR 31".

I tried at first with a blank ADFS M image saved from ADFS Explorer. When this didn't work I created a blank image in Elkulator. Both these images work fine in Elkulator, but both give ERR 31 with Flashfloppy.

Then I tried some other experiments:

1) Known good ADF, wiped on Electron using the Gotek: This was OK, and became blank as expected.
2) Known good ADF, wiped on emulator: Worked OK.
3) One of the blank images which previously didn't work, but with a dummy file put there by Elkulator: Did not work - still gives ERR 31.

The difference seems to be this: the working files start with the following 16 bytes:
07 00 00 CF 00 00 D4 00 00 FF 00 00 00 00 00 00

Whereas the non-working ones start like this:
07 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Is this a limitation with Flashfloppy? I'm using v.0.9.19a.

Ottly
Posts: 139
Joined: Tue Jun 10, 2014 10:34 am
Contact:

Re: Gotek Flashfloppy not recognising blank ADFS discs?

Post by Ottly » Sat May 26, 2018 1:55 pm

Are they fully padded out blank disk images? Would cause problems if there not.

User avatar
jms2
Posts: 1981
Joined: Mon Jan 08, 2007 6:38 am
Location: Derby, UK
Contact:

Re: Gotek Flashfloppy not recognising blank ADFS discs?

Post by jms2 » Sat May 26, 2018 2:43 pm

No they are only 2k in size. They are just whatever Elkulator and ADFS explorer put out. But I’m sure you are onto something!

This doesn’t seem to apply to DFS?

User avatar
danielj
Posts: 6284
Joined: Thu Oct 02, 2008 4:51 pm
Location: Manchester
Contact:

Re: Gotek Flashfloppy not recognising blank ADFS discs?

Post by danielj » Sat May 26, 2018 3:22 pm

It does - they need to be full sized and padded out. The interleave also needs to be right. I suggest you create an empty 640kb file and format them using ADFS on the gotek? It'll put the right directory structures on them.

d.

User avatar
jms2
Posts: 1981
Joined: Mon Jan 08, 2007 6:38 am
Location: Derby, UK
Contact:

Re: Gotek Flashfloppy not recognising blank ADFS discs?

Post by jms2 » Sat May 26, 2018 7:21 pm

Non-padded DFS images do mount and catalogue correctly though. Does this mean that they have very little free space on - ie they never grow to the right size?

Would make sense if so, because all the other DFS and ADFS images that I can find on the Gotek are fully padded.

User avatar
danielj
Posts: 6284
Joined: Thu Oct 02, 2008 4:51 pm
Location: Manchester
Contact:

Re: Gotek Flashfloppy not recognising blank ADFS discs?

Post by danielj » Sat May 26, 2018 8:47 pm

I'm not sure whether keir's implemented any padding - I don't think he has as yet, so I suspect truncated ssds will never expand.

d.

User avatar
jms2
Posts: 1981
Joined: Mon Jan 08, 2007 6:38 am
Location: Derby, UK
Contact:

Re: Gotek Flashfloppy not recognising blank ADFS discs?

Post by jms2 » Sat May 26, 2018 9:59 pm

Not experimented with *free yet, but adding padding to my unrecognised images has fixed them. :D

I did also make a file containing 640*1024 zeros, with a .ADL extension, with a view to formatting it, but this was rejected with err 31 again.
Maybe it needs .ADF?

User avatar
danielj
Posts: 6284
Joined: Thu Oct 02, 2008 4:51 pm
Location: Manchester
Contact:

Re: Gotek Flashfloppy not recognising blank ADFS discs?

Post by danielj » Sat May 26, 2018 10:14 pm

Host = acorn
In your ff.cfg and then name them all adf :)

Post Reply