I'd do it this way

%ggWbbbbbrrrrrggg

Regards

Wolfgang



On 15/12/2017 18:51, pjwitte via Ql-Users 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


_______________________________________________
QL-Users Mailing List

Reply via email to