After changing the value in d3dhlsl, running a recompile and it not having any effect, I realized that's because I'm using ubuntu which doesn't use d3d.
The value to change for ubuntu is in bgfx/chains/hlsl.json.
So we just add another digit with step .01 instead of step .1 and change the displayed format from %3.1f to %3.2f
I also figured out a pretty good workaround for the UI covering up the entire screen. Just use two screens (-numscreens 2) and window mode (-window) and set the second window to be the same as screen 0. (If you only have one screen, they all default to the same screen).
That also allows me to make the second screen's window much smaller to speed up processing.
I wonder if the hlsl could be sped up by processing at the resolution of the driver and then upscaled. So for example the apple ii driver would process at 560x384 and then get upscaled to fit the window.
Apple II example:
Code
100 HGR : FOR C = 0 TO 7 : HCOLOR = C : FOR Y = C * 20 TO (C+1)*20 : HPLOT 0,Y TO 279,Y : NEXT : NEXT
regular mame driver output
monochrome + hlsl
Note the scanline duration is now 39.09 (with an additional digit of precision)
It'd be cool if the slider would allow you change it in a step size of 1 or 10 or 100 by possibly holding down the 2 key for tens and 3 key for hundreds.
I wonder if the hlsl could be sped up by processing at the resolution of the driver and then upscaled. So for example the apple ii driver would process at 560x384 and then get upscaled to fit the window.
You just described how it already works.
That's how it already works.
The effects that can be run at the guest resolution are already run at the guest resolution. When dealing with passes like scanlines and the shadow mask, you need as much resolution as possible for a pleasing output, so it runs at the host resolution instead.
I had also had a go at it yesterday before looking at this thread and got David's Midnight Magic to look alright (well I guess in the ballpark), but had problems with Ultima III. Some other titles that use artifacting (in limited ways) are 221 Bakerstreet and Mr. Do. For Bakerstreet, someone over at the atariage forums provided a shot from real hardware (XL, a pain that the models output differently) some years ago
Found a really great game, called "Pondering about Max's". This is a really clever platform game and it runs under the a800xl driver. It's actually a combination of 3 different games, 2 platform games called "The Dream" and "P.A.M.", and beat-em-up called "Barroom Brawl".
Strangely though in mame's a800xl driver, you can't move laterally on the vertical pipes on the second level of "The Dream".
I can still finish all the levels in "The Dream". Good fun but really difficult.
Supposedly, there's supposed to be a secret on level 1, the clue is "Make the right moves on level 1 of the dream to create PM Madness"... I can jump down onto the billiard balls from the platform above. I think it must have something to do with the banner possibly. I tried jumping on top of the Eggle to jump up to the banner. Who knows, maybe the secret doesn't work on emulators but on real hardware.
Shortcut on level 7 of the dream, just jump on top of the Eggle in the upper right and use him as a springboard.