markusC64 / 1541ultimate2

Improved version of the 1541 Ultimate II(+) firmware
GNU General Public License v3.0
118 stars 14 forks source link

ulticopy making read errors with some real 1541-II #26

Open JiBud opened 3 years ago

JiBud commented 3 years ago

Tested on FW 3.2 and 3.7 with same result. I have two 1541-II one from 1988 with belt drive and one from 1990 with direct drive motor. The new one with direct drive is making random reading errors "-" during disk reading. The other disk utilitities (from carttridge) are working fine and making disk image without any error.

All tests with mechanics are passing OK. Speed of disk is 300.7 rpm The floppy disk created in this drive is readable without error in another (belt) drive, and ulticopy reads it without error

Can anyone verify this problem with direct drive mechanics?

It must be some timing issue.

JiBud commented 3 years ago

Retry will probably solve the problem, because I am getting errors on different track/sector when I am re-reading disk again. In next week I will have another "direct disk" drive and want to check if it is common problem for this type of drive.

I also checked what happened when I swapped mechanics (keeping same electronic board). ->Then I was getting random errors on both mechanics. By changing floppy disk from different manufacturer the problem was fixed only on belt drive mechanic. I don’t know why it is problem only on direct drive mechanic + Ulticopy. For example demo BIBA3 by Arise is working only on direct drive mechanic = I think it has “faster” step motor, which is able follow higher pulse switching. You can hear higher frequency sound of head during movement. My belt drive mechanics in this BIBA3 demo fast loader is not able to follow stepping commands.

I was looking on ulticopy.asm source code, but I am not familiar with reading principle. It may be very simple to solve it, for example by inserting some NOP or more attempts.

it must be in routine "read_sector" , but threre are already attemps implemented lda #100 sta attempts

markusC64 commented 1 year ago

cf. https://github.com/markusC64/1541ultimate2/issues/41