-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Screen sizes issue PART2 #101
Comments
Many thanks ! Cheers |
pushed new version on uat environment latest core + bugfix when NTSC drove the executed frames so much into future that when switching back to PAL it would wait some seconds in order to reach PAL speed again... @Vweber73 the best demo to see whether NTSC/PAL is working I found was juggler.ADF |
Many thanks ! I've tested it and PAL/NTSC switching seems fine now ! Only thing is that Settlers freezes when switched to NTSC (no sound, no mouse moving) and is back to normal when switched back to PAL. If you boot in NTSC, then it is ok. However, if you trigger the keyboard, then the screen is cut at the bottom in NTSC mode, no matter what graphic mode is used. Is it intended ? Note that PUAE/RetroArch does not like the PAL/NTSC hot switch either, the freeze is worth than vAmiga (color clash). I was thinking, maybe it would be good to separate NTSC machine and pixel ratio. One may want a NTSC machine with PAL ratio :) Cheers |
Funny thing is like if you boot in PAL, switching to NTSC freezes the Settlers. But if you boot in NTSC, hot switching between the 2 modes is no problem ! |
Do you think it is a game problem? Can you boot into winuae and switch there and see how it behaves there? |
I don't have WinUAE handy but I have PUE, which doesn't seem to want to boot at all Settlers in NTSC: black screen after launch ! |
thank you very much, you are really good !! How do you find all those bugs 😎! I will try to reproduce this... Just played a bit with it but did not succeed how you did it ... will try more systematically ... |
I like to try things to make them perfect ;) |
I could just access my PC and try with WinUAE. I confiirm the behaviour observed with PUAE on Android:
Seems like the Germans don't like NTSC :) |
ok,finally I am successful in reproducing the Frankenstein monster issue 1.freshly reloading vAmigaWeb app, NTSC was already selected
see here debug console the core thinks it runs with 60Hz but vAmigaWeb apparently only executes it 50 times a second -> therefore of course the core produces to few sound samples and the sound is slow and sluggish with distortions ... SOLUTION: after loading a snapshot I have to reset to the loaded mode PAL or NTSC of the snapshot |
Fabulous, many thanks ! |
not necessarily, it could also be, that WinUAE is wrong and vAmiga is correct... @dirkwhoffmann can you test settlers on a real NTSC Amiga machine, whether it boots up? |
Yes, it could well be ! :) On vAmigaWeb Settlers doesn't like hot switching (which was never meant to be on a real machine anyway), but seems to accept booting in NTSC once for all fine... |
just pushed a new version to the UAT environment ... it has been upgraded todays vAmigaCoreLib ... which has changed a lot of things in viewport stuff as well ... so expect some new errors ... but the frankenstein issue should be gone ... One thing that I already discovered is that when in |
Thanks ! |
hi @Vweber73
found the problem ... every switch creates a snapshot on heap memory (when a hd is involved then snapshots become bigger)... the problem was I never deleted them ... so after switching 10 times or so ... it went out of memory... 🙈 the other issues are due to massive refactoring in the core and that I must rework my code for it to be compatible... 😬
don't know ... maybe some changes in the core itself ? I will not push a new version to UAT until I sorted the problems out a bit more ... the version currently is a bit to rough ... probably in the coming days ... stay tuned.. |
Ok, many thanks ! |
just pushed a new version to uat ... fixing the memory leak with snapshots and screen dimension problems during restoration of snapshots... |
Thanks ! |
Uh yes ... just repushed it ... I destroyed the sound again ... corrected version should be online in some seconds EDIT: online |
Thanks ! Much better now. |
Got a freeze of interceptor when switching it from NTSC to PAL. |
what do mean with doing it again ? do you mean clicking the switch ? Or restarted the app and doing all over again? EDIT: I just pushed a small fix ... maybe it was related |
Sorry I was not clear. I meant switching back from PAL to NTSC then to PAL again, not restarting the app. |
did you do it with your own action button? |
No, just with the GUI |
for better testing, please create two extra action buttons... with javascript one that triggers be sure to hit global checkmark so that the two action buttons are always in every game visible ... |
I created a NTSC button with this command in JavaScript, button created fine, but I have no effect when clicking on it ? |
add
when you hit the button an alert should popup you can also create some buttons for |
The alert is popping up fine. But no NTSC switch... |
|
I swear I can tell the difference between PAL and NTSC on Interceptor on my Z3, we debated the proportion of the circle, it is very visible :) |
I see … wait I will look into it |
you were right
the use_ntsc_pixel ratio was missing in the script ... |
Excellent thanks ! |
I have tested this and it seems to me that the demo opens in the first picture a too wide viewport on the amiga ... this is then reported by the viewport tracking to vAmigaWeb which exactly sets the dimensions of its emulaion viewport to the amiga viewport reported by the demo... the demo maker did not know about this feature of the last picture ... yes same game here ... I think in order to save DMA cycles for the CPU they did make the viewport height very small which is reported by viewport tracking and vAmigaWeb reduces its display height too then ... concerning the overscan ... have you a picrture ? We could shift it a bit ... but see settlers was fine, no ? ... the viewport start position is also adjusted by the games itself ... so there is no single truth ... |
Many thanks for this ! Indeed burning spear is a complex demo, good test case.. |
this issue is to continue the journey from #79
@Vweber73
wider
then it should match exactly the size ... don't know maybe there is still something more overscan then "the settlers" out there and therefore I defined the overscan a bit larger ... see your image from settlers in PUAE/Retroarch, it had also borders left and right ...The text was updated successfully, but these errors were encountered: