First post, by chjmartin2
Here is an application that I put together that really doesn't do anything useful. I wanted to see what some VGA games would look like if they had supported CGA and I wanted to be able to play some games in alternative CGA fonts. It isn't sophisticated, it captures a windowed DOSBOX output and renders the output in CGA graphics using a Bayer Dither. There are a whole bunch of options to cycle palettes and background colors. Turn on and off dither and cycle 8x8, 4x4 and 2x2 Bayer dither. The algorithm had to be fast so it really just nearest neighbor scales the output, quantizes it to four levels and then sorts the CGA pals by the lumen, throwing in a bayer dither in there. There is one really fun thing you can do which is to fantasize about being able to use ANY of the 16 colors in a 4 color palette - I really like black, dark red, light red and white.
Anyway, I attached the zip file and some screen shots. You have to run DOSBox first, it has to be windowed (I think) and it seems to work best by using a fixed window size. I used 640x400. Also you have to switch out of DOSBox and into the application window to change the settings, alt tab works pretty good. Only took about a day of coding to put this together, so it may be buggy. Best way to use it is to put the DOSBox window to the side and watch the CGA Render window. Hope you try it out.
Chris