OK. I've spent the last week on this issue (theoretically) for wideband cars there's a point in LAMKO-LAMDSK that sets lamdiag_w=1 when no diagnostic functions are active. The value makes it to the end if there are no other <1 values from the other enrichment functions (LAMFA,LAMBT, etc). In the end lamdiag_w doesn't get MIN with 1, so it makes it as is to lamsons_w as long as it's within lamlgm and lamlgfmn and outside of LAMSOSUF and LAMSOSOF. Those 4 limits/thresolds are fine stock.
So, all that to say this: by changing the one mov line from
mov RAM_lamdiag_w, #1000h
to
mov RAM_lamdiag_w, #10C2h (15.4AFR)
We might be able to idle/cruise lean while maintaining a calibrated LALIUS
BTW, how lean can one run? LAMLGMKT/LAMLGMTM = 1.1 in my AMB ori, but I can change that.
I implemented this today on a 032HS box. changed it from 1.00 to 1.086. It gave me the lean Target AFR I was looking for. However, there were two issues.
lambas was off making my O2 regulation based off something else... i.e. I expected O2reg to be the same before and after change, but O2reg was -17% which means its cal was not changed with the edit. The edit only changes lamsons_w and doesn't address lambas which I bet O2reg uses.
Also, I didn't see any activity from LAMFA that I made sure to add back in.
So all I saw was 1.086 target execpt for inj cut off/overrun. then I saw target AFR = LASOAB.
Still working on it.
Also, I'm not happy with LAMFA only being a 8bit map. The resolution is not that great. I can't request just a hair under 14.7. The highest I can request that under 14.7 is 14.585. I can't just request 14.69 to get back to near 14.7...
edit... as I type that last statement I realize DLAMFAW is my issue with LAMFA. DLAMFAW = 0.0313 and my LAMFA delta from 1.0 is 0.0078125. Without decreasing DLAMFAW, LAMFA will not activate until LAMFA < 14.24