Results 1 to 2 of 2

Thread: PID vectors/routines

  1. #1

    PID vectors/routines

    here's some useful info:

    The PID routine vector table is stored early on in the bin. In the one i'm currently on it starts at $1F70.

    It looks like this:

    Code:
    ROM:00001F70 PIDvecs: dc.w 1
    ROM:00001F72         dc.b 2
    ROM:00001F73         dc.b 0
    ROM:00001F74         dc.l $4553A
    ROM:00001F78         dc.w 3
    ROM:00001F7A         dc.b 1
    ROM:00001F7B         dc.b 0
    ROM:00001F7C         dc.l $45500
    ROM:00001F80         dc.w 4      <= PID #
    ROM:00001F82         dc.b 0
    ROM:00001F83         dc.b 0
    ROM:00001F84         dc.l $454AA  <= routine vector
    ROM:00001F88         dc.w 5
    ROM:00001F8A         dc.b 0
    ROM:00001F8B         dc.b 0
    ROM:00001F8C         dc.l $45498
    the main things are the word (PID #) and the dword (vector). i'm sure you know what to do next to discover the variables, the A/D channels/routines, the filter routines, double check against the DTC routines etc. etc. ;D



    I count sheep in hex...

  2. #2

    Re: PID vectors/routines

    AFAIK the P101 Maf System Fail PID option is on $6BD71 for the 98 calibration and its check is 01 enabled and 00 for disabled...

    And on $6BC90 it stores the type of DTC if its 00 for A, 01 for B, 02 for C and 03 for X.