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.
- 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
- 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...
-
-
-
kmMiniSchield MIDI I/O - IN/OUT/THROUGH MIDI extension for kmMidiMini
112 0 0 -
DIY Laser Power Meter with Arduino
162 0 2 -
-
-
Box & Bolt, 3D Printed Cardboard Crafting Tools
156 0 2 -
-
A DIY Soldering Station Perfect for Learning (Floppy Soldering Station 3.0)
557 0 2