Re: A86: Re: Re: Re: Z80 & new game preview
[Prev][Next][Index][Thread]
Re: A86: Re: Re: Re: Z80 & new game preview
ok, i don't understand the explaination of those tables here. also,
doesn't the divide by 4 introduce a little bit of rounding error?
-josh
On Sat, 27 Nov 1999 20:34:43 -0700 "Kirk Meyer" <kirkmeyer@bigfoot.com>
writes:
>
>*sigh* this guy's routine is faster and it even works! (i introduced a
>small
>problem when finding the absolute value too often, hehe). you will no
>longer
>need 2 tables, just one. (the one with all the squares in it). it'd be
>nice
>if this worked on gameboy also. does the gameboy have "NEG"? if it
>doesn't,
>you can change "NEG" to "DEC A\CPL" i believe.
>
>; This routine performs BC = E * L
>; D & H must point to a table of the lsb and msb of squares as
>follows:
>; .db 0*0/4,1*1/4,2*2/4,...,255*255/4
>; and then the msb's of those...
>; .db 256*256/4,...,511*511/4
>; and then the msb's of those.
___________________________________________________________________
Get the Internet just the way you want it.
Free software, free e-mail, and free Internet access for a month!
Try Juno Web: http://dl.www.juno.com/dynoget/tagj.