Open source firmware for Gotek floppy emulator released

Arc/RPCs, peripherals, RISCOS operating system & ARM kit eg GP2x, BeagleBoard
User avatar
danielj
Posts: 6692
Joined: Thu Oct 02, 2008 4:51 pm
Location: Manchester
Contact:

Re: Open source firmware for Gotek floppy emulator released

Post by danielj » Fri Feb 09, 2018 6:50 pm

New Flashfloppy firmware - supports 8271 better:

https://github.com/keirf/FlashFloppy/re ... ag/v0.9.8a

(combine with BeebSCSI for full-on storge joy!)

d.

User avatar
vanekp
Posts: 555
Joined: Thu Nov 30, 2000 7:09 am
Location: The Netherlands
Contact:

Re: Open source firmware for Gotek floppy emulator released

Post by vanekp » Fri Feb 09, 2018 8:36 pm

Waiting for mine to arrive so I can play with it :)
Peter.

User avatar
KenLowe
Posts: 411
Joined: Mon Oct 18, 2004 4:35 pm
Location: Scotland
Contact:

Re: Open source firmware for Gotek floppy emulator released

Post by KenLowe » Fri Feb 09, 2018 9:22 pm

danielj wrote:New Flashfloppy firmware - supports 8271 better:

https://github.com/keirf/FlashFloppy/re ... ag/v0.9.8a

d.
Yes. 0.9.7a broke the BBC fdd emulation, but it's working again in 0.9.8a. However, please be aware that you also need to update the ff.cfg file to include the following two options:

Code: Select all

track-change = realtime
index-during-seek = yes

User avatar
vanekp
Posts: 555
Joined: Thu Nov 30, 2000 7:09 am
Location: The Netherlands
Contact:

Re: Open source firmware for Gotek floppy emulator released

Post by vanekp » Fri Feb 09, 2018 9:36 pm

Thanks, will keep it in mind for when all the bits arrive.
Peter.

User avatar
vanekp
Posts: 555
Joined: Thu Nov 30, 2000 7:09 am
Location: The Netherlands
Contact:

Re: Open source firmware for Gotek floppy emulator released

Post by vanekp » Fri Feb 16, 2018 9:03 pm

where does the FF.cfg file have to sit cant quite work that out?

User avatar
KenLowe
Posts: 411
Joined: Mon Oct 18, 2004 4:35 pm
Location: Scotland
Contact:

Re: Open source firmware for Gotek floppy emulator released

Post by KenLowe » Fri Feb 16, 2018 10:04 pm

vanekp wrote:where does the FF.cfg file have to sit cant quite work that out?
Just in the root of the usb.

Also, there are some reported 'write' issues with 0.9.8a, so you may want to consider downgrading to 0.9.7a until these issues are fixed. However, 0.9.7a broke compatibility with the beeb, you you'll need to use this patched version instead:

https://github.com/keirf/FlashFloppy/fi ... f_47_2.zip

You still need to include the two config options in the ff.cfg file with this patched firmware version.

User avatar
vanekp
Posts: 555
Joined: Thu Nov 30, 2000 7:09 am
Location: The Netherlands
Contact:

Re: Open source firmware for Gotek floppy emulator released

Post by vanekp » Fri Feb 16, 2018 10:29 pm

Ahh okay that may explain why I am sometimes getting disk errors, will give the patched version a go and am using v0.9.7a
Thanks Peter.

User avatar
KenLowe
Posts: 411
Joined: Mon Oct 18, 2004 4:35 pm
Location: Scotland
Contact:

Re: Open source firmware for Gotek floppy emulator released

Post by KenLowe » Fri Feb 16, 2018 10:47 pm

Yes. The unpatched 0.9.7a would generate intermittent disc read errors on my system when used with the BBC 8271 controller. I never tried it with the 1770 controller, so I'm not sure if there were similar issues there.

User avatar
vanekp
Posts: 555
Joined: Thu Nov 30, 2000 7:09 am
Location: The Netherlands
Contact:

