reenigne
Veteran Member
I had a random thought of trying to optimize two screens, one 80x25x16 text and one 320x200x4 graphics and try to figure out the best set of common data closest to the target image
And flip between them? I don't think you can do that without the screen rolling (on a real monitor)...
Yeah, the problem there is that you're switching the CRTC between two possible input clocks (1.79MHz for 80-column text mode and 895KHz for other modes), so you'd need cycle-exact timing to make sure the clock gets switched over exactly at the beginning of the frame. It can be done, but only if you limit your code to 4.77MHz machines. 40-column text mode could be done though, and if you use 2 scanlines per character row, then each 8-pixel by 2-scanline block will be using the same video RAM addresses no matter what the mode is, which will probably simplify things. You can also choose between two pages in text mode, so you get to choose whether your text mode screen shares its data with the odd or the even scanlines of the graphics mode screen.
I look forward to that as well!
Me too!