Hi, just a quick extra idea: You could read about
the PCX file format for 8-bit colors and define one
color to be "opaque". Then you can store your image
in PCX format in RAM and do run length coded BLOCKS
of either overwriting or not overwriting pixels on
screen, without needing per-pixel decisions at all!

https://www.fileformat.info/format/pcx/egff.htm

Note that PCX compression uses values 192 to 255
for special codes, so it helps to optimize your
palette to use mainly pixel colors 0 to 191...

Regards, Eric


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to