virtualc64
virtualc64 copied to clipboard
drive/rpm3
From the README file:
This directory collects programs that measure the drives spindle motor speed in
RPM.
The result should be somewhere around 300rpm, +/- 1% (297-303)
All programs show on screen:
- the number of cycles measured for one revolution (~200000)
- calculated RPM (highest precision, not rounded)
- calculated RPM (rounded to two decimals)
[...]
rpm3.prg:
- Inspired by "1541 Speed Test" by Zibri (https://csdb.dk/release/?id=194046).
Writes a test track on track 36, which contains one long SYNC and then 5
regular bytes. Time for one revolution is measured by reading 6 bytes.


Note: The other two test show that the drive rotates at the right speed (slightly slower than VICE). Therefore, the bug affects the measuring method, not the measured parameter.
A quick look at track 36 reveals that the it is full of 1's. Seems like the test fails to write the 5 regular bytes.
