Jump to content
HybridZ

Setting up Hybrid Alpha-n correctly


Xnke

Recommended Posts

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...