Gotek drive emulator

Sharpals
Posts: 27
Joined: Sat Jul 14, 2018 5:39 am

Gotek drive emulator

Post 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 !!
ysblokje
Posts: 17
Joined: Fri Aug 14, 2020 8:06 am

Re: Gotek drive emulator

Post 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.
hlide
Posts: 681
Joined: Thu Jan 25, 2018 9:31 pm

Re: Gotek drive emulator

Post 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
ysblokje
Posts: 17
Joined: Fri Aug 14, 2020 8:06 am

Re: Gotek drive emulator

Post 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
hlide
Posts: 681
Joined: Thu Jan 25, 2018 9:31 pm

Re: Gotek drive emulator

Post 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.
ysblokje
Posts: 17
Joined: Fri Aug 14, 2020 8:06 am

Re: Gotek drive emulator

Post by ysblokje »

Good to know, I will try that firmware next. Will report back.
ysblokje
Posts: 17
Joined: Fri Aug 14, 2020 8:06 am

Re: Gotek drive emulator

Post 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!
Gary C
Posts: 5
Joined: Mon Sep 21, 2020 10:35 am

Re: Gotek drive emulator

Post 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
Sharpals
Posts: 27
Joined: Sat Jul 14, 2018 5:39 am

Re: Gotek drive emulator

Post 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
Attachments
MZ80K_disk.zip
(43.6 KiB) Downloaded 342 times
User avatar
dat-alex
Posts: 34
Joined: Tue Dec 04, 2018 7:18 am
Location: Greece
Contact:

Re: Gotek drive emulator

Post 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
member of retroclub.gr (Thessaloniki , Greece)
Post Reply