Re: Open source firmware for Gotek floppy emulator released

Post by vanekp » Fri Feb 16, 2018 11:01 pm

only have a 8271 controller but seems to work now with the patched version, now I have to wait for the rotary switch to arrive.
upgraded gotek.jpg
Otherwise its now working.
How do you convert .ssd or .dsd to .hfe format? been hunting around but have not found out how to do the conversion.
Peter.

User avatar
vanekp
Posts: 555
Joined: Thu Nov 30, 2000 7:09 am
Location: The Netherlands
Contact:

Re: Open source firmware for Gotek floppy emulator released

Post by vanekp » Mon Feb 19, 2018 7:48 pm

try again.......
How do you convert .ssd or .dsd to .hfe format? been hunting around but have not found out how to do the conversion.
And can you only do normal .SSD and .DSD disc's or is it possible to do .fdi .fsd images ?
Peter.

User avatar
KenLowe
Posts: 411
Joined: Mon Oct 18, 2004 4:35 pm
Location: Scotland
Contact:

Re: Open source firmware for Gotek floppy emulator released

Post by KenLowe » Mon Feb 19, 2018 11:30 pm

Use HxC Floppy Emulator to convert your .ssd & .dsd files to .hfe:

http://hxc2001.free.fr/floppy_drive_emu ... l#download

Not sure about .fdi & .fsd images, though.

User avatar
KenLowe
Posts: 411
Joined: Mon Oct 18, 2004 4:35 pm
Location: Scotland
Contact:

Re: Open source firmware for Gotek floppy emulator released

Post by KenLowe » Tue Feb 20, 2018 12:31 pm

KenLowe wrote:there are some reported 'write' issues with 0.9.8a, so you may want to consider downgrading to 0.9.7a until these issues are fixed. However, 0.9.7a broke compatibility with the beeb, you you'll need to use this patched version instead:

https://github.com/keirf/FlashFloppy/fi ... f_47_2.zip

You still need to include the two config options in the ff.cfg file with this patched firmware version.
V0.9.9a is out now which has fixed the write problems that were present in v0.9.8a.

User avatar
vanekp
Posts: 555
Joined: Thu Nov 30, 2000 7:09 am
Location: The Netherlands
Contact:

Re: Open source firmware for Gotek floppy emulator released

Post by vanekp » Tue Feb 20, 2018 8:37 pm

I was testing the new firmware on am image :_
20180220_204855.jpg
it verified okay... I then proceeded to try formatting it and it messed the disc up.
Not sure if others have tried writing with it on a BBC.
Peter.

User avatar
KenLowe
Posts: 411
Joined: Mon Oct 18, 2004 4:35 pm
Location: Scotland
Contact:

Re: Open source firmware for Gotek floppy emulator released

Post by KenLowe » Tue Feb 20, 2018 9:41 pm

I'm seeing similar errors on an 8271 system, although I'm not seeing as many as you. I only get errors on a couple of tracks, and the location of errors vary every time I do a format. I've gone back to as far as version 0.9.6a and still get errors, so it doesn't look like it's a new issue. I'll report it. What format program are you using? I'm using format program from the Advanced Disk Toolkit (ADT) 2.00 ROM.

I've also tried on a 1770 system, but I'm not seeing any issues there, and that's with the latest firmware.

User avatar
vanekp
Posts: 555
Joined: Thu Nov 30, 2000 7:09 am
Location: The Netherlands
Contact:

Re: Open source firmware for Gotek floppy emulator released

Post by vanekp » Tue Feb 20, 2018 10:01 pm

I was using disk doctor Ver 1.10
which does a format verify while formatting each track.

User avatar
vanekp
Posts: 555
Joined: Thu Nov 30, 2000 7:09 am
Location: The Netherlands
Contact:

Re: Open source firmware for Gotek floppy emulator released

Post by vanekp » Thu Feb 22, 2018 8:21 pm

