Changes

PSG

2 bytes removed, 26 August
/* D/A converter table */
== D/A converter table ==
These are the 16-bit values used in Arkos Tracker. They are more accurate than the datasheet you can find, as they were tested electronically by Grim and Zik directly from a real CPC:0, 231, 695, 1158, 2084, 2779, 4168, 6716, 8105, 13200, 18294, 24315, 32189, 40757, 52799, 65535
For the record, these are [https://groups.google.com/g/comp.sys.sinclair/c/-zCR2kxMryY Matthew (Gasman) Westcott measurements] (normalised) on its ZX Spectrum: 0, 2310.0105, 6950.0154, 11580.0216, 20840.0314, 27790.0461, 41680.0635, 67160.1061, 81050.1319, 132000.2163, 182940.2973, 243150.3908, 321890.5129, 407570.6371, 527990.8186, 655351
For the record, these are [https://groups.google.com/g/comp.sys.sinclair/c/-zCR2kxMryY Matthew (Gasman) Westcott measurements] (normalised) on its ZX Spectrum: 0, 0.0105, 0.0154, 0.0216, 0.0314, 0.0461, 0.0635, 0.1061, 0.1319, 0.2163, 0.2973, 0.3908, 0.5129, 0.6371, 0.8186, 1 ay3 manual show different values:2 steps down = half values down.
Thus, the theoretical formula is f(x) = 2 ^ ((x - 15) / 2) with x between 0 and 15.
7,499
edits