Amstrad PPC640 Floppy Drive Replacement

The Amstrad PPC640 and the Amstrad PPC512 have one (S models) or two (D models) Amstrad FD-5 720 KB 3.5-inch drives, part 177248 in the PPC640 and 177247 in the PPC512. Amstrad's service policy was to exchange a faulty drive complete with its boards.[1] Owners now replace a dead drive with a Gotek floppy emulator running the FlashFloppy firmware, or with a PC 3.5-inch drive set to the right drive-select line.[2][3] The PPC uses the Shugart floppy interface, and most of this job is setting the replacement up to match it.[4]
Symptoms
[edit | edit source]- The self test stops with "Error: Faulty floppy disk controller or disk drive". The ROS steps the heads of each fitted drive to track 10 and shows this message if the controller reports an error; it does not check that the heads reached the track.[5]
- The PPC asks to "Insert a SYSTEM disk into drive A" with a known-good 720 KB system disc in the drive. The ROS shows this after ten failed attempts to load the boot sector.[5]
- One drive reads and the other does not. On RealityTech's PPC512, cleaning brought drive B back but not drive A.[2]
Rule out the faults that look like a dead drive first. A PPC that shows "Please wait", beeps three times and stops at a flashing cursor while the drives run is usually set up with display switches that disagree; two owners on the VCF forum and gw0udm's PPC640 needed no repair beyond setting the switches.[6][7] Try another system disc, clean the heads with a non-abrasive head-cleaning disc as Amstrad recommends, and check the drive against Amstrad's FD-5 trouble analysis table, which is reproduced in the Amstrad PPC640 Troubleshooting Guide.[1] Floppy Drive Repair covers general drive work.
Safety
[edit | edit source]The PPC runs from 12 V DC; the mains supply is in the external adaptor.[8] Unplug the adaptor and the telephone line and take out the battery tubes before starting; Amstrad's manual says to switch off before removing a drive or a board.[1]
Tools and parts
[edit | edit source]- A Gotek floppy emulator flashed with FlashFloppy, a FAT32-formatted USB stick, and 720 KB disc images; Leeev used 720 KB .img files.[9][3] Use a FlashFloppy release from after March 2020: the
write-drainoption the PPC needs was added then, in answer to a PPC640 owner's report, and is in the current FF.CFG.[3][10] - Or a PC 3.5-inch drive with a drive-select jumper. Many later PC drives have no jumper and are fixed to answer drive select B on pin 12, which on the PPC selects drive B.[11][1]
- Jumper links for the Gotek or the drive, and a screwdriver.
How the PPC talks to its drives
[edit | edit source]
The floppy controller is IC112, a TC8565P drawn on the schematic as a µPD72065-type CMOS controller. It talks to the drives through two 74HC240 buffers, IC116 and IC117, and a single 34-way connector, CD102, on the memory and power supply board.[1] Drive 0 (A) answers drive select 0 on pin 10 and drive 1 (B) answers drive select 1 on pin 12, so each drive has to be set to its own select line; in RealityTech's words, "The PPC uses drive selects".[2] One motor-on line, pin 16, serves both drives.[1] Both motors therefore start whenever either drive is used, which Keir Fraser confirmed is expected behaviour on the PPC.[3]
The PPC reads the disk-change signal on pin 2. Pin 34, READY, is drawn unconnected, and the controller's RDY input is held high through R171 (10 kΩ).[1] The Technical Reference Manual allows for drives with no ready output in the same way.[8] Two transistors, Q107 and Q108, take the drive-select lines to the drive LEDs on the LED board, PCB104, so the case LEDs follow the select lines whatever drive is fitted.[1]
| Pin | PPC (CD102) | IBM PC |
|---|---|---|
| 2 | Disk change, from the drive | Density select, to the drive |
| 10 | Drive select 0 (drive A) | Motor enable A |
| 12 | Drive select 1 (drive B) | Drive select B |
| 14 | Not shown on Amstrad's schematic | Drive select A |
| 16 | Motor on, both drives | Motor enable B |
| 34 | Ready, not connected | Disk change |
The other signal pins (8 index, 18 direction, 20 step, 22 write data, 24 write gate, 26 track 0, 28 write protect, 30 read data and 32 side select) have the same functions on both, and the odd pins are ground.[1][11] FlashFloppy's Shugart mode puts disk change on pin 2 and ready on pin 34, which matches the PPC.[10]

