First part of calibration/constants section:
Quote:
;================================================= ============
; EGR PARAMETERS
;================================================= ============
LD1B3 FCB 132 ; 48c/119f COOLANT FOR EGR ENABLE (L00E3 INVERSE COOLANT)
LD1B4 FCB 0 ; 0 MPH LO VSS THRESHOLD FOR EGR ENABLE
LD1B5 FCB 0 ; 0 MPH HI VSS THRESHOLD FOR EGR ENABLE
LD1B6 FCB 5 ; 2%, LO TPS FOR EGR ENABLE
LD1B7 FCB 8 ; 3%, HI TPS FOR EGR ENABLE
LD1B8 FCB 48 ; 35 Kpa MAP, LO VACUUM FOR EGR ENABLE
LD1B9 FCB 56 ; 38 Kpa MAP, HI VACUUM FOR EGR ENABLE
LD1BA FCB 255 ; 0.9960 SPARK COEF FOR EGR OFF SPARK FILTER
LD1BB FCB 16 ; 0.0625 SPARK COEF FOR EGR ON SPARK FILTER
LD1BC FCB 230 ; 0.898 EGR D.C. (duty cycle) FILTER COEF
LD1BD FCB 51 ; 19.9% D.C. (duty cycle) THRESHOLD FOR EGR ON
LD1BE FCB 254 ; 1 Kpa VACUUM THRESHOLD FOR EGR ON, (104 Kpa)
LD1BF FCB 128 ; 50% TPS HI TPS THRESHOLD FOR EGR -AFTER 50% GAIN = 0
;-----------------------------------------
;---------------------------------------------
; PERCENT EGR vs VACUUM-LOAD vs RPM
; 7 COL x 7 BLOCKS = 49 BYTES TABLE = 2.56 * EGR%
ORG $01C0 ;---------------------------------------------
LD1C0 FCB 0 ; LOAD SELECT 0 = VACUUM, 1 = MAP
ORG $01C1 ; TABLE LIMITS
LD1C1 FCB 80 ; 1000 RPM MINIMUM RPM VALUE (80 * 12.5) = 1000
LD1C2 FCB 32 ; 40 KPA MINIMUM MAP VALUE ((32 * 0.626) +20) = 40.032
LD1C3 FCB 7 ; LINES/BLOCK
;---------------------------------------------
; 1000 RPM EGR % MAP
;---------------------------------------------
LD1C4 FCB 255 ; 99.6 40
LD1C5 FCB 255 ; 99.6 50
LD1C6 FCB 255 ; 99.6 60
LD1C7 FCB 255 ; 99.6 70
LD1C8 FCB 255 ; 99.6 80
LD1C9 FCB 255 ; 99.6 90
LD1CA FCB 255 ; 99.6 100
;---------------------------------------------
; 1200 RPM EGR % MAP
;---------------------------------------------
LD1CB FCB 255 ; 99.6 40
LD1CC FCB 255 ; 99.6 50
LD1CD FCB 255 ; 99.6 60
LD1CE FCB 255 ; 99.6 70
LD1CF FCB 255 ; 99.6 80
LD1D0 FCB 255 ; 99.6 90
LD1D1 FCB 255 ; 99.6 100
;---------------------------------------------
; 1400 RPM EGR % MAP
;---------------------------------------------
LD1D2 FCB 255 ; 99.6 40
LD1D3 FCB 255 ; 99.6 50
LD1D4 FCB 255 ; 99.6 60
LD1D5 FCB 255 ; 99.6 70
LD1D6 FCB 255 ; 99.6 80
LD1D7 FCB 255 ; 99.6 90
LD1D8 FCB 255 ; 99.6 100
;---------------------------------------------
; 1600 RPM EGR % MAP
;---------------------------------------------
LD1D9 FCB 255 ; 99.6 40
LD1DA FCB 255 ; 99.6 50
LD1DB FCB 255 ; 99.6 60
LD1DC FCB 255 ; 99.6 70
LD1DD FCB 255 ; 99.6 80
LD1DE FCB 255 ; 99.6 90
LD1DF FCB 255 ; 99.6 100
;---------------------------------------------
; 1800 RPM EGR % MAP
;---------------------------------------------
LD1E0 FCB 255 ; 99.6 40
LD1E1 FCB 255 ; 99.6 50
LD1E2 FCB 255 ; 99.6 60
LD1E3 FCB 255 ; 99.6 70
LD1E4 FCB 255 ; 99.6 80
LD1E5 FCB 255 ; 99.6 90
LD1E6 FCB 255 ; 99.6 100
;---------------------------------------------
; 2200 RPM EGR % MAP
;---------------------------------------------
LD1E7 FCB 255 ; 99.6 40
LD1E8 FCB 255 ; 99.6 50
LD1E9 FCB 255 ; 99.6 60
LD1EA FCB 255 ; 99.6 70
LD1EB FCB 255 ; 99.6 80
LD1EC FCB 255 ; 99.6 90
LD1ED FCB 255 ; 99.6 100
;---------------------------------------------
; 3000 RPM EGR % MAP
;---------------------------------------------
LD1EE FCB 255 ; 99.6 40
LD1EF FCB 255 ; 99.6 50
LD1F0 FCB 255 ; 99.6 60
LD1F1 FCB 255 ; 99.6 70
LD1F2 FCB 255 ; 99.6 80
LD1F3 FCB 255 ; 99.6 90
LD1F4 FCB 255 ; 99.6 100
;---------------------------------------------
|