-
Notifications
You must be signed in to change notification settings - Fork 2.2k
sinclair/specnext.cpp: Added video output configuration (VGA/HDMI); refresh rate 50/60Hz; timings for all reference machines #13992
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
base: master
Are you sure you want to change the base?
Conversation
…efresh rate 50/60Hz; timings for all reference machines
|
||
m_eff_nr_03_machine_timing = m_nr_03_machine_timing; | ||
m_eff_nr_05_5060 = m_nr_05_5060; | ||
popmessage("%s: %s %dHz", machine_name, is_hdmi ? "HDMI" : "VGA", m_nr_05_5060 ? 60 : 50); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be LOGMASKED() or similar rather than just shown to the user.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMHO this way it gives good user experience. Similar how your TV set shows such message.
I'll postpone till resolve bgfx issue. It crashes unconditionally after configure() for other values too. |
The issue is related to bgfx. I've tried other -video and there it works like a charm |
There is a lingering issue in BGFX where it's mixing up the stride with the width or something along those lines. macOS prints diagnostics to the terminal about it in some cases. |
u16 min_vsync; // displays don't like vsync = vblank | ||
u16 max_vsync; | ||
u16 max_vblank; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see:
https://wiki.specnext.dev/Reference_machines
https://wiki.specnext.dev/Video_Timing_Register