Re: A86: 102 t-state findpixel routine


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

Re: A86: 102 t-state findpixel routine




what happens when c is something like $73?
$73 and $d7 = $53
you'd have to start the table someplace like $d7d0 or $d7f8 where all the
bits set in the first digit are also set in the third
your other one seems to be even worse because you'd have to have multiple
copies of the table

-josh

On Tue, 16 Feb 1999 21:51:29 EST HonorIam2@aol.com writes:
>
>;the start of this offset table program must be placed where
>;the second hex digit of the address is a 7, an example would be
>;somewhere before $d7ff, which is usually close to the beginning
>;of a regular TI86 asm program.  If you are not sure if it will
>;always be there when running your assembly program, copy the table
>;it to a location where the second hex digit of the address is a 7
>;and change the "ld de,Offset" to the location you moved it to.

>	ld de,Offset
>	ld a,c
>	and d
>	or e
>	ld e,a
>	ld a,(de)
>
>	ret
>
>
>.end
>
>

___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
or call Juno at (800) 654-JUNO [654-5866]