[[File:Gotek standard.jpg|thumb|right|Standard Gotek drive]]
[[File:Custom Gotek drive.jpg|thumb|right|Custom Gotek drive by [[Rodrik Studio]]]]
Gotek is a floppy simulator which works with the CPC. The drives are cheap.
To be useful on the CPC they need:
* appropriate firmware uploaded to them (e.g. HxC or FlashFloppy)
* 5v power (an old PC power supply can be used, or you can use the monitor's 5V power output with a Y-splitter cable)
* a ribbon cable to connect it to the CPC (e.g. an old PC floppy cable which has both 3.5" and 5.25" connectors).
There is a difference compared to a real drive: the disc motor signal is not connected internally to the Gotek. This means the ready signal will be active even if the disc motor is off.
EDIT: This is true for the old models. The new model SFRKC30.AT4.35 can pass the motor signal and reacts (delayed if wanted) to it for the ready signal. See below for Flashfloppy firmware.
==HxC Floppy Emulator firmware==
To best attach the Gotek to any CPC, use the following FF.cfg setting:
# Floppy-drive interface mode
interface = shugart
# Host platform
host = unspecified
# Pins 2 & 34 output (drive->host) manual configuration
pin02 = high
pin34 = rdy
# Rotational offset of disk after a track change
track-change = realtime
# Rotational offset of disk after draining a write to Flash
write-drain = realtime
# Index pulses suppressed when RDATA and WDATA inactive?
index-suppression = yes
# Milliseconds from head-step start to RDATA active.
head-settle-ms = 12
# Milliseconds delay from motor-on to drive ready.
motor-delay = 200
<pre>
# Floppy-drive interface mode
interface = shugart
# Host platform
host = unspecified
# Pins 2 & 34 output (drive->host) manual configuration
pin02 = high
pin34 = rdy
# Rotational offset of disk after a track change
track-change = realtime
# Rotational offset of disk after draining a write to Flash
write-drain = realtime
# Index pulses suppressed when RDATA and WDATA inactive?
index-suppression = yes
# Milliseconds from head-step start to RDATA active.
head-settle-ms = 12
# Milliseconds delay from motor-on to drive ready.
motor-delay = 200
</pre>
The rest of the settings can be used to your liking as they depend on preference and not on hardware emulation.
[https://github.com/keirf/flashfloppy/wiki/Gotek-Models Gotek models on Flashfloppy wiki]
==Physical connection==
To connect the gotek to the CPC, you can directly connect it to the DDI-1 cable connector (you would need to cut off the noses on the bottom of the cable). It can work both as A drive (no 3" drive required) or as drive B. It can even work as a 3.5" or 5.25" drive for example with parados or VDOS. Please be aware that you cannot use an unmodified DDI-1 together with the Gotek without a normal 3" FD-1 drive. That is because the FD-1 delivers the 5V power to the DDI-1 and without it, it simply does not get any power to run.
You can also connect it to the original cable using an extension like this one:
[https://www.ebay.de/itm/266012797289 1 Stk. x IDC Verlängerungskabel 34 polig 20cm 2.54mm Verbinder #A3769]<br>
[https://www.ebay.com/itm/291263866470 6 inch 34-Pin 2x17 2.54-Pitch IDC 34-Wire Flat Ribbon Extension Cable, FF-E06]
There is no cablemode required - neither for the CPC464 nor for 664/6128 external disk connector.
==Related==
* [[HxC_Floppy_Emulator|HxC Floppy Emulator]]
* [[FlashFloppy]]
==Links==
* [https://hxc2001.com/ HxC Floppy Emulator Homepage]
* [http://www.cpcwiki.eu/forum/applications/cubeios-fat16fat32-rom-for-the-cpc's-with-xmass/ OS-Support]
* [https://youtu.be/QSLcgWLRztE Un Gotek sur CPC 664/6128 sans rien démonter] by [[Rodrik Studio]]
* [https://youtu.be/E3raN1yi54c L'ultime Gotek que j'ai dessiné pour CPC] by [[Rodrik Studio]]
[[Category:Peripherals]] [[Category:DIY]][[Category:DATA Storage]] [[Category:Emulator]]