Thanks for your reply. I ended up getting it to work the other day with this config:
But yours looks a bit more streamlined so I might try and tweak it a bit, my PIN defs may not be required.
I also managed to add additional modes after boot via xrandr and after tweaking the values a bit I have REAL CRT resolutions working for 640x400, 720x400 and 640x480 (I know... that one is easy).
I installed Openbox and Arandr and tested the above modes.
Now all I have to do is get dosbox to work with them... which is my next challenge.
Code:
#SVGA 800x600@60Hzdtoverlay=vc4-kms-dpi-generic,hactive=800,hfp=40,hsync=128,hbp=88dtparam=vactive=600,vfp=1,vsync=4,vbp=23dtparam=clock-frequency=40000000#DOS Text Mode#dtoverlay=vc4-kms-dpi-generic,hactive=720,hfp=16,hsync=96,hbp=48#dtparam=vactive=400,vfp=12,vsync=2,vbp=35#dtparam=clock-frequency=28320000#DOS Mode X#dtoverlay=vc4-kms-dpi-generic,hactive=640,hfp=16,hsync=96,hbp=48#dtparam=vactive=480,vfp=10,vsync=2,vbp=33#dtparam=clock-frequency=25175000#DOS 13h#dtoverlay=vc4-kms-dpi-generic,hactive=640,hfp=16,hsync=64,hbp=96#dtparam=vactive=400,vfp=1,vsync=3,vbp=25#dtparam=clock-frequency=31500000dtparam=rgb888[all]# RGB888 on GPIO2–25 (D0–D23)dtparam=pin_d0=2dtparam=pin_d1=3dtparam=pin_d2=4dtparam=pin_d3=5dtparam=pin_d4=6dtparam=pin_d5=7dtparam=pin_d6=8dtparam=pin_d7=9dtparam=pin_d8=10dtparam=pin_d9=11dtparam=pin_d10=12dtparam=pin_d11=13dtparam=pin_d12=14dtparam=pin_d13=15dtparam=pin_d14=16dtparam=pin_d15=17dtparam=pin_d16=18dtparam=pin_d17=19dtparam=pin_d18=20dtparam=pin_d19=21dtparam=pin_d20=22dtparam=pin_d21=23dtparam=pin_d22=24dtparam=pin_d23=25# Clock and Syncs (matching dpi24 overlay)dtparam=pin_clk=27dtparam=pin_vsync=28dtparam=pin_hsync=29dtparam=pin_de=30I also managed to add additional modes after boot via xrandr and after tweaking the values a bit I have REAL CRT resolutions working for 640x400, 720x400 and 640x480 (I know... that one is easy).
Code:
xrandr --newmode "720x400_70" 28.32 720 738 846 900 400 412 414 449 -hsync +vsyncxrandr --addmode DPI-1 "720x400_70"xrandr --newmode "640x400_70" 25.175 640 656 752 800 400 412 414 449 -hsync +vsyncxrandr --addmode DPI-1 "640x400_70"xrandr --newmode "640x480_60" 25.175 640 656 752 800 480 490 492 525 -hsync -vsyncxrandr --addmode DPI-1 "640x480_60"Now all I have to do is get dosbox to work with them... which is my next challenge.
Statistics: Posted by pixelocdguy — Tue Jun 24, 2025 11:55 am