Lets look at the area we're talking about
:
Here's its original form:
**Do the RPM trim
3BAB: CE 35 6E LDX #$356E X = Fuel Trim vs. RPM (Percentage -100% to +100%)
3BAE: 96 19 LDAA $19 A = Current RPM
3BB0: C6 10 LDAB #$10 B = #$10 (lowest rpm is 400)
3BB2: 44 LSRA A = A / 2 (Make it a 9 value table, but the lowest value is now 800rpm)
-so it becomes an 8 value table
3BB3: BD FC 05 JSR $FC05 Do table lookup
3BB6: 16 TAB B = A
3BB7: 4F CLRA A = 0
3BB8: DD 91 STD $91 FuelTrim = D
**Do the TPS trim
3BBA: 96 36 LDAA $36 A = TPSIndex
3BBC: 44 LSRA A = A / 2 (Make it a 9 value table)
3BBD: CE 35 76 LDX #$3576 X = Fuel Trim vs. TPS Table
3BC0: BD FC 09 JSR $FC09 Do table lookup
3BC3: 16 TAB B = A
3BC4: 4F CLRA A = 0
3BC5: D3 91 ADDD $91 D += FuelTrim
3BC7: DD 91 STD $91 FuelTrim = D
3BC9: 96 8F LDAA $8F A = Fuel/Air Ratio in PE
3BCB: 20 5C BRA $3C29 Goto $3C29
Sorry about the formatting.
We need to change this to:
3BAB: CE 35 6E LDX #$356E X = Fuel Trim vs. RPM (Percentage -100% to +100%)
3BAE: 96 19 LDAA $19 A = Current RPM
3BB0: BD FC 09 Do 17 value table lookup
3BB3: 16 TAB B = A
3BB4: 4F CLRA A = 0
3BB5: DD 91 STD $91 FuelTrim = D
3BB7: 96 8F LDAA $8F Load PE A/F into A
3BB9: 7E 3C 29 Jump to $3C29 (or you could do a BRA here)
3BBC thru 3BCC can be zero'd out as PE vs. TPS will be deleted.
The table will start at $356E like before, but would now be a 17 value:
RPM
0
400
800
1200
1600
2000
2400
2800
3200
3600
4000
4400
4800
5200
5600
6000
6400
You could add the max percent you had in PE vs TPS to the new PE vs RPM table to make the final fuel the same, or you could just forget about it and alter PE A/F Ratio vs Coolant to be slightly richer.
I don't know if this extra resolution will gain you anything, but you never know, and it's fun playing with it anyway (the code, that is

).
Eric