VOGONS

Common searches


Reply 20 of 31, by VileR

User metadata
Rank Oldbie
Rank
Oldbie
ykhwong wrote:

I am using d3dx9_42.dll released in 2009 instead. What's the matter with the shaders? I modified several shader files about two months ago so that they should work properly with it.

using the DLL from your build produces errors:

D3D:Using triple buffering
D3D:Error in pixel shader shaders\CRT.D3D.fx:
Unable to create effect compiler from shaders\CRT.D3D.fx
D3D:Pixel shader output disabled

Not sure how to get more details.
Using d3dx9_30.dll (renamed), it works fine - no other changes; .conf file and shaders\ dir contents are the same.

I also tried several other shaders with a modified date of July 5 (Lanczos.fx, bilinear.fx, Sketch.fx), and they result in the same error using the _42 dll, but work fine with _30.

[ WEB ] - [ BLOG ] - [ TUBE ] - [ CODE ]

Reply 21 of 31, by ykhwong

User metadata
Rank Oldbie
Rank
Oldbie
VileRancour wrote:
Not sure how to get more details. Using d3dx9_30.dll (renamed), it works fine - no other changes; .conf file and shaders\ dir co […]
Show full quote
D3D:Using triple buffering
D3D:Error in pixel shader shaders\CRT.D3D.fx:
Unable to create effect compiler from shaders\CRT.D3D.fx
D3D:Pixel shader output disabled

Not sure how to get more details.
Using d3dx9_30.dll (renamed), it works fine - no other changes; .conf file and shaders\ dir contents are the same.

I also tried several other shaders with a modified date of July 5 (Lanczos.fx, bilinear.fx, Sketch.fx), and they result in the same error using the _42 dll, but work fine with _30.

That is weird. What is your video card? Did you update your video driver to the latest version?

Reply 22 of 31, by VileR

User metadata
Rank Oldbie
Rank
Oldbie

Nvidia geforce GT 240, with the latest drivers. (280.26)

Also tested on an older card, GeForce 7300 SE, with the latest driver version too, and got the same behavior with the DLLs... but that card can't handle the CRT shader anyway 😜
both are running on XP Pro SP3 machines, btw.

[ WEB ] - [ BLOG ] - [ TUBE ] - [ CODE ]

Reply 27 of 31, by basic

User metadata
Rank Newbie
Rank
Newbie

I fixed this patch, it will patch correctly with DOSBox SVN r4019.
And added paper-white color in CGA/Hercules mode, press F11 to cycle through green, amber, RGB-white, and paper-white.

Filename
cga_mono_r4019.diff
File size
10.01 KiB
Downloads
54 downloads
File license
Fair use/fair dealing exception

Thanks, VileRancour.

Paper-white palette looks like actual white monochrome monitor.

Attachments

  • 2.png
    Filename
    2.png
    File size
    3.17 KiB
    Views
    725 views
    File license
    Fair use/fair dealing exception
  • 1.png
    Filename
    1.png
    File size
    3.18 KiB
    Views
    725 views
    File license
    Fair use/fair dealing exception

Reply 28 of 31, by VileR

User metadata
Rank Oldbie
Rank
Oldbie

Interesting, how did you derive the paper-white gradient?
The color values look like the 16 steps are tinted (in various directions) away from grey... and according to the 'Paper-White Phosphors' sidebar here, that may actually have some basis in how these monitors are designed. Didn't know that. 😀

[ WEB ] - [ BLOG ] - [ TUBE ] - [ CODE ]

Reply 29 of 31, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

just a quick note about the patch.
It's "wrong" to add to 2 different "SHELL_STARTUP_CGA" messages.
Just give them a different a different name and do the selection at the point where they are being printed. (so where the MSG_Get is used)

Water flows down the stream
How to ask questions the smart way!

Reply 30 of 31, by azrael4h

User metadata
Rank Newbie
Rank
Newbie

The updated patch works for green, though F11 doesn't seem to cycle through anything; Dosbox is locked into green monochrome for me. Pressing f11 causing the message "hue at -x.xxxxxx" in increments of 5 for each keystroke, but does nothing in the actual DOSBox window.

*EDIT*
Figured out the special keys problem, but F11 still does not cycle through the various palettes, and alt+f11 likewise has no function at all.

Reply 31 of 31, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

Deleted post. Patches should be submitted here or to the DOSBox sourceforge site, not to sites not affiliated with the official version of DOSBox.

DOSBox Compilation Guides
DosBox Feature Request Thread
PC Game Compatibility List
How To Ask Questions The Smart Way
Running DRM games offline