Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for different floppy image formats #97

Open
dbalsom opened this issue Jul 29, 2024 · 0 comments
Open

Support for different floppy image formats #97

dbalsom opened this issue Jul 29, 2024 · 0 comments

Comments

@dbalsom
Copy link

dbalsom commented Jul 29, 2024

Currently it looks like we must supply a raw sector image to be read to mount a FAT12 filesystem.

Over the history of PC floppy disks, there were a lot of unusual disks mastered, often for copy-protection purposes. Varying sector counts and sizes per track, overlapping sectors, etc. Raw sector images can only hold information about a standard floppy with 512 bytes per sector, and the same number of sectors per track.

I am not proposing that you support the dozens of different floppy image formats out there, but I was thinking about something like a SectorProvider trait that a user could implement for alternate disk formats, as a way for rust-fatfs to query disk layout and request sector data in a standard way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant