$58 F50 array
$58 F50 array
Anybody know what the F50 look-up array in $58 is for?
PROMgrammer calls F50 'Bias temp vs COOLTSU' (i.e. CTS at start up).
It seems to be used in closed loop code (where it is added onto whichever is the lowest of: CTS at startup and CTS), but I haven't worked through that yet (and was hoping not to have to, as I plan to always run open loop).
The standard Sunbird version of F50 is a bit weird too. I could maybe understand if the values at one end were all non-zero, and the other end all zero, but they're mixed up.
PROMgrammer calls F50 'Bias temp vs COOLTSU' (i.e. CTS at start up).
It seems to be used in closed loop code (where it is added onto whichever is the lowest of: CTS at startup and CTS), but I haven't worked through that yet (and was hoping not to have to, as I plan to always run open loop).
The standard Sunbird version of F50 is a bit weird too. I could maybe understand if the values at one end were all non-zero, and the other end all zero, but they're mixed up.
Moderator
iTrader: (1)
Joined: Mar 2002
Posts: 18,432
Likes: 233
From: Chasing Electrons
Car: check
Engine: check
Transmission: check
Re: $58 F50 array
It is a strange one, no doubt about it. The turbo GrandAm also has values that vary inconsistently. Here is what I have for the table & section of code:
RBob.
Code:
;-------------------------------
; ;
;-------------------------------
FCB 87 ; -40
FCB 71 ; -28
FCB 55 ; -16
FCB 39 ; -4
FCB 0 ; 8
FCB 63 ; 20
FCB 47 ; 32
FCB 0 ; 44
FCB 0 ; 56
FCB 0 ; 68
FCB 0 ; 80
LDC29: BRCLR L00C6;$01,LDC33 ; aldl mode 4 command
BRSET L00C7;$01,LDC5A ; aldl mode 4 command
BRA LDC12 ; bra to reset INT & variables
LDC33: BRSET L0024;$20,LDC5A ; MW2, Diagnostic Switch In ALDL Position
LDAB L009D ; su coolant, N = (C + 40) * 256/192
CMPB L0034 ; cts, linearized, default/mat on err
BLS LDC3F ;
LDAB L0034 ; cts, linearized, default/mat on err
;
LDC3F: ADDB L00F4 ; Coolant Bias for SU CTS
BCS LDC47 ;
;
CMPB L0034 ; cts, linearized, default/mat on err
BLS LDC5A ; bra if SU/CTS+bias <= current CTS
;
LDC47: BRSET L0030;$40,LDC5A ; MWAF1, Rich - Lean Flag (1 = Rich, 0 = Lean)
CMPA #128 ; cmp INT & neut
BCS LDC5A ; bra if INT < 128, removing fuel
;
BRCLR L0029;$80,LDC12 ; closed throttle flg, bra to reset INT & variab
;
LDAB L0050 ; mph * 3.2
CMPB LC657 ; 1.6 mph, mph * 3.2 thres for low spd VE% tbl
BCC LDC12 ; bra if > 1.6 mph to reset INT & variables
;
;
; test for x-cnt timeout
;
LDC5A: LDAB L0076 ; no x-cnt timer
CMPB L0077 ; x-cnt expected timeout
BLS LDC87 ;
;
BCLR L0030;$20 ; MWAF1, First Time CIL Flag
CLR L0076 ; no x-cnt timer
;
; no x-cnt, move INT Thread
Thread Starter
Forum
Replies
Last Post




