This is still not good
Yours inside 1.2.78:
Code: Select all
AFR_LEARN_TP_SCALE,&H7BA0,8,1,8,1,AFR learn TP scale
AFR_LEARN_RPM_SCALE,&H7BA8,8,1,8,1,AFR learn TP scale
KNOCK_LEARN_MIN_TP,&H7F74,1,1,1,1,Knock learn min TP threshold
KNOCK_LEARN_MIN_RPM,&H7EFF,1,1,1,1,Knock learn min RPM threshold
PRVR_TP_LOW,&H7FC3,1,1,1,1,PRVR TP low threshold
RPM_ENRICH,&H7600,16,1,16,1,RPM enrichment multiplier of coolant temp enrichment
O2_VOLTAGE_RHS_LOW,&H7FA0,1,1,1,10
O2_VOLTAGE_RHS_HIGH,&H7FA1,1,1,1,10
Mine:
Code: Select all
AFR_LEARN_TP_SCALE,&H7BA0,8,1,8,1,AFR learn TP scale
AFR_LEARN_RPM_SCALE,&H7BA8,8,1,8,1,AFR learn RPM scale
KNOCK_LEARN_MIN_TP,&H7F74,1,1,1,1,Knock learn min TP threshold
KNOCK_LEARN_MIN_RPM,&H7EFF,1,1,1,1,Knock learn min RPM threshold
PRVR_TP_LOW,&H7FC3,1,1,1,1,PRVR TP low threshold
RPM_ENRICH,&H7600,16,1,16,1,RPM enrichment multiplier of coolant temp enrichment
O2_VOLTAGE_LOW,&H7FA0,1,1,1,10,O2 sensor minimum rich voltage
O2_VOLTAGE_HIGH,&H7FA1,1,1,1,10,O2 sensor maximum rich voltage
Voltages are not RHS bank dedicated. Both lambda_left and lambda right are compared against these.
You can add these too:
Code: Select all
DATA:FF92 afr_const20: fcb 58 ; ...
DATA:FF92 ; O2 sensor "ready" voltage - O2 sensor won't be
DATA:FF92 ; considered unless above this V at least once
DATA:FF93 afr_const25: fcb 21 ; ...
DATA:FF93 ; O2 sensor lean voltage
Code: Select all
CODE:8C4C ldaa lambda_left ; O2 sensor voltage
CODE:8C4F cmpa afr_const20 ; O2 sensor "ready" voltage - O2 sensor won't be
CODE:8C4F ; considered unless above this V at least once
CODE:8C52 bcc loc_5993
CODE:8C52
CODE:8C54 cmpa afr_const25 ; O2 sensor lean voltage
CODE:8C57 bcs loc_5994
CODE:91B3 ldaa lambda_right ; O2 sensor voltage
CODE:91B6 cmpa afr_const20 ; O2 sensor "ready" voltage - O2 sensor won't be
CODE:91B6 ; considered unless above this V at least once
CODE:91B9 bcc loc_6069
CODE:91B9
CODE:91BB cmpa afr_const25 ; O2 sensor lean voltage
CODE:91BE bcs loc_6070
CODE:91BE
CODE:91C0 clr afr_var38
CODE:91C3 bra loc_638