Hi. I'm looking at MAME
again after a couple decades (?!?) away from it.
Specifically the Apple ][ emulation: MAME lists the clock as 1021800 Hz. In the source, I see:
M6502(config, m_maincpu, 1021800); /* close to actual CPU frequency of 1.020484 MHz */
Per "Understanding the Apple IIe" by Jim Sather, sec. 3-13, I believe the ~1.02048 figure is the more correct "average" clock rate, taking into account the 16/14 stretch of every 65th cycle.
Can anyone explain why MAME is using 1021800 and how that was derived?
(I'm asking because of sound generation code.)