virtualc64 icon indicating copy to clipboard operation
virtualc64 copied to clipboard

drive/rpm3

Open dirkwhoffmann opened this issue 3 years ago • 1 comments

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.
 
Bildschirmfoto 2021-05-05 um 16 31 12 Bildschirmfoto 2021-05-05 um 16 31 08

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.

dirkwhoffmann avatar May 05 '21 14:05 dirkwhoffmann

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.

Bildschirmfoto 2021-05-05 um 16 45 02

dirkwhoffmann avatar May 05 '21 14:05 dirkwhoffmann