Programming $66
Ludis Langens
ludis at cruzers.com
Fri Oct 1 08:40:30 GMT 1999
steve ravet wrote:
>
> > The 2D tables all have a three byte header. Two bytes specify an offset
> > for the two input values. The third byte specifies the number of columns.
>
> I'm not quite clear on this. From the 7748 bins I looked at I noticed
> that 2d tables all had the header and the third byte was the number of
> columns but what are the first two bytes?
"Two bytes specify an offset for the two input values."
The table lookup subroutine is called with the input values in the A and
B registers. The first two header bytes are subtracted from these
registers. Essentially, they make the first row and column correspond
to input values greater than zero.
--
Ludis Langens ludis (at) cruzers (dot) com
Mac, Fiero, & engine controller goodies: http://www.cruzers.com/~ludis/
More information about the Gmecm
mailing list