Bruce
02-18-2005, 04:25 PM
From TGO.....
Something like this is a start:
code:-----------------------
SPKRETARD
;-----------------------------
; ; Retard ; MPH
;-----------------------------
FCB 30 ; 0
FCB 30 ; 5
FCB 30 ; 10
FCB 30 ; 15
FCB 30 ; 20
FCB 30 ; 25
FCB 30 ; 30
FCB 30 ; 35
FCB 30 ; 40
FCB 30 ; 45
FCB 30 ; 50
FCB 30 ; 55
FCB 30 ; 60
CLRA ; pre-clear Retard value
LDAB L0095 ; get current TPS
CMPB KTpsQual ; see if TPS% high enough
BLS NoRetard ; bra if TPS% < thres
LDAA L0083 ; mph*3.2
LDX #SPKRETARD ; table
JSR 2DLookup ; get retard value
;
NoRetard: ;
;
PSHA ; stack it
LDD L00BB ; SA
TSX ;
SUBB 0,X ; sub off retard
SBCA #0 ;
STD L00BB ; add save it
---------------------------------------------------
Just stick it into the bin prior to the max retard check.
RBob.
Mph Rpm KPa Tps CtsF MatF Spkf
2 2850 152 100 152 57 21.5
4 2925 158 100 152 57 21.5
4 3025 170 100 152 57 21.1
5 3150 173 95 152 57 21.5
7 3225 184 82 152 57 21.1
7 3375 194 76 152 56 21.5
****T/C starts
9 3450 203 76 152 56 19.0
11 3575 211 76 152 56 12.0
Mph Rpm KPa Tps CtsF MatF Spkf
11 3650 215 69 152 56 9.9
14 3725 223 68 152 56 12.3
16 3950 224 66 152 56 12.3
18 4050 229 64 152 55 16.9
21 4150 223 53 152 55 16.9
23 4050 222 53 152 55 19.0
26 4025 222 53 152 55 19.0
26 4075 219 50 152 54 19.0
31 4100 217 49 152 54 20.1
35 4100 211 45 152 54 20.4
35 4100 209 45 152 53 20.4
38 4100 206 45 152 53 21.1
**** T/C ends
40 4100 205 45 152 53 21.5
You can planly see that I still had some wheel spin, since the TPS drops some, but you can see the T/C working with the way the timing dropped off and then recovered. This was still early in the tuning, and I was still sorting out the timing corrections. I've since almost doubled the timing corrections.
BTW, the code *notes*, are if you're using source code.
Mix in some other code, and you wind up with a car, that sounds like it's got a miss, as you hit the launch assist, and then just disappears when the brakes are released. :)
Something like this is a start:
code:-----------------------
SPKRETARD
;-----------------------------
; ; Retard ; MPH
;-----------------------------
FCB 30 ; 0
FCB 30 ; 5
FCB 30 ; 10
FCB 30 ; 15
FCB 30 ; 20
FCB 30 ; 25
FCB 30 ; 30
FCB 30 ; 35
FCB 30 ; 40
FCB 30 ; 45
FCB 30 ; 50
FCB 30 ; 55
FCB 30 ; 60
CLRA ; pre-clear Retard value
LDAB L0095 ; get current TPS
CMPB KTpsQual ; see if TPS% high enough
BLS NoRetard ; bra if TPS% < thres
LDAA L0083 ; mph*3.2
LDX #SPKRETARD ; table
JSR 2DLookup ; get retard value
;
NoRetard: ;
;
PSHA ; stack it
LDD L00BB ; SA
TSX ;
SUBB 0,X ; sub off retard
SBCA #0 ;
STD L00BB ; add save it
---------------------------------------------------
Just stick it into the bin prior to the max retard check.
RBob.
Mph Rpm KPa Tps CtsF MatF Spkf
2 2850 152 100 152 57 21.5
4 2925 158 100 152 57 21.5
4 3025 170 100 152 57 21.1
5 3150 173 95 152 57 21.5
7 3225 184 82 152 57 21.1
7 3375 194 76 152 56 21.5
****T/C starts
9 3450 203 76 152 56 19.0
11 3575 211 76 152 56 12.0
Mph Rpm KPa Tps CtsF MatF Spkf
11 3650 215 69 152 56 9.9
14 3725 223 68 152 56 12.3
16 3950 224 66 152 56 12.3
18 4050 229 64 152 55 16.9
21 4150 223 53 152 55 16.9
23 4050 222 53 152 55 19.0
26 4025 222 53 152 55 19.0
26 4075 219 50 152 54 19.0
31 4100 217 49 152 54 20.1
35 4100 211 45 152 54 20.4
35 4100 209 45 152 53 20.4
38 4100 206 45 152 53 21.1
**** T/C ends
40 4100 205 45 152 53 21.5
You can planly see that I still had some wheel spin, since the TPS drops some, but you can see the T/C working with the way the timing dropped off and then recovered. This was still early in the tuning, and I was still sorting out the timing corrections. I've since almost doubled the timing corrections.
BTW, the code *notes*, are if you're using source code.
Mix in some other code, and you wind up with a car, that sounds like it's got a miss, as you hit the launch assist, and then just disappears when the brakes are released. :)