BBS: Inland Empire Archive Date: 11-14-92 (12:34) Number: 346 From: HARRY GISH Refer#: NONE To: BOB OEHRLE Recvd: NO Subj: Print Hi-Res Graphics Conf: (2) Quik_Bas
Okay, probably the easiest way to deal with "4 plane
colors" is like this {this is inefficient and verbose
coding but it's intended to document, not optimize}.
Think of a line of pixel values ranging from 0 to 15.
They're coded {planed} like this
Plane 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
0 X X X X X X X X
1 X X X X X X X
2 X X X X X X X
3 X X X X X X X X
Oops, I blew the X at Plane 1, position 14!!!
Okay, totalling the planes (with an assignment of 1 for X
{bit on} for plane 0 is a value of 1, plane 1 is 2, plane 2
is 4 and plane 3 is 8. Thus COLOR 3 is 1 + 2. COLOR 15 is
planes 0 through 3. I blew COLOR 14 (8 + 4 + 2).
Does that clarify it?
--- Maximus/2 2.01wb
* Origin: ACCESS BBS (1:124/2122)

Books at Amazon:
Back to BASIC: The History, Corruption, and Future of the Language
Hackers: Heroes of the Computer Revolution (including Tiny BASIC)
Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution
The Advent of the Algorithm: The Idea that Rules the World
Moths in the Machine: The Power and Perils of Programming
Mastering Visual Basic .NET