Re: A82: FIND_PIXEL
[Prev][Next][Index][Thread]
Re: A82: FIND_PIXEL
This is because some routines switch the y coordinate and some don't. There
is a very good explanation of this in Jimmy Mardell's ZShell School
~Adamman
In a message dated 98-09-17 20:29:05 EDT, you write:
> >> What would cause the standard FIND_PIXEL routine to display
> >> upside down? Its very strange, but when I replaced a FIND_PIXEL
> >> 83 routine with the actual ROM call in PJ 82, everything turned
> >> upside. I need to know a solution because the 83 way causes a
> >> bad bug.
> >
> >the standard FIND_PIXEL routine uses (0,0) as the bottom left, not
> >the top left as you might expect.
> >
> >~Adamman
>
>
> Yeah, I've noticed this change in the Row/Col in this way also, and
> it confused the hell out of me for like a couple of days...
>
> The sprite routines, text, But the pixle and line routines,
> and other stuff use: and other stuff use:
>
> (0,0)----------(95,0) (0,63)--------(95,63)
> | | | |
> | | | |
> | | | |
> (0, 63)-------(95,63) (0,0)----------(95,0)
>
> Am I right to think this? Someone clarify those for me and other people
> and tell us which routine use what... thanks. =)
> --Jason K.