randyrossi / bmc64

A bare metal Commodore 64 emulator for the Raspberry Pi with true 50hz/60hz smooth scrolling, low input latency and better audio/video sync.
GNU General Public License v3.0
474 stars 56 forks source link

PET startup sound missing on first start #224

Closed rhester72 closed 1 year ago

rhester72 commented 1 year ago

I've revisited this a few times because it's sticking under my skin and I can't figure it out lol

The ching-ching-ching-ching! startup chime for the PETs is not audible when the core is started. If you restart (without switching cores), it can then be reliably heard every time.

I was originally chasing it from the perspective of a number of PET-specific potential core race-condition crashes present in the VICE core, but having patched all of those, nothing's changed.

Is this a matter of the HDMI driver not having completed the audio path linkup in time for it to be heard? I just can't seem to understand root cause.

rhester72 commented 1 year ago

Closing as NOTABUG, issue is indeed a matter of my display not syncing in time. The MiSTer core behaves in exactly the same manner (on the same display).