Page 8 of 8

Re: P04 Custom Code

Posted: Thu Jun 19, 2025 7:07 pm
by Kdog
ProfessWRX wrote: Sun May 25, 2025 1:48 pm So get your car tuned and running on the stock os.

Then work on how to modify a WORKING bin file.
this was day 1, fixed the 2000 pcm, running a stock 2002 bin and works now no hiccups. i am having issues getting a anniversary bin as i dont have a stock bin from my car to a 2002 pcm as 01 and 02 are different because in 01 the gtp became its own car, not a trim level, aswell as the emissions laws they had to follow then 03 hit and they used a new obd2 diag procedures or something changing the compatibility as well as tap shift, and i can see 735 definitions in tiny tuner for a 2002 gtp 615 ish for a 2000 gtp and 743 for a 2002 anniversary, have good xdf's made em of the stock bins with tiny tuner or tuner pro n other things making this a rough road........ got a 2002 pcm, have i think a good 2002 bin from a anniversary car(performance orientated os,0938**** bins are spicey, compared to say a 2002 gt or gtp car. and have all but 2 "modes segments ect" flashed to pcm. no matter what ive read or done, these 2 segments never have taken a flash, and leaves it in a state of no kernal booting i believe. thanks for the input tho and as always antus thanks for any input.

Re: P04 Custom Code

Posted: Thu Jun 19, 2025 7:14 pm
by Kdog
Tyson wrote: Mon Jun 24, 2024 3:50 am This is The stock File i uploaded into my current 2002 GTP L67
going to try with this, and hopefully not need a 5th pcm to start with one that has a good kernel as non good bins have left 2 segments unflashed, with pcm showing no os info kernel or recovery mode when pcm hammer talks to it. did you do a full clone? paramater flash???? use pcm hammer?????? thx i flippin hate not having any one in town running a gtp that i know of a in minnasota thats driving or tuning a anniversary car and nerd out over what others do other than the norms. like im trying to get a 06 Lincoln navigator dash clock [(lincoln name not visible)made in china:(] with red backlight cuz Pontiac...into a unused pillar pod gauge mount and flipping love it.

Re: P04 Custom Code

Posted: Thu Jun 19, 2025 7:18 pm
by Kdog
ProfessWRX wrote: Wed Apr 16, 2025 6:09 am More Custom work. This one flashes the cruise light when KR is above a threshold. It also flashes off when cruise is engaged.
The best Mod any car can have.

Code: Select all

ROM:0006E378     sCruiseFlashHacks:                      ; CODE XREF: sDashConnectionsMaybe:loc_15052j
ROM:0006E378 018                 btst    #3,(byte_FFFF97C6).w ; Test if in cruise control
ROM:0006E37E 018                 beq.s   loc_6E390       ; Branch if not in cruise control
ROM:0006E380 018                 btst    #3,(byte_FFFF97C7).w ; Test a Bit
ROM:0006E386 018                 beq.s   loc_6E38C       ; Branch Cruise Flashing Error?
ROM:0006E388 018                 moveq   #1,d7           ; Prepare to Turn On Cruise Light
ROM:0006E38A 018                 bra.s   loc_6E38E       ; Branch to check for KR
ROM:0006E38C     ; ---------------------------------------------------------------------------
ROM:0006E38C
ROM:0006E38C     loc_6E38C:                              ; CODE XREF: sDashConnectionsMaybe+5973Cj
ROM:0006E38C 018                 moveq   #2,d7           ; Prepare to Flash cruise light for error?
ROM:0006E38E
ROM:0006E38E     loc_6E38E:                              ; CODE XREF: sDashConnectionsMaybe+59740j
ROM:0006E38E 018                 bra.s   loc_6E3B2       ; Branch Always to check for KR
ROM:0006E390     ; ---------------------------------------------------------------------------
ROM:0006E390
ROM:0006E390     loc_6E390:                              ; CODE XREF: sDashConnectionsMaybe+59734j
ROM:0006E390 018                 jsr     sDLCKnockRetard ; Check for KR
ROM:0006E396 018                 cmpi.b  #3,d0           ; Compare KR to threshold
ROM:0006E39A 018                 bls.s   loc_6E3A8       ; Branch if Low or Same to keep cruise light OFF
ROM:0006E39C 018                 moveq   #1,d7           ; Turn ON cruise light
ROM:0006E39E 018                 move.b  d7,(pCruiseStatusByte).w ; 
ROM:0006E3A2 018                 jmp     loc_15072       ; Exit
ROM:0006E3A8     ; ---------------------------------------------------------------------------
ROM:0006E3A8
ROM:0006E3A8     loc_6E3A8:                              ; CODE XREF: sDashConnectionsMaybe+59750j
ROM:0006E3A8 018                 clr.b   (pCruiseStatusByte).w ; Turn OFF cruise light
ROM:0006E3AC 018                 jmp     loc_15072       ; Exit
ROM:0006E3B2     ; ---------------------------------------------------------------------------
ROM:0006E3B2
ROM:0006E3B2     loc_6E3B2:                              ; CODE XREF: sDashConnectionsMaybe:loc_6E38Ej
ROM:0006E3B2 018                 jsr     sDLCKnockRetard ; Check for KR
ROM:0006E3B8 018                 cmpi.b  #3,d0           ; Compare KR to threshold
ROM:0006E3BC 018                 bls.s   loc_6E3C8       ; Branch if Low or Same to leave cruise light as is (OEM)
ROM:0006E3BE 018                 clr.b   (pCruiseStatusByte).w ; Turn OFF cruise light when KR > and cruise control is active
ROM:0006E3C2 018                 jmp     loc_15072       ; Exit
ROM:0006E3C8     ; ---------------------------------------------------------------------------
ROM:0006E3C8
ROM:0006E3C8     loc_6E3C8:                              ; CODE XREF: sDashConnectionsMaybe+59772j
ROM:0006E3C8 018                 move.b  d7,(pCruiseStatusByte).w ; Leave OEM control of Cruise light function
ROM:0006E3CC 018                 jmp     loc_15072       ; Exit
ROM:0006E3CC     ; END OF FUNCTION CHUNK FOR sDashConnectionsMaybe
i have a switch and atleast the 2002 non 40th binz, have it in the bin, and my in cab tuner can show me the status (0 or 1) of the state of the trans as far as ps on or off. not sure how to implement anyway