cant find anywhere on Internet what size nut you need for the ky-40 rotary encoder, I think its a 7mm x 1.0mm
Can someone confirm this please.
RotaryEncoder.jpg
RotaryEncoder.jpg (9 KiB) Viewed 1329 times
Thanks Peter.

User avatar
KenLowe
Posts: 411
Joined: Mon Oct 18, 2004 4:35 pm
Location: Scotland
Contact:

Re: Open source firmware for Gotek floppy emulator released

Post by KenLowe » Thu Feb 22, 2018 11:15 pm

vanekp wrote:I was using disk doctor Ver 1.10
which does a format verify while formatting each track.
Using Disk Doctor, I see similar results during the format - albeit significantly less errors than you are seeing. However, I then get a complete fail when I initiate the verify step. This got me looking further, and it appears that writes are not working at all on my BBC with the 0.9.9a firmware. Writes work fine on 0.9.6a firmware so long as I don't initiate a format of the .hfe image. I've reported this issue:

https://github.com/keirf/FlashFloppy/issues/57
vanekp wrote:cant find anywhere on Internet what size nut you need for the ky-40 rotary encoder, I think its a 7mm x 1.0mm
Can someone confirm this please.
Sorry. No idea about that one.

User avatar
vanekp
Posts: 555
Joined: Thu Nov 30, 2000 7:09 am
Location: The Netherlands
Contact:

Re: Open source firmware for Gotek floppy emulator released

Post by vanekp » Fri Feb 23, 2018 5:05 am

I have to agree that write is not working in ver 9.9 or ver 9.10 because if I try to just change the disk title (so only writing to track 0) it works the 1st time but if I do it a second time I get a disc error and the disk is then no longer usable.
Peter.

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

Re: Open source firmware for Gotek floppy emulator released

Post by danielj » Fri Feb 23, 2018 6:37 am

Re: encoder... Ergh, it's. not a standard size. I ended up buying ones that came with the nut and washer. 7mm sort of fits but the thread is wrong.

d.

Jeff_HxC2001
Posts: 26
Joined: Thu Dec 28, 2017 8:37 am
Contact:

Re: Open source firmware for Gotek floppy emulator released

Post by Jeff_HxC2001 » Sat Feb 24, 2018 11:40 am

KenLowe wrote:I'm seeing similar errors on an 8271 system, although I'm not seeing as many as you. I only get errors on a couple of tracks, and the location of errors vary every time I do a format. I've gone back to as far as version 0.9.6a and still get errors, so it doesn't look like it's a new issue. I'll report it. What format program are you using? I'm using format program from the Advanced Disk Toolkit (ADT) 2.00 ROM.

I've also tried on a 1770 system, but I'm not seeing any issues there, and that's with the latest firmware.
Never got any "non-working-properly" feedback about the HxC Firmware with any 8171 systems but someone here can try this with the latest HxC firmware to compare ? (*.ADL,*.ADM,*.SSD,*.DSD and *.ADF are directly supported, so you can use them directly for the test).

User avatar
vanekp
Posts: 555
Joined: Thu Nov 30, 2000 7:09 am
Location: The Netherlands
Contact:

Re: Open source firmware for Gotek floppy emulator released

Post by vanekp » Sat Feb 24, 2018 1:14 pm

Setup :- gotek firmware used ver 0.9.11b 1st test with Watford Electroncs DFS 1.40 2nd test Acorn DFS 1.20 on BBC model B with 8271 disc controller.
attached the 2 disc images (ssd and dsd) I used for the test
FreshHfeDiscs.rar
(29.86 KiB) Downloaded 16 times
I then tried to do and *OPT 4,3 with watford Electroncs DFS 1.40 on both the ssd and dsd images
20180224_134816.jpg
These are the resulting corrupt hfe images.
CorruptAfterUsingWatword1_40.rar
(29.79 KiB) Downloaded 17 times
Then I tried it with the Acorm DFS 1.20
20180224_135801.jpg
As you can see it worked the 1st time as you see the option has been changed to (EXEC)
but doing the opt command a 2nd time I then get Disk fault 10 at 00/00
I did the same to the DSD image with the same result (side two I only did one *OPT4,3 command)
below are the corrupt DFS 1.20 test.
CorrupDiscsDFS1_20.rar
(29.8 KiB) Downloaded 16 times
With the Watford it corrupted the disc the 1st time with DFS 1.20 it only corrupted the disc when I tried to write the second time.
Peter.