Each drive has its own 4-way power connector on the same board, CD101 for drive 1 and CD104 for drive 2. Pin 1 is +5 V, pins 2 and 3 are 0 V and pin 4 is not connected; there is no +12 V. The FD-5's own power connector, J2, has the same pin order, and its 34-way connector J1 carries the same signals, with drive-select pads D0 to D3 on the drive's board.[1] A replacement must therefore run from +5 V alone.
Procedure
[edit | edit source]Remove the old drive
[edit | edit source]- Unplug the adaptor and the telephone line and take out the battery tubes.[1]
- The drives sit in the FDD frame (2) under the FDD cover (1), as Amstrad's cabinet drawing shows. The drawing shows the cover screwed down over the frame and each drive screwed into the frame. Neither Amstrad nor the owners who have fitted Goteks describe the removal in more detail, so note where each screw came from.[1]
- Unplug the 34-way signal cable (J1 on the FD-5) and the 4-way power lead (J2) from the drive.[1]
- If you need to reach the other end of the cable at CD102, open the case as described in the Amstrad PPC640 Maintenance Guide.
Fit a Gotek
[edit | edit source]
- Flash the Gotek with FlashFloppy, following the FlashFloppy wiki.[9]
- Set the select jumper. For drive A, fit a jumper at S0 only.[4] For drive B, fit it at S1, as Leeev did on his PPC640.[3] Leeev tried M0 in place of S0 and got a "General failure" error.[3]
- Leave the JC jumper off so that the Gotek uses the Shugart interface. FlashFloppy's default
interface = jcthen selects Shugart; Leeev also setinterface = shugartin FF.CFG.[9][10][3] - Add
write-drain = eotto FF.CFG on the USB stick.[4] - Connect the 34-way cable and the +5 V power lead. The Gotek's power socket is marked +5V and GND on its board.[12]
- Copy 720 KB disc images to the USB stick.[3]
RealityTech removed the dead drive A from his PPC512 and fitted the Gotek in its place, keeping the working FD-5 as drive B.[2] The retro.engineer PPC512 already had two Goteks fitted on the right-hand side when it arrived.[13] Neither describes how the Gotek is held in the frame.
Fit a PC 3.5-inch drive
[edit | edit source]- Set the drive's select jumper to DS0 for drive A. RealityTech set a 1.44 MB drive to DS0 and his PPC512 booted from a 720 KB FreeDOS disc.[2] For drive B the PPC uses drive select 1 on pin 12.[1]
- Use 720 KB double-density discs. John Elliott expected a 1.44 MB drive to work only as a 720 KB drive, since the PPC's firmware has no support for high density.[14]
- A PC drive puts disk change on pin 34, where the PPC has nothing connected, and the PPC reads disk change on pin 2.[11][1] RealityTech reported only that the machine booted.[2]
Testing
[edit | edit source]- Switch on. The self test should pass without "Error: Faulty floppy disk controller or disk drive", and the PPC should boot from drive A.[5] The ROS finds a second drive at power-up by checking the controller. Leeev's Gotek, added as drive B to a single-drive PPC640, appeared as B: and the machine booted DOS from it.[5][3]
- Repeat Leeev's tests: copy a file of more than 6 KB from A: to the Gotek, copy files back, and run DISKCOPY in both directions. Without
write-drain = eothis PPC640 gave "Not ready error writing drive B" on the larger writes and on DISKCOPY to the Gotek; with it every test passed.[3] - Expect the other drive's motor to run whenever either drive is used; the two drives share one motor line.[3][1]
Related pages
[edit | edit source]- Amstrad PPC640 · Amstrad PPC512 · Amstrad PPC640 Troubleshooting Guide · Amstrad PPC640 Maintenance Guide
- Amstrad PPC 512 / PPC 640 Service Manual · Amstrad PPC 512 / PPC 640 User Instructions
- Amstrad PPC640 Screen Hinge Repair
- Amstrad PC5286 Floppy Drive Replacement · Amstrad PC3086 Floppy Drive Replacement
- Floppy Drive Repair
References
[edit | edit source]- ↑ 1.00 1.01 1.02 1.03 1.04 1.05 1.06 1.07 1.08 1.09 1.10 1.11 1.12 1.13 1.14 1.15 Amstrad plc, PPC 512S / 512D, PPC 640S / 640D Personal Portable Computer Service Manual. Hosted as File:Amstrad PPC 512 PPC 640 Service Manual.pdf, described at Amstrad PPC 512 / PPC 640 Service Manual. Notes to service engineers p. 2 (drive mechanisms exchanged complete, not serviced); head cleaning p. 3; switch off before removing a drive p. 4; FD-5 trouble analysis pp. 4–5; FD-5 control board schematic p. 15 (interface J1, power J2); cabinet drawing and parts list p. 16 (FDD cover 1, FDD frame 2, FD-5 drive 24, blanking cover 31); memory/fuse/volume board layout p. 18 (CD101, CD102, CD104); chassis schematic p. 22 (IC112, IC116, IC117, CD102 pinout, drive power CD101 and CD104, Q107 and Q108, R171); electrical parts list pp. 30–31 (IC112 TC8565P, IC116 and IC117 TC74HC240P, FDD201).
- ↑ 2.0 2.1 2.2 2.3 2.4 2.5 RealityTech, "Amstrad PPC512 Rescue and Build", VOGONS, posts of 20 October 2025 (CC BY 4.0). Retrieved 2026-12-06. A PPC512 that would not boot from its drives; a 1.44 MB drive set to DS0 booted a 720 KB FreeDOS disc ("The PPC uses drive selects"); after cleaning, drive B worked and drive A did not; drive A replaced with a Gotek flashed with FlashFloppy.
- ↑ 3.00 3.01 3.02 3.03 3.04 3.05 3.06 3.07 3.08 3.09 3.10 Leeev and Keir Fraser, "Not ready error writing drive B - Amstrad PPC640/PPC512", FlashFloppy issue #320, GitHub, 29 February to 13 March 2020. Retrieved 2026-12-06. A Gotek added as drive B to a single-drive PPC640 with jumper S1; "Not ready error writing drive B" on writes of more than about 6 KB and on DISKCOPY to the Gotek; M0 in place of S0 gave a general failure error; both drive motors run together because the drives share one motor signal; cured with FlashFloppy v3.12e and
write-drain=eotin FF.CFG; the owner's FF.CFG also setinterface = shugart; 720 KB .img files. - ↑ 4.0 4.1 4.2 Keir Fraser, "Host Platforms: Amstrad PPC", FlashFloppy wiki, GitHub. Retrieved 2026-12-06. The Amstrad PPC uses the Shugart floppy interface and needs a jumper at S0 only; add
write-drain=eotto FF.CFG if large writes and disk copies to the Gotek give "Not Ready" errors. - ↑ 5.0 5.1 5.2 5.3 Amstrad Consumer Electronics plc, Amstrad PPC Technical Reference Manual (1987), section 2, transcribed by John Elliott at seasip.info. Retrieved 2026-12-06. Section 2.1: the ROS sets the second-drive status bit by checking whether a second drive is fitted to the controller, and prompts for a system disc after ten failed bootstrap attempts; 2.2.12: the disk test seeks to track 10 on each drive; 2.6.1 and 2.6.2: the "Insert a SYSTEM disk into drive A" and "Error: Faulty floppy disk controller or disk drive" messages.
- ↑ dicc01, chuckcmagee and others, "Amstrad PPC 512 help", Vintage Computer Federation Forums, April 2009. Retrieved 2026-12-06. A PPC512 that stopped at a blinking cursor after "Please wait" and three beeps, cured by correcting one display DIP switch.
- ↑ gw0udm, "Amstrad PPC640 Restoration", Universal Discovery Methodology, 16 October 2021. Retrieved 2026-12-06. Three beeps and a flashing cursor with the drives running, cured by setting the display DIP switches consistently.
- ↑ 8.0 8.1 Amstrad Consumer Electronics plc, Amstrad PPC Technical Reference Manual (1987), section 1, transcribed by John Elliott at seasip.info. Retrieved 2026-12-06. Section 1.12: the 765A-type controller clocked at 4 MHz; drive 0 always present, drive 1 optional, drives 2 and 3 not implemented; RDY may be fixed true for drives without a ready output; drive select and motor control by the Drive Selection register at 3F2h; the disk-change bit in the printer status port. Section 1.20: the 12 V nominal DC input and the AC adaptor.
- ↑ 9.0 9.1 9.2 Keir Fraser, "Initial Setup", FlashFloppy wiki, GitHub. Retrieved 2026-12-06. Shugart interface by default; jumper S0 for unit 0; jumper JC selects the IBM PC interface; S1 for unit 1; USB stick formatted FAT32 (exFAT and NTFS not supported).
- ↑ 10.0 10.1 10.2 Keir Fraser, "examples/FF.CFG", FlashFloppy, GitHub. Retrieved 2026-12-06.
interface: shugart puts DSKCHG on pin 2 and RDY on pin 34, ibmpc puts DSKCHG on pin 34; defaultjc(Shugart with JC open);write-drainvalues instant, realtime and eot. - ↑ 11.0 11.1 11.2 Wikipedia, "Floppy disk drive interface". Retrieved 2026-12-06. The IBM PC 34-pin assignments (pin 2 density select, 10 motor enable A, 12 drive select B, 14 drive select A, 16 motor enable B, 34 disk change); the cable twist; many drives made without select jumpers, fixed as drive B.
- ↑ Nicolasfoster, "Back of Gotek with floppy ribbon cable plugged in", Wikimedia Commons, 7 November 2023, CC0. Retrieved 2026-12-06. Board markings +5V and GND beside the 4-way power socket; the jumper block beside the 34-way header.
- ↑ Retro.Engineer, "Amstrad PPC512 A". Retrieved 2026-12-06. A PPC512 received with two Goteks fitted on the right-hand side; the board stack and the 640 KB upgrade.
- ↑ NeXT, John Elliott and others, "Broken Amstrad PPC LCD hinges", Vintage Computer Federation Forums, 20 December 2009 to 1 January 2010. Retrieved 2026-12-06. John Elliott on 1.44 MB drives in the PPC: they would only behave as 720 KB drives, with no BIOS support.