Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VJ runs at 60 FPS in NTSC mode, 30 in PAL mode #57

Open
ericde45 opened this issue Mar 20, 2022 · 2 comments
Open

VJ runs at 60 FPS in NTSC mode, 30 in PAL mode #57

ericde45 opened this issue Mar 20, 2022 · 2 comments
Labels
bug legacy Happens also in the original VJ S2

Comments

@ericde45
Copy link

when running virtualjaguar --ntsc, fps are 60
running virtualjaguar --pal give 30 fps
even when running virtualjaguar without any program/rom

@djipi djipi added bug S2 legacy Happens also in the original VJ labels Mar 20, 2022
@djipi
Copy link
Owner

djipi commented Mar 20, 2022

Thank you to have report this issue. It is also present in the original VJ (checked with vj-20160613-win64, and 2.1.2).

@djipi
Copy link
Owner

djipi commented Jan 15, 2024

Investigation provided additional clues.

  • The fps reports slightly more than 60 fps in NTSC
    -- This is due to the timer in charge of the main loop, value should be 16.6 but timer needs an integer, so 16 is used as value.
  • The test in PAL shows main loop takes a significant amount of time in each loop
    -- Ticks calculus should use a value of 20 but, got a values range between 0x1a to 0x24 instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug legacy Happens also in the original VJ S2
Projects
Status: To Do
Development

No branches or pull requests

2 participants