A86: Re: Sprites and the Screen


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

A86: Re: Sprites and the Screen




It all depends on what FindPixel, FindAddress or PutSprite routine you are
using!  It is normally the upper left, but on the 85 I believe the
FIND_PIXEL rom call made it lower the right.  If the coords are reversed,
than that's the fault of your PutSprite routine.  Remember, X is horizontal,
Y is vertical.  They refer to the standard cartessian coordinate plane
(remember Algebra?).  If you're thinking of the Output( command in ti-basic,
then it is reversed.
(that sure screwed me up a long time ago when I was used to using LOCATE in
qbasic, then I got a monitor that had color and started doing graphics...)

----- Original Message -----
From: <PXGray@aol.com>
To: <assembly-86@lists.ticalc.org>
Sent: Friday, February 05, 1999 9:59 PM
Subject: A86: Sprites and the Screen


>
>Which pixel is 0,0?  On the 85 it was upper left if I recall, but PutSprite
>doesn't like me or something.  Also, in PutSprite it says Input: bc= x,y:
>Well, when I test it it turns out that bc=y,x.  Or am I completely off?
>
>-Patrick Gray
>
>