Does there exist, anywhere, a narrative or outline of the operating logic for the 99 and up PCMs.

I would like to read how the computer uses various inputs and flat file (map) lookup values and what changes what.

For example. If the knock sensor detects detonation, does it immediately go to the bad gas map or does it start rolling back on advance until the detonation ceases?

If the PCM goes to the bad gas map, are other operating parameters affected, like fuel delivery or even torque management and shift points?

Thanks,
Jim