Very ugly test program source attached. It only does following:
- seeks to track zero (if not already)
- writes data (buffer contents generated in code)
- reads data to other buffer
I used asmone h command to manually check the disk2 buffer.
For example when reading a7aaaaaa a7aaaaaa, 7 becomes B randomly. Note that sync pattern is not at the beginning of track buffer to prevent gap overwrite but it is easy to find because of very clear pattern change.
|