PWM on 18-bit DAC to get 24-bit Color

Discussion of developmental aspects of the MiSTer Project.
Neocaron
Posts: 353
Joined: Sun Sep 27, 2020 10:16 am
Has thanked: 194 times
Been thanked: 72 times

Re: PWM on 18-bit DAC to get 24-bit Color

Unread post by Neocaron »

This not being in main still blows my mind XD

User avatar
dickhardpill
Posts: 123
Joined: Tue Apr 09, 2024 9:28 pm
Location: Not Portland, OR
Has thanked: 56 times
Been thanked: 23 times
Contact:

Re: PWM on 18-bit DAC to get 24-bit Color

Unread post by dickhardpill »

Ruleset wrote: Sat May 04, 2024 5:45 pm
naylord wrote: Sat May 04, 2024 8:08 am

Would you be able to do a final update on the Saturn core when the core gets buttoned up? Feels like were in the homestretch of development and it would be amazing to have PWM on the final or near final release so it could be the definitive way of playing Saturn games.
Thanks so much again!

I'll make new builds probably about once a month if there are updates. Cores are updated to latest source today.

You are awesome! Thank you it looks pretty darn amazing!

naylord
Posts: 50
Joined: Sat May 21, 2022 11:55 pm
Has thanked: 16 times
Been thanked: 5 times

Re: PWM on 18-bit DAC to get 24-bit Color

Unread post by naylord »

One question, the PWM feature does work with forced_scandoubler right? That's not like a VGA scaler since it just line doubles without needing to do any extra scaling of any kind. To my eye it looks like banding is improved on the Saturn core with scandoubler on with pwm core vs vanilla but I thought I'd double check it's not a placebo if scandoubler disables it like VGA_Scaler does.

Ruleset
Posts: 12
Joined: Fri Dec 01, 2023 1:45 pm
Been thanked: 40 times

Re: PWM on 18-bit DAC to get 24-bit Color

Unread post by Ruleset »

naylord wrote: Thu May 09, 2024 7:44 am

One question, the PWM feature does work with forced_scandoubler right? That's not like a VGA scaler since it just line doubles without needing to do any extra scaling of any kind. To my eye it looks like banding is improved on the Saturn core with scandoubler on with pwm core vs vanilla but I thought I'd double check it's not a placebo if scandoubler disables it like VGA_Scaler does.

Yes, the scandoubler doesn't use the scaler as far a I know, so PWM should work. What games are you testing on Saturn that show a difference? I only could find the FMV in the japanese version of Castlevania that showed less banding, but I didn't try too many games.

metalfacemark
Posts: 174
Joined: Mon Jan 04, 2021 12:04 pm
Has thanked: 19 times
Been thanked: 15 times

Re: PWM on 18-bit DAC to get 24-bit Color

Unread post by metalfacemark »

Thanks, just had a play with this - looks great!

naylord
Posts: 50
Joined: Sat May 21, 2022 11:55 pm
Has thanked: 16 times
Been thanked: 5 times

Re: PWM on 18-bit DAC to get 24-bit Color

Unread post by naylord »

Ruleset wrote: Thu May 09, 2024 1:47 pm
naylord wrote: Thu May 09, 2024 7:44 am

One question, the PWM feature does work with forced_scandoubler right? That's not like a VGA scaler since it just line doubles without needing to do any extra scaling of any kind. To my eye it looks like banding is improved on the Saturn core with scandoubler on with pwm core vs vanilla but I thought I'd double check it's not a placebo if scandoubler disables it like VGA_Scaler does.

Yes, the scandoubler doesn't use the scaler as far a I know, so PWM should work. What games are you testing on Saturn that show a difference? I only could find the FMV in the japanese version of Castlevania that showed less banding, but I didn't try too many games.

I was playing Panzer Dragoon Zwei and it looked like banding was reduced in the FMV. I'll try booting up castlevania as the grey fog in the opening cutscene is a very obvious place to see tons of banding.

User avatar
Dr Johnny Bananas
Posts: 22
Joined: Mon Oct 16, 2023 4:20 am
Has thanked: 4 times
Been thanked: 1 time

Re: PWM on 18-bit DAC to get 24-bit Color

Unread post by Dr Johnny Bananas »

This is very interesting, Saturn is my favorite core. I'm going to try these tonight.

Thank you!

stanenc
Posts: 1
Joined: Wed May 29, 2024 1:47 pm
Been thanked: 1 time

Re: PWM on 18-bit DAC to get 24-bit Color

Unread post by stanenc »

Made an account to say that version 20240408 solved my entire issue I was having on a vga lcd display. Let me know if there is anything I can do to get this into the main branches because this is unbelievable. No way in heck the solution should be to purchase an entirely new board when solutions like this exist.

User avatar
Sarge
Posts: 45
Joined: Tue Jan 12, 2021 5:26 am
Has thanked: 3 times
Been thanked: 5 times

Re: PWM on 18-bit DAC to get 24-bit Color

Unread post by Sarge »

Very impressed with this. Hopefully Sorgelig will relent some day and add to main.

Image
Post Reply