33->32 the W would be the least significant bit of G, and that bit would be a copy of the most significant bit of G such that a full black pixel will be full black and a full green pixel will be full green so white can be white and not have a magenta tinge. This would cause a likely imperceptible green boundary line from 01111 to 10000 (which would be 10001).
IMHO. On Fri, Dec 15, 2017 at 11:51 AM, pjwitte via Ql-Users < ql-users@lists.q-v-d.com> wrote: > I want to convert a mode 33 screen (Qxx) to mode 32 (QPC2) and visa versa. > I got this far with 33 to 32, but Im not sure this is the best translation: > > rem %gggggrrrrrbbbbbw = mode 33 > rem %gggbbbbbrrrrrggg = mode 32 > > c$ = BIN$(PEEK_W(a), 16) > c$ = c$(3 TO 5) & c$(11 TO 15) & c$(6 TO 10) & c$(1 TO 2) & c$(16): rem = > %gggbbbbbrrrrrggw > > What do I do with 'w' in either case for best results? > > Per > > _______________________________________________ > QL-Users Mailing List > -- Dave Park d...@sinclairql.com _______________________________________________ QL-Users Mailing List