-
Notifications
You must be signed in to change notification settings - Fork 2
Home
oe7twj edited this page Mar 13, 2018
·
3 revisions
(The 1541 is a retro hardware from Commodore)
- an old 1541 Floppy Drive
- an arduino Nano [3€]
- a TM1637 display (4x 7 segment) [1€]
- a bundle jumper wire [1€]
- either display the current track
- or work as an I2C slave device sending the current track
After reset the current track is unknown.
If Floppy Drive starts the Arduino starts reading data from inserted Floppy Disc. It simply reads the data from internal IO device VIA 6522. Each track contans some data sectors, and each sectot has an sector header. The sector header contains information about the current track# and sector# and some others.
As soon the track number is extracted from sector data it display the track number (or offers it as I2C slave). Now it is simple to track the change of track by reading the data for the stepper motor.