logoalt Hacker News

wmiltoday at 9:23 AM2 repliesview on HN

So for anyone looking into old school graphics programming, bit planes are pretty confusing when you don't understand why they exist.

Two big reasons. First, it's about running memory chips in parallel to increase bandwidth. Image data was hard to get to the screen fast enough with hardware in that era.

Second it allowed for simple backwards compatibility. Programs were used to writing directly to video memory, and in an EGA card the start of the video memory was valid CGA data. The rest of the colour data was in a separate bit plane.


Replies

flohofwoetoday at 10:02 AM

It also saved memory with "odd" number of bits eg 3 bitplanes for 8 colors per pixel.

fredoralivetoday at 10:59 AM

I don't think the Amiga has either parallel / per plane chip memory, or any need for backwards compatibility with CGA.

show 1 reply