Mode X
en.wikipedia.org
en.wikipedia.org
I spent a day or two basically putting random values in VGA registers, because I didn't understand what most of the values represented or how they interacted. By trial and error, I discovered a 320 x 600 mode with 256 colors that ran at 50Hz.
With that mode, I could make a fake truecolor image display program that presented 320 x 200 24-bit images: the trick was simply to draw red, green and blue on separate scanlines, and you could count on the CRT to have enough of an afterimage to blend them together.
It worked ok (at least on my 12" IBM-made CRT), and I was very proud to have created a truecolor mode on plain VGA. But then I tried it on a friend's clone PC with no luck.
The classic PC demo "Unreal" from 1992 did something similar [1]. I believe they used Mode X at 320x400 or 320x480.
400x300 87Hz.
I modified one of my games at the time to use it and It was comically difficult to play because the movement was synced to the framerate and consequently played almost 50% faster.
I always wanted to write a paint package for it using temporal dithering. You can get away with a lot with a 43Hz dither. Mixing colours of similar luminosity doesn't flicker annoyingly at all and gives you way more than 256 colours
A quick google search, and I found these: http://archive.gamedev.net/archive/reference/listed82.html?c... (clicked a couple of links, they do not seem dead)
I was able to get so much experience experimenting to optimize my code to draw stuff on screen fast enough to get a decent frame rate, and I learned a lot about pointers, memcopy, peek, and poke, etc. One of my biggest "breakthroughs" was when I realized that drawing sprites by looping through one pixel at a time with an if statement to either draw or not draw depending on whether the pixel was transparent wasn't as fast as preprocessing the sprite using a form of RLE and then copying strips of pixels in one operation with memcopy, essentially skipping over the transparent areas for free. Later I found out that technique had already been around for decades, but 11 year old me was super excited when I figured it out.