Comments (11)
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.
from arduinofloppydiskreader.
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.
Hoping the new V2.1 will resolve the writing issues, will have to wait and see I guess
from arduinofloppydiskreader.
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.
from arduinofloppydiskreader.
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.
from arduinofloppydiskreader.
from arduinofloppydiskreader.
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.
Can't wait to try this. Thanks for everything! :)
from arduinofloppydiskreader.
Related Issues (16)
- Question-WD1793FDC compatible use? HOT 2
- Created Python scripts to read IBM/DOS/Commodore 1581 via ArduinoReader
- Visual Studio 2019
- Write errors in first sectors HOT 3
- Checksum errors while reading HOT 12
- Porting to RaspberryPi HOT 2
- It does not run under WindowsXP HOT 4
- Writting .d81 files HOT 1
- Broken access on Linux - firmware 1.8 HOT 4
- BBC Micro - floppy drive HOT 16
- Using Arduino Duemilanove with on-board USB UART (FT232RL) for read-only? HOT 5
- Reading NEC 765-style (double density, MFM, "360KB") floppies HOT 17
- Writing doesn't work for me HOT 15
- Ported the sketch to work with Arduino Pro Micro (Atmega32U4, 5V, 16Mhz) HOT 4
- Sucessfully read ATARI ST DD Disks (720 MBytes, 820 mBytes, 930 MBytes ) HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduinofloppydiskreader.