Raspberry Pi 360K floppy drive
Project by Scott Baker
Raspbian is not a real-time OS, and the FDC is absolutely intolerant of bytes not being serviced during read or write. If a context switch occurs, then a buffer overrun WILL occur. There are a few tricks that can mitigate this.
The --realtime option will set the process to SCHED_FIFO with maximum priority. This should keep other processes from interrupting it. It also writes -1 to /proc/sys/kernel/sched_rt_runtime_us, which will prevent Linux's mandatory interruption of the process for 50ms every second.
The --pincpu option will pin the process to a particular CPU. In and of itself this isn't useful, but it makes a difference when combined with the isolcpus kernel option.
For maximum performance:
Add isolcpus=3 to /boot/cmdline.txt
Use the --realtime and ``--pincpu 3` options.
It's still not perfect, and writing a floppy driver as a user-mode python program was a pretty silly thing to do, but you can get a failure rate down to a couple of percent, and the automatic retry will take care of that.
Raspberry Pi 360K floppy drive
*PCBWay community is a sharing platform. We are not responsible for any design issues and parameter issues (board thickness, surface finish, etc.) you choose.

Raspberry Pi 5 7 Inch Touch Screen IPS 1024x600 HD LCD HDMI-compatible Display for RPI 4B 3B+ OPI 5 AIDA64 PC Secondary Screen(Without Speaker)
BUY NOW
ESP32-S3 4.3inch Capacitive Touch Display Development Board, 800×480, 5-point Touch, 32-bit LX7 Dual-core Processor
BUY NOW
Raspberry Pi 5 7 Inch Touch Screen IPS 1024x600 HD LCD HDMI-compatible Display for RPI 4B 3B+ OPI 5 AIDA64 PC Secondary Screen(Without Speaker)
BUY NOW- Comments(0)
- Likes(0)

- 0 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
More by Alexiev
-
Customizable crystal oscillators Half size - can style Customizable crystal oscillators Full size - can style The ClockInACan is a small circuit board that...
-
Customizable crystal oscillators Full size - can style The ClockInACan is a small circuit board that is the same size as the oscillator and duplicates the...
-
OCTOBAND – 8 Band PA+LPF Board For uSDX TriBand (An All Mode HF QRP Transceiver) OCTOBAND – 8 Band PA+LPF Board For uSDX TriBand (An All Mode HF QRP Transceiver) - designed by BAR...
-
C64 Video Enhancement, Analog Only C64 Video Enhancement, Analog OnlyThe analog circuit that was just meant as a simple replacement to ...
-
Raspberry Pi 360K floppy drive Project by Scott BakerRaspbian is not a real-time OS, and the FDC is absolutely intolerant of bytes ...
-
APPLE II ProDOS ROM Drive This is a peripheral card for the Apple ][ series computers that acts as a read-only solid state dis...
-
Afterburner - GAL chip programmer for Arduino This is a GAL IC programmer software that allows to program GAL IC chips from various manfucaturers....
-
ATFBlast - ATF16V8, GAL16V8, ATF22V10 and GAL22V10 chips programmer ATF16V8, GAL16V8, ATF22V10 and GAL22V10 chips programmer.This is custom PCB variant of ATFBlast proj...
-
ArduTrx Attenuator or Dummy load IntroductionTo test the ArduTrx or transceivers in general a dummy load is a handy device (https://e...
-
ArduTrx Open Source Hamradio Transceiver for Arduino The ArdTrx project consists of two parts: the ArduTrx shield and the software. Both parts can be use...
-
MonochromeVGA MonochromeVGA is a product to enjoy the charm of those monochrome monitors of the time but in the cu...
-
NES64 Make Your Own Joystick The NES64 is a replacement PCB for use in an existing controller for the Nintendo Entertainment Syst...
-
AY-3-8912 Emulator (AVR-AY) AY-3-8912 Emulator (AVR-AY)used in many old computers as Amstrad CPC, Oric-1, Colour Genie, Elektor ...
-
4116 dram tester project by : Muttley Black
-
Covox Speech Thing Sound Card SMD version he Covox Speech Thing is an external audio device attached to the computer to output digital sound. ...
-
Covox Speech Thing Sound Card for Parallel Port LPT with resistor DAC - Short version Covox Speech Thing Sound Card for Parallel Port LPT with resistor DAC - Short verionThe short versio...
-
Covox Speech Thing Sound Card for Parallel Port LPT with resistor DAC - Long version Instead of using two types of resistors with 1/2 relation, I just used all the same types, but doub...
-
8bit ISA IBM XT, 286, 386, 486 Analog input card - Game control adapter Recreation of IBM Analog input card 99.1 mm* 79.4 mmAn 8-bit ISA card with gameport. It avoids the...
-
Customizable crystal oscillators Half size - can style Customizable crystal oscillators Full size - can style The ClockInACan is a small circuit board that...
-
Customizable crystal oscillators Full size - can style The ClockInACan is a small circuit board that is the same size as the oscillator and duplicates the...
-
OCTOBAND – 8 Band PA+LPF Board For uSDX TriBand (An All Mode HF QRP Transceiver) OCTOBAND – 8 Band PA+LPF Board For uSDX TriBand (An All Mode HF QRP Transceiver) - designed by BAR...
-
C64 Video Enhancement, Analog Only C64 Video Enhancement, Analog OnlyThe analog circuit that was just meant as a simple replacement to ...
-
Raspberry Pi 360K floppy drive Project by Scott BakerRaspbian is not a real-time OS, and the FDC is absolutely intolerant of bytes ...
-
APPLE II ProDOS ROM Drive This is a peripheral card for the Apple ][ series computers that acts as a read-only solid state dis...
-
Afterburner - GAL chip programmer for Arduino This is a GAL IC programmer software that allows to program GAL IC chips from various manfucaturers....
-
ATFBlast - ATF16V8, GAL16V8, ATF22V10 and GAL22V10 chips programmer ATF16V8, GAL16V8, ATF22V10 and GAL22V10 chips programmer.This is custom PCB variant of ATFBlast proj...
-
ArduTrx Attenuator or Dummy load IntroductionTo test the ArduTrx or transceivers in general a dummy load is a handy device (https://e...
-
ArduTrx Open Source Hamradio Transceiver for Arduino The ArdTrx project consists of two parts: the ArduTrx shield and the software. Both parts can be use...
-
MonochromeVGA MonochromeVGA is a product to enjoy the charm of those monochrome monitors of the time but in the cu...
-
NES64 Make Your Own Joystick The NES64 is a replacement PCB for use in an existing controller for the Nintendo Entertainment Syst...
-
-
Commodore 64 1541-II 1581 Floppy Disk Drive C64 Power Supply Unit USB-C 5V 12V DIN connector 5.25
167 1 3 -
Easy to print simple stacking organizer with drawers
87 0 0 -
-
-
-
Modifying a Hotplate to a Reflow Solder Station
1137 1 6 -
MPL3115A2 Barometric Pressure, Altitude, and Temperature Sensor
639 0 1 -
-
Nintendo 64DD Replacement Shell
495 0 2 -
V2 Commodore AMIGA USB-C Power Sink Delivery High Efficiency Supply Triple Output 5V ±12V OLED display ATARI compatible shark 100W
1442 4 3