News for hackers. Stuff that matters.
Re:1K colours on CGA: How it's done by jerf on Friday April 10, 2015 @03:12PM (#9356493)
If I'm reading correctly between the lines, they are pouring a ton of CPU into this effect. I wouldn't be surprised if you told me what we saw in the demo is literally almost all this effect can do, and there's not a lot of power left over for actually running a game.

Same thing for all the things you see Commodore 64 demos do... by the time you're creating the awesome graphical effect there's often not a lot left over for the game itself. (Though there are some interesting exceptions... there appear to be some surprisingly high-quality side-scrolling platformers now based on "bad lines", which are both explained and then the platformers shown at https://www.youtube.com/watch?feature=player_detailpage&v=fe... . Though the entire presentation is fascinating and shows a few other demoscene effects in real programs.)

Re:1K colours on CGA: How it's done by ajenner on Friday April 10, 2015 @03:33PM (#9356613)
The CPU usage isn't that bad compared to some of the other things we did in the demo - with some help from interrupts it could be done with maybe 20% of CPU. There is also a much easier ~500 colour variant which doesn't take any CPU time at all once set up.

I think the real reason it wasn't discovered earlier is that most CGA PCs were not connected to composite monitors or TVs (people who could afford the big expensive IBM machine could generally afford a dedicated digital monitor as well). A few games used 160x200x16 composite but even those generally had modes for RGBI monitors as well (which wouldn't work so well with the 500/1K colour modes, though I guess there are the dithering characters 0xb0 and 0xb1 which might have worked). These +HRES modes also suffer from CGA snow, which might have been a deal-breaker.

Re:1K colours on CGA: How it's done by jerf on Friday April 10, 2015 @03:40PM (#9356657)
Cool, thanks for the details!
Re:1K colours on CGA: How it's done by bitwize on Friday April 10, 2015 @04:57PM (#9357069)
Well they were able to use the leftover CPU slop to transform, shade, and rasterize a crude 3D model in real time, so it couldn't have been all that bad...
Re:1K colours on CGA: How it's done by ajenner on Friday April 10, 2015 @05:18PM (#9357171)
The 3D part used a more conventional 16-colour mode. Though it's a testament to how well Scali's code and VileR's palettes work, if they can be mistaken for the 1K colour mode!