I've been coding for over 20 years now! (WOAH, do I feel old)
I've touched just about every resource imaginable under the Sun (too bad they were bought out by Oracle)
MOSTLY YES! But there was also some odd-ball hardware that was 16-bit transfers instead of 8-bit. So to draw a single pixel, you had to read two bytes, replace one, then write two bytes back. HOWEVER though, this also meant that just raw performance of painting was twice as fast, as you could draw two pixels in a single operation, if you already knew what both were going to be! (like copying frame buffer for example)
For those who get a kick out of wrangling old hardware to do things it was never designed to.. this back in 2015 blew me away when I found it: int10h.org/blog/2015/04/cga-in-102...
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Color! Plus 320x200x256 was easy to address because every pixel was a byte in an array.
MOSTLY YES! But there was also some odd-ball hardware that was 16-bit transfers instead of 8-bit. So to draw a single pixel, you had to read two bytes, replace one, then write two bytes back. HOWEVER though, this also meant that just raw performance of painting was twice as fast, as you could draw two pixels in a single operation, if you already knew what both were going to be! (like copying frame buffer for example)
For those who get a kick out of wrangling old hardware to do things it was never designed to.. this back in 2015 blew me away when I found it: int10h.org/blog/2015/04/cga-in-102...