Giter Club home page Giter Club logo

Comments (11)

jtsiomb avatar jtsiomb commented on May 28, 2024

The plot thickens.
I'm able to read the disk correctly back through the serial port with cloanto's amiga explorer, and comparing that adf with the original shows no differences. Yet checkdisk still marks at least 20 sectors as bad. I guess maybe amiga-explorer manages to read the problematic sectors correctly with multiple retries, but other code might not try as hard which results in the corruptions I mentioned in some games.

from arduinofloppydiskreader.

RobSmithDev avatar RobSmithDev commented on May 28, 2024

from arduinofloppydiskreader.

jtsiomb avatar jtsiomb commented on May 28, 2024

Not sure if it's re-reading a lot because it doesn't provide much feedback while it works. However your tool when writing with verify, takes different amounts of time to write and verify some tracks, which is clearly detectable by the uneven cadence of the stepper motor. Not sure if that means you're re-reading it more than once or not.

Ideally I think I should write some code in the amiga to read the tracks, and see what I get.

Another data point is that some game disks fail to boot at all with kickstart 1.3, but manage to proceed further with kickstart 3.1. I know for a fact that the trackdisk.device was re-written from scratch for kickstart 2.x, and I guess the new version might be more fault-tolerant and able to recover where the original code (and trackloaders in many games) fail to read properly.

from arduinofloppydiskreader.

RobSmithDev avatar RobSmithDev commented on May 28, 2024

Hoping the new V2.1 will resolve the writing issues, will have to wait and see I guess

from arduinofloppydiskreader.

jtsiomb avatar jtsiomb commented on May 28, 2024

I backported your changes to my AVR version of the firmware, and I'm afraid I'm still getting checksum errors on the amiga, while still reading back correctly the written disks on the pc.

I guess this was the change most relevant to this issue: https://github.com/jtsiomb/usbamigafloppy/blob/master/fw/src/avrfloppy.c#L517 I'm pretty sure I didn't introduce any bugs while manually back-porting your changes from the diff, but feel free to take a look.

Edit: maybe I should buy an arduino and try to run your original firmware, just to eliminate the possibility that I introduced the error in my version.

from arduinofloppydiskreader.

RobSmithDev avatar RobSmithDev commented on May 28, 2024

from arduinofloppydiskreader.

dragonbane avatar dragonbane commented on May 28, 2024

Hi Rob. Have this all built and have had a couple of successful writes of DOS disks. Most times, when the disk has successfully written, I can run it through a checkdisk and see alot of Checksum errors. I have recompiled the 2,1 from source with the same results. Is there any further information I can give you as I think this is an awesome project.

from arduinofloppydiskreader.

RobSmithDev avatar RobSmithDev commented on May 28, 2024

from arduinofloppydiskreader.

RobSmithDev avatar RobSmithDev commented on May 28, 2024

from arduinofloppydiskreader.

jtsiomb avatar jtsiomb commented on May 28, 2024

Excellent! the issue seems to be fixed. I can write disks without checksum errors now, and KS1.3 manages to load them just fine!

from arduinofloppydiskreader.

dragonbane avatar dragonbane commented on May 28, 2024

Can't wait to try this. Thanks for everything! :)

from arduinofloppydiskreader.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.