A86: Re: GrayScale Confusion


[Prev][Next][Index][Thread]

A86: Re: GrayScale Confusion




Well.. I dont feel like figuring out the Putsprite but doesnt a grayscale
Putsprite need at least 16 bytes? You need two sprites to form a grayscale
sprite

Also, 1 just means one. If you want all the bytes filled, you use $FF or
255. 1 will just draw a right line, because 1 is %00000001 and it is 1
bit/pixel per sprite. Two sprites yields 2-bits/pixel or 4 shades.

If people think my tutorial wasn't informative could someone give me a few
pointers to clarify the grayscale section? I would assume that the animated
gif and the commented source code was enough.. but.. maybe not. What more
could I add to increase its clarification? I didn't add a grayscale
putsprite, because you would only need two putsprites to draw a grayscale
sprite. I figured that was suprisenly obvious.. but maybe not. Especially
since the Zshell school shown how to draw a grayscale sprite.

Anyone having trouble running the graytest program (the one I wrote)? It
compiled to around 250 bytes for me.. it should run OK.

Later,
    Matt



>Would someone please tell me what is wrong with this?  I am trying to put a
>simple 8x8 sprite on the screen in grayscale.. I am going to need many
>sprites, so i decided one was enought to get me to understand.. I guess I
>just couldn't understand Matt's toutorial well enough.  [This uses Dux's
>routine]  Also, does anyone know anything about degrees on the 86, what i
>mean is, if i wanted to maek a program that moved a point 10 degrees
>everytime you pressed right, is that possible?  Thanks in advance.
>
>--
>Ahmed El-Helw
>ahmedre@bellsouth.net
>http://asm8x.home.ml.org
>ICQ: 3350394
>


Follow-Ups: