How does the ANSI from Hell hack to achieve higher resolution work?
Although while working on this one, I couldn't help noticing that the IBM CGA (5153) monitor wasn't showing things quite as expected. That led me down another rabbit hole: https://int10h.org/blog/2022/06/ibm-5153-color-true-cga-pale...
This can also be automated with pattern-matching, where you convert an image to glyphs by algorithmically selecting the nearest match.