Page 1 of 2

Gotek drive emulator

Posted: Fri May 29, 2020 7:53 am
by Sharpals
My disks are over 30 years old and are increasingly difficult to read, so a replacement is needed.
The solution is the Gotek floppy emulator.

The emulator must be configured as a shuggard drive.
A 1: 1 ribbon cable must be used to connect the emulator to the FDC.
In order not to have so high costs,
the cheapest model can be bought, what can be found and reprogrammed yourself.

Instructions on how to reconfigure the drive via USB are available online.
I found a free firmware that works great: flashfloppy-v3.13a

The config for the gotek is as follows.

interface = shugart
host = MSX
pin02 = auto
pin34 = auto
track-change = instant
write-drain = realtime
head-settle-ms = 1
motor-delay = 5
chgrst = delay-5

Hint: the gotek can emulate an QD-Drive too !!

Re: Gotek drive emulator

Posted: Thu Sep 03, 2020 8:13 pm
by ysblokje
Hint: the gotek can emulate an QD-Drive too !!
I actually wired up a GOTEK to my controller (the bottom half of the MZ 1F11) And it tries to work but it's not quite there yet.
Has anybody else tried to do this with any success? I can format and ask for a list but writing seems to fail.

Re: Gotek drive emulator

Posted: Fri Sep 04, 2020 12:03 pm
by hlide
Did you follow the guidelines for how to connect Gotek pins to a QD-drive interface? that's quite different from the Gotek pins to connect a FD-drive interface. https://torlus.com/floppy/forum/viewtop ... 010#p21010

Re: Gotek drive emulator

Posted: Fri Sep 04, 2020 12:35 pm
by ysblokje
Jup that's what I did, though my info came from https://github.com/keirf/FlashFloppy/wiki/Quick-Disk . I Even used the same colorcoded wires from my breadboard to set it up.
IMG_20200904_142837630.jpg

Re: Gotek drive emulator

Posted: Fri Sep 04, 2020 12:44 pm
by hlide
Oh Keirf... I wouldn't judge here... Keirf isn't Jeff and Keirf has the habit to copy Jeff's new features and sources. You probably need to stick with Jeff's solution as it was validated with his firmware.

Re: Gotek drive emulator

Posted: Fri Sep 04, 2020 1:16 pm
by ysblokje
Good to know, I will try that firmware next. Will report back.

Re: Gotek drive emulator

Posted: Wed Sep 16, 2020 3:20 pm
by ysblokje
Ok, I never tried Jeff's firmware in the end but decided to help to get the flashfloppy firmware fixed. The experimental firmware I got seems to work!

Re: Gotek drive emulator

Posted: Thu Sep 24, 2020 3:10 pm
by Gary C
Just connected my MZ80K to a Gotek and it would not work with the configuration posted in #1

Fiddling about i found I needed the following config files in the root of the USB and used a former .mzf file renamed to name.dsk (so I had a blank file of about the right length.

Then I could load MASTER-BOOT (from https://original.sharpmz.org/) from the cassette and use it to format the Gotek and write WAV files loaded from the cassette onto bootable master disks.

Works a treat

IMG.CFG
[default]
cyls = 35
heads = 2
secs = 16
bps = 128
id = 1
mode = fm
interleave = 1
cskew = 0
hskew = 0
rpm = 300
gap3 = 0
iam = yes
rate = 125
file-layout = sequential

FF.CFG
interface = shugart
host = unspecified
pin02 = nc
pin34 = nc
write-protect = no
side-select-glitch-filter = 0
track-change = realtime
index-suppression = no
head-settle-ms = 50
Followed by the standard stuff for files, pushbuttons and display

Re: Gotek drive emulator

Posted: Sat Oct 24, 2020 8:49 am
by Sharpals
[quote="Gary C" post_id=1805 time=1600960258 user_id=900]
Just connected my MZ80K to a Gotek and it would not work with the configuration posted in #1

Fiddling about i found I needed the following config files in the root of the USB and used a former .mzf file renamed to name.dsk (so I had a blank file of about the right length.

Then I could load MASTER-BOOT (from https://original.sharpmz.org/) from the cassette and use it to format the Gotek and write WAV files loaded from the cassette onto bootable master disks.


Hello try this omage , i have tested in my emulator and it runs fine.

Yes the MZ80K has not the same diskgeometry as the MZ80A ... Only 148k

Re: Gotek drive emulator

Posted: Thu Sep 23, 2021 8:15 am
by dat-alex
Sharpals wrote: Sat Oct 24, 2020 8:49 am
Gary C wrote: Thu Sep 24, 2020 3:10 pm \....
Then I could load MASTER-BOOT (from https://original.sharpmz.org/) from the cassette and use it to format the Gotek and write WAV files loaded from the cassette onto bootable master disks.
...

Is there MASTER-BOOT utility for 80B ?

Thank you
Alex