There's nothing in the ECU code for the VTC control subroutine that reads from the AFM or TPS. VTC_sub: tim #%10000000, byte_00DD beq loc_CF07 tst byte_1676 beq loc_CF76 bra loc_CF71
loc_CF07: tim #%1000, ram_FlagsA beq loc_CF76 tim #%101, ram_Flags1 bne loc_CF76 ldaa COOLANT_TEMP tim #%100000, ram_Flags0 beq loc_CF1B adda #4 loc_CF1B: cmpa rom_VTC_temp bcs loc_CF76 ldaa COOLANT_TEMP tim #%100000, ram_Flags0 beq loc_CF2D suba #5 bcc loc_CF2D clra loc_CF2D: cmpa rom_VTC_temp2 bcc loc_CF76 ldaa VEHICLE_SPEED tim #%100000, ram_Flags0 beq loc_CF3C adda #2 loc_CF3C: cmpa rom_VTC_speed bcs loc_CF76 ldaa ramRPM5scaled ldx ram_TP4 tab tim #%100000, ram_Flags0 beq loc_CF58 adda #4 bcc loc_CF53 ldaa #$FF loc_CF53: subb #4 bcc loc_CF58 clrb loc_CF58: cmpb rom_VTC_OFF_RPM bcc loc_CF76 cmpa rom_VTC_ON_RPM bcs loc_CF64 bra loc_CF71 loc_CF64: xgdx tim #%100000, ram_Flags0 beq loc_CF6C adda #$10 loc_CF6C: cmpa rom_VTC_ON_TP bcs loc_CF76 loc_CF71: oim #%100000, ram_Flags0 bra loc_CF79 loc_CF76: aim #%11011111, ram_Flags0 loc_CF79: sei ldaa ram_Flags0 staa out_Flags0Copy cli rts ; End of function VTC_sub
|