I have made a couple of builds that add PWM on the 18-bit DAC to get 24-bit color for the cores that need it. This is for any non-scaled signals that use the VGA port on the IO board. It works by quickly alternating between two different color values to get a color in between. The PWM happens very fast so it can be done even for 640 wide images.
We have been testing it on the Mister FPGA discord, here are some pictures:
RGB SCART:
Active Y/C S-video PWM off:
Active Y/C S-video PWM on:
I have included a build for N64, PSX and Saturn, PWM is always on in these builds, no settings needed.
Here is my fork of the N64 core with the PWM changes: https://github.com/Jokippo/N64_MiSTer_PWM
It seems to work quite well and may be a good alternative to using direct video or buying a new 24-bit IO board. For now, it looks like this won't be included in the MiSTer framework.
If you want these build to be included in update_all then add these lines to downloader.ini:
Code: Select all
[Jokippo/MiSTer_PWM_Cores]
db_url = https://raw.githubusercontent.com/Jokippo/MiSTer_PWM_Cores/db/db.json.zip
A folder 'ConsolePWM' will be created with the PWM cores inside
edit: Updated N64 core to most recent source. PSX core had some red color shift on component, might be a bit less on this build.
edit 13/02/2024: Update to latest N64 changes and disabled PWM for scaled output as it was causing jitter.
edit 15/02/2024: Added Groovy core with PWM.
edit 28/02/2024: Update n64 and add Saturn Core.
edit 14/03/2024: Update n64 core, PWM is included as standard in Groovy now so you can download that from the official Github.
edit 08/04/2024: Update of all 3 cores to latest source.
edit 04/05/2024: Update all 3 cores.
edit 07/05/2024: N64 core had some vertical green lines on HDMI output, should be fixed now.
edit 12/06/2024: Update PSX and Saturn
edit 19/07/2024: Update PSX and Saturn
edit 15/08/2024: Updated N64(fixes for Conker's Bad fur day, Star Wars Naboo, Gauntlet Legends, Zelda MM telescope transition) and Saturn.
edit 18/08/2024: Updated N64
edit 24/08/2024: Updated Saturn
edit 31/08/2024: Updated PSX
edit 02/09/2024: Add repository for custom update_all database.
edit 24/09/2024: Add PSX 2X (Turbo) Core.
edit 02/10/2024: Add N64 Turbo core and update regular core.
edit 15/10/2024: Update Saturn