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

Sync issue with 15khz CRT #1

Closed
kold669 opened this issue Nov 10, 2022 · 27 comments
Closed

Sync issue with 15khz CRT #1

kold669 opened this issue Nov 10, 2022 · 27 comments

Comments

@kold669
Copy link

kold669 commented Nov 10, 2022

Using direct video=1 , the core doesn't sync properly on 15khz CRT

@MikeS11
Copy link
Owner

MikeS11 commented Nov 10, 2022

Hmm Sync is fine on my PVM on both the analog IO board and DV, also no sync issues with my 1702 Commodore monitor.

@birdybro
Copy link

@kold669 can you post your MiSTer.ini?

@kold669
Copy link
Author

kold669 commented Nov 10, 2022 via email

@birdybro
Copy link

The MiSTer.ini gets modified when you send it via email in a reply to the github issues, it changes all the comments for the resolutions, but not a major issue.

I don't see anything unusual in this ini that would cause an issue. What is the make and model of your TV?

@kold669
Copy link
Author

kold669 commented Nov 10, 2022 via email

@birdybro
Copy link

birdybro commented Nov 10, 2022

How is your original Son Son hooked up to this monitor? Through a JAMMA converter to the VGA pinout?

@kold669
Copy link
Author

kold669 commented Nov 10, 2022 via email

@birdybro
Copy link

Sonson_20221110.zip

@kold669 can you test out the rbf in this zip file please?

@kold669
Copy link
Author

kold669 commented Nov 11, 2022 via email

@birdybro
Copy link

Measurements would always help in this kind of situation! :)

@MikeS11
Copy link
Owner

MikeS11 commented Nov 11, 2022

The core should be outputting an hsync of length 55 and vsync of length 2. I can change them if I can get a good reference from the original. Thanks!

@kold669
Copy link
Author

kold669 commented Nov 11, 2022 via email

@MikeS11
Copy link
Owner

MikeS11 commented Nov 11, 2022

Thanks, the current core I think differs in the vertical display window, being at 262 lines vs 282 on the real arcade machine? (59hz vs 55hz)? Ill have a further look :) Thanks

@kold669
Copy link
Author

kold669 commented Nov 11, 2022 via email

@MikeS11
Copy link
Owner

MikeS11 commented Nov 11, 2022

Arcade-Sonson_20221111.zip

I extended the Vsync by one to see if it helps

@kold669
Copy link
Author

kold669 commented Nov 11, 2022 via email

@birdybro
Copy link

Are you Corrado Tomaselli? If so, there's a mystery here:

0.156: Corrado Tomaselli corrected audio CPU clock for Son Son as measured on PCB. Changed M6809 CPU1/2 clock speeds to 1.5MHz and VSync to 57.37 Hz.

MAME is currently set to 57.37Hz instead.

@MikeS11
Copy link
Owner

MikeS11 commented Nov 11, 2022

If you can measure the duration in the Syncs, that would be helpful as well.

@kold669
Copy link
Author

kold669 commented Nov 11, 2022 via email

birdybro added a commit to birdybro/mame that referenced this issue Nov 11, 2022
Source of measurements --> MikeS11/Arcade-Sonson_MiSTer#1 (comment)

The value originally set must have been a typo, according to @kold669 (aka Corrado Tomaselli). The original PCB alternates between 55.37Hz and 55.43Hz and it is Corrado's suggestion to run it at 55.40Hz.
@birdybro
Copy link

birdybro commented Nov 11, 2022

Also I noticed that the core Vsync is 59hz but it should be 55.4hz as per my measurements

It's possible that slingshot (original author of the MiST core) set this in this core to be more compatible with monitors because MiST only has Analog Video output, or the core was based on another core that used those numbers and it was never adjusted.

@kold669
Copy link
Author

kold669 commented Nov 11, 2022 via email

@MikeS11
Copy link
Owner

MikeS11 commented Nov 12, 2022

Arcade-Sonson_20221115.zip

Try this, I brought it down to 55hz as well as shrinking the hsync to the standard 32 from its 55 it was set to. Things are off center a bit but Ill fix that later

@kold669
Copy link
Author

kold669 commented Nov 12, 2022 via email

@kold669
Copy link
Author

kold669 commented Nov 12, 2022 via email

@MikeS11
Copy link
Owner

MikeS11 commented Nov 12, 2022

Ok, I've released a new update that adds the following:

  • Fixed button swap bug
  • Added 55.4Hz video timing
  • Added H/V Position Adjustments
  • Fixed Hsync length for compatibility on some monitors
    Have a look, when you switch to 55.4Hz the menu might not show it until you restart the core with those settings, but it changes on the fly.

@kold669
Copy link
Author

kold669 commented Nov 12, 2022

Great job! on my monitor works both 59.6hz and 55.4hz
I have two requests if it's possible:
Extend the pos offsets to -+8
Adding hiscore saving

@MikeS11
Copy link
Owner

MikeS11 commented Nov 12, 2022 via email

@MikeS11 MikeS11 closed this as completed Nov 12, 2022
rb6502 pushed a commit to mamedev/mame that referenced this issue Nov 24, 2022
Source of measurements --> MikeS11/Arcade-Sonson_MiSTer#1 (comment)

The value originally set must have been a typo, according to @kold669 (aka Corrado Tomaselli). The original PCB alternates between 55.37Hz and 55.43Hz and it is Corrado's suggestion to run it at 55.40Hz.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants