Search the Community
Showing results for tags 'Using Kpa for spark'.
-
I am converting over to hybrid alpha-n with my MS-1 Extra setup, and have made the appropriate changes to the code to setup the spark map to use Kpa instead of TPS for load. Fueling is still done based on TPS. 8 years ago, when this mod was first made, This is how it was done for the code version "HR09C". Yes, I know this is the hi-res code...that shouldn't matter at all. The mod was initially done on "H21U" codebase. The mod needed is in red text here, and I've followed it exactly. The engine runs, but tunerstudio balks when I try to open the spark table up, saying it can't find the bins. I'm not sure where to go from here. In msns-extra.ini: #elif ALPHA_N ;tpsBins3 = array, U08, 156, [ 12], "TPS", 1.0, 0.0, 0.0, 255.0, 0 mapBins3 = array, U08, 156, [ 12], "kPa", 1.0, 0.0, 0.0, 255.0, 0 #elif ALPHA_N ;yBins = tpsBins3, tpsADC yBins = mapBins3, map In msns-extra.asm: *************************************************************************** STTABLELOOKUP: ; First, determine if in Speed-density or Alpha-N mode. If in Alpha-N ; mode, then replace the variable "kpa" with the contents of "tps". ; This will not break anything, since this check is performed again when ; multiplying MAP against the enrichments, and the SCI version of the ; variable is MAP, not kpa lda feature9_f bit #MassAirFlwb beq SD_ALPHa_N ; Are we using a MAF on pin X7? lda o2_fpadc ; Using MAF thats on pin X7 sta kpa_n bra ST_STEP_1 SD_ALPHa_N: lda config13_f1 ; Check if in speed-density or ; Aplha-N mode bit #$04 ; Use BIT instead of brset because ; outside of zero-page beq Kpa_n_Kpa ; Branch if the bit is clear lda kpa ; Alpha_N Mode sta kpa_n ; Added so as KPa can be used ; elsewhere in code bra ST_STEP_1 Kpa_n_Kpa: ; Speed Den Mode lda kpa sta kpa_n ; Added so as KPa can be used Anyone got any ideas? The guys over on MS-extra forums don't seem to give a crap about it anymore, since it's "old tech, move up to MS-2 Extra". I Will eventually upgrade...but I do not have the money to do it today.