$6E ARAP - Extra Spark Table
Thread Starter
Supreme Member

Joined: Jul 1999
Posts: 1,466
Likes: 71
From: Alberta, Canada
Car: 1989 Camaro-1LE
Engine: TPI(s)
Transmission: 5 speed (MM5, MK6)
Axle/Gears: 3.45, 3.73
$6E ARAP - Extra Spark Table
Has anyone used the EXT-WB1 version of the ARAP code? I found it on GearheadEFI (http://www.gearhead-efi.com/Fuel-Inj...Information-6E). Using the matching XDF, it changed the spark table to reference up to 6400 RPM by using 400RPM increments vs. the stock version. It's still the same 17 rows, but less specific in the lower RPM.
I've searched for any history on the BIN, but no luck so far. I've also been reading the documented ARAP code to see where they would have made the change for the RPM table. My assembler days are many moons ago ... so a slow read. But on a good note, I learned a few things on how the total spark is calculated.
Sorry if this has been discussed before. Can't find it yet.
Mark.
I've searched for any history on the BIN, but no luck so far. I've also been reading the documented ARAP code to see where they would have made the change for the RPM table. My assembler days are many moons ago ... so a slow read. But on a good note, I learned a few things on how the total spark is calculated.
Sorry if this has been discussed before. Can't find it yet.
Mark.
Moderator
iTrader: (1)
Joined: Mar 2002
Posts: 18,432
Likes: 233
From: Chasing Electrons
Car: check
Engine: check
Transmission: check
Re: $6E ARAP - Extra Spark Table
Most likely changed the RPM variable that is used for the table look up. Stock code uses the L0058 variable which is ranged by every 200 RPM until 2400 RPM. Then gets changed to every 400 RPM from there on up.
Variable L0059 is every 400 RPM from start to finish. See the two lines in bold below:
RBob.
Variable L0059 is every 400 RPM from start to finish. See the two lines in bold below:
Code:
CE8E: LCE8E LDAB L0064 ; LD VAL
CE90: CMPB #208 ; 208 gms/SEC MAX FOR LK UP
CE92: BLS LCE96 ; BR IF LD VAL GT 208
CE94: LDAB #208 ; FORCE 208 GMS/SEC
;CE96: LCE96 LDAA L0058 ; RPM/12.5 & RPM/25
CE96: LCE96 LDAA L0059 ; RPM/25
CE98: JSR LF3B5 ; 3d Lk Up Routine Thread Starter
Supreme Member

Joined: Jul 1999
Posts: 1,466
Likes: 71
From: Alberta, Canada
Car: 1989 Camaro-1LE
Engine: TPI(s)
Transmission: 5 speed (MM5, MK6)
Axle/Gears: 3.45, 3.73
Re: $6E ARAP - Extra Spark Table
Most likely changed the RPM variable that is used for the table look up. Stock code uses the L0058 variable which is ranged by every 200 RPM until 2400 RPM. Then gets changed to every 400 RPM from there on up.
Variable L0059 is every 400 RPM from start to finish. See the two lines in bold below:
RBob.
Variable L0059 is every 400 RPM from start to finish. See the two lines in bold below:
Code:
CE8E: LCE8E LDAB L0064 ; LD VAL
CE90: CMPB #208 ; 208 gms/SEC MAX FOR LK UP
CE92: BLS LCE96 ; BR IF LD VAL GT 208
CE94: LDAB #208 ; FORCE 208 GMS/SEC
;CE96: LCE96 LDAA L0058 ; RPM/12.5 & RPM/25
CE96: LCE96 LDAA L0059 ; RPM/25
CE98: JSR LF3B5 ; 3d Lk Up Routine I'm reading ARAP_HAC as my source. Not sure what in it has been modified. CE96 in my code is RPM/25.
Do you have original ARAP source code?
Mark.
Moderator
iTrader: (1)
Joined: Mar 2002
Posts: 18,432
Likes: 233
From: Chasing Electrons
Car: check
Engine: check
Transmission: check
Re: $6E ARAP - Extra Spark Table
I'm using the released ARAP hac, probably the same one you are looking at. As I go through the code I correct any comments that are incorrect. Here is where the ranged RPM variable is created:
RBob.
Code:
CD59: CMPA #96 ; 2400 RPM
CD5B: BLS LCD66
CD5D: ADDD #16512
CD60: BCC LCD6D ; IF IN HI RANGE RPM/25
CD62: LDAA #255 ;
CD64: BRA LCD6D
CD66: LCD66 ASLD ; x2, (RPM.12.5)
CD67: SUBD #8064
CD6A: BCC LCD6D
CD6C: CLRA ; Else clear RPM
CD6D: LCD6D STAA L0058 ; RPM/12.5 & RPM/25 Thread
Thread Starter
Forum
Replies
Last Post
Slow 89 Iroc
DIY PROM
3
Apr 25, 2001 12:58 PM




