Grabulosaure wrote:Another version !
new version is much easier to use.
As i guess now can use any address of framebuffer divisible by 256?
Moderators: Mug UK, Zorro 2, Greenious, spiny, Sorgelig, Moderator Team
Grabulosaure wrote:Another version !
Sorgelig wrote:i've added changes to Ascal for R/B swapping in Menu_MiSTer repository.
You can accept my changes or make your own. Up to you.
Grabulosaure wrote:Sorgelig wrote:i've added changes to Ascal for R/B swapping in Menu_MiSTer repository.
You can accept my changes or make your own. Up to you.
Is it really useful to be able to choose the order?
And RGB565 seems a bit more common than RGB555. And there is one extra bit of green paint!
Sorgelig wrote:further investigation shown that pll_hdmi_adj is guilty in HDMI initialization problem.
Somehow it interfere with ADV7513 configuration. Once i set llena = 0; lltune = 0; i've got Menu core working. Even standard disable lowlat mode from HPS side doesn't prevent the problem. It's not a problem to disable pll_hdmi_adj in Menu explicitly, but it shows that any ADV7513 config from other cores is simply ignored. Probably pll_hdmi_adj should wait i2c bus activity to finish before issue any HDMI frequency configuration.
P.S.: somehow lltune bus affects this problem. So i have to set lltune = 0 to make ADV7513 config to work.
Grabulosaure wrote:I won't be at home this WE and won't be able to test. Sorry. I'll look at the code though.
It's strange that llena=0 doesn't completely passivate PLL_ADJ.
The ADV7513 PLL tuning during HDMI initialisation probably doesn't like having an irregular input clock.
One day I'll revise again that PLL stuff, but I've tried so many times...
Sorgelig wrote:Just thought: we are very close to HPS OSD implementation. If you can make rendering HPS buffer over the core video with alpha channel (32bit RGBA color) then i will move OSD to HPS side. Then more fancy OSD will be possible.
To save resources and bandwidth It's possible to simplify some parts. For example HPS buffer can be restricted to integer-only magnification NN-only. It's also ok to limit max HPS buffer resolution to 1280x720 (960x540 can be used for 1920x1080).
Sorgelig wrote:yeah.. I always forget about VGA output... VGA going to have a problems.. vga_scaler can solve this but i guess purists won't like it.
Sorgelig wrote:Having 2 separate scalers is very bad idea - it will consume to much resources. So when you use vga_scaler=1 it implies you don't need HDMI. You still can use both VGA and HDMI with scaler if output resolution is the same and both displays support it.
Scaler supports very low resolutions and slow pixel clocks. You can see TV-friendly resolution is listed in Gameboy core readme. So, it's possible to temporary switch to scaler output when OSD is active. Usually CRT instantly catches new resolution, so it won't be a problem to switch between 2 resolutions. Probably still can maintain the current OSD for VGA only. I don't plan to re-design the OSD data. If Scaler will be able to blend the FB onto core video, then it will have better looking menu while the OSD data from core will remain the same. So it should be compatible with both OSD systems.
Sorgelig wrote:Ok. First release with frame buffer.
It also includes fbv picture viewer.
Code: Select all
fbv - The Framebuffer Viewer
/media/fat/PICS/test.png
1275 x 716
Code: Select all
fbv -fer /media/fat/screenshots/SNES/*
Sorgelig wrote:or:Code: Select all
fbv -fer /media/fat/screenshots/SNES/*