RE: Which colors for a grayscale?

2012-12-25 Thread Stefan Drissen
2012 02:06 To: sam-users@nvg.ntnu.no Subject: Re: Which colors for a grayscale? En/Je/On 2012-12-20 05:00, Stefan Drissen escribió / skribis / wrote : I wrote the greyscale ditherer - see [1]http://www.worldofsam.org/node/40 Stefan, do you keep the Z80 source? If so, would you share

Re: Which colors for a grayscale?

2012-12-24 Thread Marcos Cruz
En/Je/On 2012-12-20 05:00, Stefan Drissen escribió / skribis / wrote : I wrote the greyscale ditherer - see [1]http://www.worldofsam.org/node/40 Stefan, do you keep the Z80 source? If so, would you share it? I'd like to adapt your routine to work on any region of the current screen. I'd

Re: Which colors for a grayscale?

2012-12-20 Thread Marcos Cruz
En/Je/On 2012-12-20 05:00, Stefan Drissen escribió / skribis / wrote : I wrote the greyscale ditherer - see [1]http://www.worldofsam.org/node/40 - it only uses the real greys and dithers the in between a. Thank you Stefan. My first try sprite is 54x28, only few pixels got cyan using

Re: Which colors for a grayscale?

2012-12-19 Thread Simon Owen
Hi Marcos, The SAM palette is make up using 2-bit RGB plus intensity, which bitwise is: xGRBigrb. For pure greys you'd use: = 00 = 0 0111 = 07 = 7 1000 = 08 = 8 = 0f = 15 0111 = 70 = 112 01110111 = 77 = 119 0000 = 78 = 120 0111 = 7f = 127 The SAM demo

Re: Which colors for a grayscale?

2012-12-19 Thread Marcos Cruz
En/Je/On 2012-12-19 21:54, Simon Owen escribió / skribis / wrote : bitwise is: xGRBigrb. For pure greys you'd use: = 00 = 0 0111 = 07 = 7 1000 = 08 = 8 = 0f = 15 0111 = 70 = 112 01110111 = 77 = 119 0000 = 78 = 120 0111 = 7f = 127 I already knew

Re: Which colors for a grayscale?

2012-12-19 Thread Stefan Drissen
Although the cyanish in between colours looked good on an old CRT television, I thought they looked horrible on a monitor. That's why I wrote the greyscale ditherer - see http://www.worldofsam.org/node/40 - it only uses the real greys and dithers the in between a. Op 19 dec. 2012 om 22:54