LT1 Data Tables

Daa Wagon daawagon at yahoo.com
Fri Jun 22 03:24:44 GMT 2001


>>how the tables are -referenced

the anht hac is completely commented, and has some
subroutines 
which are identical to the LT1, like the lookup ones,
a couple 
filter subs, etc.

the anht hac is the $8d one on this page
http://www.geocities.com/MotorCity/Shop/9938/tuning/do_tune.html
    

In the LT1 t side they are called as subs, the e side
has them mostly right
in-line.

for 3d tables, the real base addr of the table is 3
bytes before the start of 
the data.  anht explains it.

   so look for 2087 instead of 208a.

5D2D	CE 20 87        L5D2D	ldX	#$2087     ;208A 
bt240_MainSpkAdvVsRPM&MAP


************************************************************
* LKUP_3D.SRC
*
* 3D Look up routine. Returns with the table value,
* (interpolated), based on 2 independent inputs.
*
* INPUTS:
* 1. R min value, (Rows)
* 2. Q min value, (Col's)
* 3. RNUM, number of Q Vals, (col's)
* in each R table
* 4. Thr 1st R table, R num entries in length
*
* 4 + RNUM secont R table
* 4 + (N-1) Nth R table
*
* CALL WITH:
* A Reg = R input, (Row arg)
* B Reg = Q input, (Coll arg)
* X Reg = Table start address
*
* RETURNS WITH:
* A Reg = F(Q,R)
*
* EXEC TIME: 257 - 264 Cycles
* SRACK REG: 9 Bytes
* CODE LENGTH: 114 BYTES
*
*
* ORG$ E353
*******************************************************
LE353: PSHY
PSHB
PSHX
SUBA 0,X ; CALC ROW ARG OFFSET, (LIMITED TO 0)
BCC LE35C
; ... ELSE
CLRA


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
----------------------------------------------------------------------------
To unsubscribe from gmecm, send "unsubscribe gmecm" (without the quotes)
in the body of a message (not the subject) to majordomo at lists.diy-efi.org




More information about the Gmecm mailing list