Logging peak boost with a Scanmaster

BJM

Senior Member
Joined
May 25, 2001
This is probably my all time favourite patch. Since I had been spending so much time making my boost controller I wanted to be able to verify what my boost spike was without always needing a laptop.

The following patch is very short and sweet. It also assumes you have a boost sensing harness.

Basically load the current boost (updates 10 times per second), compare it to the previously stored highwater mark boost level. If its higher, replace it, if lower, branch to the end of the patch. The value is stored in spare RAM location $4E, or location of your choice.

Choose a location to Jump from.

96 14 LDAA $14 Load Boost (normally MAT reading)
91 4E CMPA $4E Compare to Max Boost
25 02 BCS $3XXX If Boost < Max then carry set, branch down 2 locations.
97 4E STAA $4E Here if boost is to be stored.
7E 3X XX JMP $3XXX Return to wherever you jumped from.

The only other thing is to modify the data stream to display the RAM location where LV8 normally is in the Scanmaster. Change location $3615 to $4E.

The RAM location resets at each key off.

The output is 0-255 digital counts. On my harness 170 counts is 17 psi and 1 psi is 5 counts so it gets easy to convert on the fly.
 
Top