keirf / amiga-stuff

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ATK: no issue, feature request: disk-alignment map

fook42 opened this issue · comments

in floppy drive test, using head calibration, only 3 positions within the floppy disk are accessible ( track 0, 40, 79 ).
my suggestion: having a complete "map" of a disk (all 80 tracks) showing the misalignment of each track as a sum(?).
layout may be like in disk-copiers (as e.g. Xcopy).
That would give a better "overview", how the misalignment of heads or tracks are placed all over the disk.

sequence may be: access each track once, calculate the sectors (+,0,-), add them up to a number, write the number to the "grid-like" disk-map and continue with the next track...
tracks where all sectors are fine should show up as 0 .. tracks with sectors of higher number than expected should be positive numbers (1 to 9,A,B .. or 1 to 11 ? ) .. with negative numbers these may show up as inverted numbers..

Do you think this is likely, that you would see a track too high in one area, and track too low in another? At the same time?

i found out, that a head which is not only misaligned back&forth but also left&right leads to strange misalignments.
one drive here was having this, showing 11 correct sectors on track 0 , but none at 40 and 5 good ones at 79 ...

i made an example implementation .. based on your "head calibration routine" .. this is just to see what i meant or how i may look like.
it works - but the display of errors needs some improvement. (coloring e.g.)

Thanks! I'm away this week. I will take a look next week!

I have merged your code in as a replacement for the basic Read test. It is not much changed -- a little bit of automatic retry, and there is no Fn key for restarting the test: You have to Esc out and then re-enter the test. I doubt these are troublesome for you, but please give the latest master branch a test and see what you think. If all good, we'll close this ticket.

seams to be a good way to use this routine.
just one little bug: the clearing of this new screen is not large enough, when you switch back to the previous menu...
the last pixel-line of the disk-matrix is still visible:
AmigaTestKit_002

Ah cheers I have a couple other ideas too. I'll clean it up in next few days.

Please try it now. The colour boxes are shortened, to give them a border and to avoid the graphics issue you discovered. I also indicate how many bad sectors were found in each track (0-B).

thanks for this - will test today and give feedback.

Looks great to me!

i played a bit with the head of my drive during test.. :)
20200819_222346_kl

i would like to "reopen" this
there is another glitch happening to the output in case a ready-error occurs (like the shown one: "signal is oscillating")

  1. Lower/Upper-Text is shifted down a row
  2. the Read-Matrix is paint over this

20200822_122408_kl

Oh dear. I think I'll fix this and slip it into a revised v1.12.