User avatar
vanekp
Posts: 555
Joined: Thu Nov 30, 2000 7:09 am
Location: The Netherlands
Contact:

Re: Open source firmware for Gotek floppy emulator released

Post by vanekp » Sat Feb 24, 2018 3:32 pm

Jeff_HxC2001 wrote:Track 00.0 completely screwed up... :
Figured as much as it renders the disc unusable.
and the Flash drive I tried it with was a Model: Kingston DT Rubber 3.0, Read speed: 189.26 MB/s, Write speed: 33.79 MB/s average.

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

Re: Open source firmware for Gotek floppy emulator released

Post by danielj » Sat Feb 24, 2018 5:15 pm

Peter - have you raised it as an issue on github?

d.

User avatar
vanekp
Posts: 555
Joined: Thu Nov 30, 2000 7:09 am
Location: The Netherlands
Contact:

Re: Open source firmware for Gotek floppy emulator released

Post by vanekp » Sat Feb 24, 2018 5:45 pm

it already had been here https://github.com/keirf/FlashFloppy/issues/57
Peter.

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

Re: Open source firmware for Gotek floppy emulator released

Post by danielj » Tue Feb 27, 2018 8:36 am

OK - this thread is about open source firmware for the gotek, I'm going to move the HxC stuff into a different thread.

d.

Jeff_HxC2001
Posts: 26
Joined: Thu Dec 28, 2017 8:37 am
Contact:

Re: Open source firmware for Gotek floppy emulator released

Post by Jeff_HxC2001 » Tue Feb 27, 2018 10:05 am

danielj wrote:OK - this thread is about open source firmware for the gotek, I'm going to move the HxC stuff into a different thread.

d.
what a shame... this was exactly the subject...

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

Re: Open source firmware for Gotek floppy emulator released

Post by danielj » Tue Feb 27, 2018 10:09 am

HxC firmware != open source. Unless something's changed?

d.

Jeff_HxC2001
Posts: 26
Joined: Thu Dec 28, 2017 8:37 am
Contact:

Re: Open source firmware for Gotek floppy emulator released

Post by Jeff_HxC2001 » Tue Feb 27, 2018 10:23 am

danielj wrote:HxC firmware != open source. Unless something's changed?

d.
And then what ? I was talking about this "Compatible with the HxC ecosystem"- firmware - or HxC clone firmware if you prefer. Would be interesting to compare it with the original HxC firmware, especially because you all seems to use the HxC HFE file format with it + the HxC tools ? Isn't it ?

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

Re: Open source firmware for Gotek floppy emulator released

Post by danielj » Tue Feb 27, 2018 10:28 am

Continue in other thread please :) Not up for debate. This thread was about the open source firmware, not tools or formats.

User avatar
KenLowe
Posts: 411
Joined: Mon Oct 18, 2004 4:35 pm
Location: Scotland
Contact:

Re: Open source firmware for Gotek floppy emulator released

Post by KenLowe » Thu Mar 01, 2018 8:41 pm

keirf has made some good progress with the disc write issues on the BBC. If anyone is wanting to test, the following test firmware has the necessary patches:

https://github.com/keirf/FlashFloppy/fi ... f_57_8.zip

You will need to add the following options into the ff.cfg file (unless you're running patched DFS 1.21):

Code: Select all

track-change = realtime
index-during-seek = yes
Disc formatting is still not working correctly, but normal disk writes seem to be fixed.

Post Reply