-
Notifications
You must be signed in to change notification settings - Fork 32
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
NTSC/PAL border setup at frame access, cleaner debug output. #236
Conversation
Thanks, I'll have a look once I have some time to do so (hopefully tonight, ehm, I meant in European time or such ... as usual). |
Have you put this part:
into |
We should not check of hypervisor presence as of yet, and simply let the video mode setup go through at vic4_open_frame_access. I think we can remove that check and annotate a reference to the topic for later. |
Probably. I think we can't figure out a 100% correct solution, works also after a million years from now ;) But, maybe this is not even very frequent that somebody changes video mode. At least I wouldn't find that useful to try to set NTSC/PAL at every second frame or so (a modern LCD monitor may even blank on video mode change for seconds anyway ... at least for more than zero frame). One thing that can be interesting that it seems freezer may use another video standard than the "user program" so there can be a true "danger" of video mode transition on hypervisor enter/leave boundaries. But again, I "blog" these here that we can refer it later maybe. On shorter term, the goal now to have something which in usual cases works (and anyway Xemu cannot use freezer currently, that's another point ...). |
I've merged now, honestly I don't even know why I waited with this, since we have no "danger" here to merge anything, it's a kind of "wild" branch ;) |
No problem at all with commenting, waiting, reasoning about this etc. I appreciate your opinions very much. |
Changes:
Now I partitioned the old routine into vertical border, horizontal border and legacy registers.
Moved them at top to mantain static declarations.
And as a side effect, you will see cleaner debugging information.