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
473 stars 56 forks source link

Faszination bmc64 speed a little too fast #170

Closed TomC64 closed 3 years ago

TomC64 commented 3 years ago

Wow... impressive project... First problem --> Emulation Speed I have built the Faszination module (Raspberry PI 3 model A+) inside a c64 breadbin case... Everything works, keyboard, c64 led.. Amazing product... BUT

The emulation is just a little too fast... I tried different machines for the c64 (PAL, NTSC)... Off course turned off warp... the c64 runs just a little too fast. Is there anyway to set the emulation speed... I know in vice you can select 100% but it seems this setting is not available. Is this a known issue... i tried different games, different disk, all a little too fast...

The Faszination all in one solution is running BMC64 V3.6

TomC64 commented 3 years ago

Just found out more... The sound is also out of sync and comes later... I tried games like arkanoid, there is a delay in sound... I tried the bmc64 on two different monitors, a standard hdmi one and a vga monitor using a hdmi to vga dongle... Same problem. Emulation to fast and audio out of sync... I had to setup the raspberry pi to --> HDMI Safe --> 1 on first boot to get my setup working...

rhester72 commented 3 years ago

I have this device and have had no problems - it behaves exactly the same as the Pi 3B+ I used before it. I'm using standard HDMI (as that's all I have), but both NTSC and PAL are 100% (using the built-in custom timings).

randyrossi commented 3 years ago

BMC64 is different than other VICE builds in that it is timed by the video frame rate so there is no speeding up or slowing down the emulation. The default video mode is perhaps 0.25% off the real machine so I'm not sure how you are determining it is too fast. If you run a real machine next to BMC64, they will drift apart after a while but I doubt it's noticeable. So perhaps something else is going on with your setup? Did you create your own video mode or perhaps you have mixed NTSC and PAL timings so you have a fast PAL machine? (i.e a PAL configured machine but timed to 60hz...?)

You can get closer to the exact frame rates by using one of the custom video modes that are very close to 50.125hz (or 59.826 for NTSC). But those modes may not work on all monitors.

On Wed, Mar 31, 2021 at 2:34 PM TomC64 @.***> wrote:

Wow... impressive project... First problem --> Emulation Speed I have built the Faszination module (Raspberry PI 3 model A+) inside a c64 breadbin case... Everything works, keyboard, c64 led.. Amazing product... BUT

The emulation is just a little too fast... I tried different machines for the c64 (PAL, NTSC)... Off course turned off warp... the c64 runs just a little too fast. Is there anyway to set the emulation speed... I know in vice you can select 100% but it seems this setting is not available. Is this a known issue... i tried different games, different disk, all a little too fast...

The Faszination all in one solution is running BMC64 V3.6

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/randyrossi/bmc64/issues/170, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAI3HKASI5LOFXSFWUG3VFDTGNTMNANCNFSM42FIRTNQ .

-- Randy Rossi

WebbedQuasar commented 3 years ago

I never had any speed issues on my Pi 3B+ and C-PIO64. I prefer this setup over the Faszination module because of the more potent hardware and passive cooling. I tested the 50.125Hz mode and my TV can handle it, but I don't like the much smaller picture (4:3 on 16:9 screen, big borders left and right). I recorded this mode and compared it with the normal 50Hz PAL mode. As a human you absolutely don't realise any differences. These 0.25% are completely insignificant.

TomC64 commented 3 years ago

The speed was really like 50% too fast, so really noticeable! It seems to be the hdmi_safe=1 command I had to change in the config.txt file to deal with the black screen on my hdmi's... I found a monitor that does not need this and hey... Speed seems perfect now !!! Will keep testing...