RobSmithDev / ArduinoFloppyDiskReader

DrawBridge aka Arduino Amiga Floppy Disk Reader/Writer - Hardware and software interface for accessing Amiga disks (read/write ADF and SCP) on non-Amiga hardware
https://amiga.robsmithdev.co.uk
GNU General Public License v3.0
227 stars 53 forks source link

How to write on a sector #31

Closed cedricp closed 3 months ago

cedricp commented 5 months ago

Hi, I'm working on a small utility to convert disks to ADF format and read amiga filesystem with the help of ADFlib (https://github.com/lclevy/ADFlib/tree/master) and ImGui (MinGW and Linux). Reading disk works great, but I'm wondering if it's possible to write a unique sector on disk or if I should read the whole track, modify the sector, then write all. My repo is there : https://github.com/cedricp/adfutils Best regards

RobSmithDev commented 5 months ago

HiSorry for the slow reply. With Amiga sectors you have to write the entire track as it would be very difficult to write individual sectors like you can with PC disks. It does mean to do it nicely you probably want to be a little more cleaver about when you choose to writeBest wishesRobOn 22 May 2024, at 09:03, Cedric PAILLE @.***> wrote: Hi, I'm working on a small utility to convert disks to ADF format and read amiga filesystem with the help of ADFlib (https://github.com/lclevy/ADFlib/tree/master) and ImGui (MinGW and Linux). Reading disk works great, but I'm wondering if it's possible to write a unique sector on disk or if I should read the whole track, modify the sector, then write all. My repo is there : https://github.com/cedricp/adfutils Best regards

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>