Menu

#1990 Drive speed does not affect writing.

v3.x
open
nobody
None
Drives
2024-02-23
2024-02-20
Zibri
No

In VICE, at the moment, track sizes are "ruled" by the disk file format (g64, p64 etc).
In diskimage source tree, infact the track lenghts are static and they are the normal ones at 300 RPM.
So if I set the speed at 294 RPM and write, anyway the write will be at 300 RPM.
To correctly emulate the writing speed, there is a simple way:
when the writing starts, expand the track lenghts accordingly:

track lenght= time of one rotation / cycles per byte (density).

at 294 rpm and density 0 (32 cycles per byte):

60000000 / 294 / 32 = 6377.55 (0x18E9) bytes in the track.

Discussion

  • gpz

    gpz - 2024-02-20

    Its not quite as simple though, since it has all kinds of implications. And since this has very little relevance to most people, i wouldn't count on this getting fixed anytime soon either.

    answers given to closely related tickets apply:
    https://sourceforge.net/p/vice-emu/bugs/1849/
    https://sourceforge.net/p/vice-emu/bugs/1326/

     

    Last edit: gpz 2024-02-20
    • Zibri

      Zibri - 2024-02-23
      Post awaiting moderation.
    • Zibri

      Zibri - 2024-02-23
      Post awaiting moderation.
  • gpz

    gpz - 2024-02-20
    • Category: --> Drives
     

Log in to post a comment.