Home | Forums | What's new | Resources | |
Jo Engine: JO_480p Makefile Option |
slinga - Jun 15, 2020 |
1 | 2 | 3 | Next> |
slinga | Jun 15, 2020 | |||
I threw a ticket in for this..., figured I'd bug Ponut here as well. I was looking at different resolutions for Jo Engine and I had a few questions. I am a complete noob on resolutions so I could very well be completely wrong.
Thanks Ponut. |
Ponut | Jun 16, 2020 | |||
y thank me check the github |
slinga | Jun 16, 2020 | |||
@Ponut...: Thanks for the detailed post on the Github ticket. Doesn't Virtua Fighter 2 run in high res mode at 60 fps? @stevekwok...: This demo uses 480p: Progressive hires test demo?.... In addition to the SDTV resolutions, the uses EDTV (VGA) and Hi-Vision. I tried in Yabause and it appears to work, worth burning and trying on real hardware. I wish it included source code. I would eventually want to make a 480p demo. |
fafling | Jun 18, 2020 | |||
@stevekwok... You would only verify that your TV doesn't accept 480p over scart, which is probably the case for most TVs. I don't see anything in VDP2 manual that point a reduction of the framerate in 480p to 30fps. On the contrary, you can see on p. 32 that the exclusive mode halves the number of timings available just like the high res mode. This points to a reduction of the time available to output each pixels. On top of that, the myriad of limitations of the high res exclusive mode on p. 13 (AKA "Special High-Resolution Graphics Mode") are certainly implemented precisely to maintain the 60 fps framerate while outputing pixels twice as fast as on high res mode or exclusive normal mode. VDP2 output speed should be as follows :
|
paul_met | Jun 18, 2020 | |||||
I wonder why most developers of games for Saturn were limited to a horizontal resolution of 320 pixels? |
fafling | Jun 18, 2020 | |||
First, 320 is the default on Saturn (you have to take an action to set Saturn in 352 mode). Also 320 is a much more common horizontal resolution than 352, so it requires less work if porting a game from an original resolution of 320 (although you can draw a 320 picture in 352 mode, but that also requires additional work when compared to using 320). And actually, if you draw on the full width for both res, you have more cycles per screen pixel in 320 than in 352. Only if you restrict the drawing area to say 320 in 352 mode will you get more cycles per pixels than in 320 mode. |
XL2 | Jun 18, 2020 | |||||
But the cpus also run faster, so you get more bang for your bucks with 352. Most games had issues with the cpus more than the vdp1 since the compilers weren't great. You can tell how Saturn Quake struggles with the cpus because of the insane amount of portal clipping going on, while there is very little overdraw. 352 would have helped more here, even if it's still not a day and night difference. |
fafling | Jun 18, 2020 | |||
True, I was talking on the VDP1 fillrate perspective. |
stevekwok | Jun 18, 2020 | |||||
I don't think that the dot clock of VDP2 can be doubled or even quadrupled. The VDP2 dot clock can be only altered slightly between 352 and 320 modes and it always equals to 1/4 of the main CPU clock. Why? The reason is that each VDP2 dot cycle is further divided into 8 sub-cycles for cycle patterns. The sub-cycle clock equals to 2x CPU clock and equals exactly to the output of the PLL. Which means there is no further space for VDP2 to increase its sub-cycle clock. Why the frame rate is halved in 480p? Simply because the frame size is doubled. All of the 4 Exclusive Graphic modes run at 30fps, in which the 2 Exclusive Hi-Res modes maintain 30fps by using the Special High Resolution Graphics Mode with some limitations. |
rorirub | Jun 19, 2020 | |||||
Oh, this good old demo. I used it quite a lot for testing. Keep in mind that the graphics sometimes get garbled when you change resolutions. It's a bug in the demo. So try to do multiple passes. Text getting cut off can be caused because of that, not just because the TV is displaying it wrong. Additionally try to tilt the sync in the OSSC display settings, to pan the screen a bit, see if there's anything there that the OSSC just failed to display. Since the OSSC needs special settings for pixel-accurate output on the Saturn (even for 320px mode, but especially true for 352px mode), and on some TVs, doing so will cause the side of the screen to be cut off. I don't remember exactly what the 480p demos do when you do it with normal SCART into your TV set, I think you'll get rolling images, but it won't work either way. That's normal though. You can get it working on a CRT monitor, but you need a hardware mod for that, tapping the H/V Sync pins on the Saturn. However they are not outputs meant for display, so using that in the long term can damage the Saturn. And of course if you use a monitor, the low-res displays won't work. With the OSSC you can get it working but you need a hell of a high quality cable to get a clean picture in the highest resolutions. Luckily, the official Saturn SCART cables sold in Europe were extremely high quality, especially the second versions which added separate shielding to the audio lines. But the cheap Chinese RGB cables will get a trash picture. Also, if you use the OSSC and you use a SCART cable with a sync splitter like an LM1881, there's a chance the signal won't have a stable sync. This may depend on the cable or the sync splitter circuit, though. |
rorirub | Jun 19, 2020 | |||
One more thing, if you run that on a NTSC Saturn, the 256/512 height modes will be missing the bottom of the screen. This is normal. The VDP2 will only display those in PAL mode. |
fafling | Jun 19, 2020 | |||
@stevekwok... VDP2 doesn't have only one dot clock (VDP2 framerate doesn't go down in high res, right ?). And I was wrong about my previous dot speeds, here are the correct ones :
|
stevekwok | Jun 19, 2020 | |||
See corrected version in #29... |
slinga | Jun 19, 2020 | |||||
Thanks for the info. There has to be some configuration where 480p works connected to a TV via SCART right? Or why include it. I have a hunch the VGA modes might be more compatible on modern displays. |
1 | 2 | 3 | Next> |