marqs85 / ossc

Open Source Scan Converter
http://junkerhq.net/xrgb/index.php/OSSC
GNU General Public License v3.0
480 stars 64 forks source link

PC-9821 over 24Khz does not look properly #83

Closed gameblabla closed 3 years ago

gameblabla commented 3 years ago

Hello, just wanted to report that 24Khz VGA output on my PC-9821 Nr15 does work but it seems that its resolution is being mis-detected and as result, looks pretty bad. It's possible to boot in 31Khz mode by pressing Grph + 2 on boot but this disables the internal LCD and some games switch back to 24Khz anyway.

Here's a couple of screenshots taken from my USB capture card with my OSSC connected to it : 24khz_1 24khz_2 24khz_3 24khz_4

And this is how 31Khz looks like (and how 24khz should look like too) 31khz_1 31khz_2 31khz_3 31khz_4

Notice the extra black pixels on the right and the bottom getting cropped in Doom 2.

marqs85 commented 3 years ago

Which firmware version are you using? I think some of the PC98 related mode presets got broken in 0.87 (more specifically in b26b213), but they should be now fixed by 2e7141c but it's not yet in official firmware. You might try if v0.86 works until a new fw is released.

gameblabla commented 3 years ago

Which firmware version are you using? I think some of the PC98 related mode presets got broken in 0.87 (more specifically in b26b213), but they should be now fixed by 2e7141c but it's not yet in official firmware. You might try if v0.86 works until a new fw is released.

I'm using 0.88a which seems to predate your commit. I'll see if i can compile it from scratch, if not i'll revert back to 0.86. Thanks

gameblabla commented 3 years ago

Well Quartus is 7Gb+ so yeah, looks like i won't be able to compile it from source. :/ (If someone could compile me a nightly build, that would be nice)

Flashed 0.86a instead to see what it was like and it's not quite right either.

new24kz_1 new24kz_2 new24kz_3 new24kz_4

Part of the screen on the left is cropped off and there are still black bars on the right. It does fix the bottom getting cropped up though.

marqs85 commented 3 years ago

You can adjust horizontal position by tweaking H.backporch in Sampling Opt->Adv. timing.

gameblabla commented 3 years ago

Have somewhat decent picture with these settings : H.samplerate = 848.0 H.synclen = 99 H. backporch = 49 V. synclen = 1 V.active = 400

wavy

It still looks worse than 31Khz though (i have wavy lines all over the screen) but perhaps that's because my VGA cable is not well shielded ?

marqs85 commented 3 years ago

Closing the the primary issue is fixed in 2e7141c.