parsing and accessing floppy FAT filesystem in arduino

preview_player
Показать описание
having converted MFM pulses to sectors, you may be surprised to know its only a couple lines of code to have a microcontroller access the disk and underlying file structure. we use SdFat library, an SD card interface library that is really good, and subclass it to provide new functions for reading (and later, writing) sectors. then you can just treat the drive like a very small SD card. why does this work? turns out SD cards are pretty much the same as extremely large floppy drives: blocks of data are 512 bytes each, and both are formatted with the same kind of filesystem structure called FAT that was invented in 1977 for floppies but persists to this day. SdFat supports a particularly early and compact version called FAT12 and even does long filenames. now our arduino programs can access files on floppy drives with ease!

#arduino #floppy #adafruit

-----------------------------------------

-----------------------------------------
Рекомендации по теме
Комментарии
Автор

Will the floppy featherwing be available to buy?

davidhester
Автор

Can you turn a PS2 keyboard or mouse into bluetooth? It would be awesome too.

MoisesCaster
Автор

Could make raspberry pi cm4 a hat with usb hub, battery ups and display with 4×3×1 dimensions

rshnthomas