MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / clockPeriodForC64Track

Function clockPeriodForC64Track

arch/c64/c64.cc:17–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15 */
16
17nanoseconds_t clockPeriodForC64Track(unsigned track)
18{
19 constexpr double b = 8.0;
20
21 if (track < 17)
22 return 26.0 / b;
23 if (track < 24)
24 return 28.0 / b;
25 if (track < 30)
26 return 30.0 / b;
27 return 32.0 / b;
28}

Callers 1

encodeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected