Re: [Ql-Users] Mode 33 to 32

2017-12-15 Thread Wolfgang Lenerz via Ql-Users
I'd do it this way %ggWbrggg 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 %grbw = mode 33

Re: [Ql-Users] Mode 33 to 32

2017-12-15 Thread Peter Graf via Ql-Users
> What do I do with 'w' in either case for best results? I would just use the RGB0 bit of mode 33 as G0 Bit of mode 32, which is what you probably do already. There is no perfect translation, since mode 33 has 64 clean grey levels, while mode 32 has only 32. There will be a minimal green tint in

Re: [Ql-Users] Mode 33 to 32

2017-12-15 Thread pjwitte via Ql-Users
Thanks guys :) On 16/12/2017 00:30, Peter Graf via Ql-Users wrote: What do I do with 'w' in either case for best results? I would just use the RGB0 bit of mode 33 as G0 Bit of mode 32, which is what you probably do already. There is no perfect translation, since mode 33 has 64 clean grey

[Ql-Users] Mode 33 to 32

2017-12-15 Thread pjwitte via Ql-Users
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 %grbw = mode 33 rem %gggbrggg = mode 32 c$ = BIN$(PEEK_W(a), 16) c$ = c$(3 TO 5) & c$(11 TO 15) & c$(6 TO 10) & c$(1

Re: [Ql-Users] Mode 33 to 32

2017-12-15 Thread Dave Park via Ql-Users
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