DIY PROM Do It Yourself PROM chip burning help. No PROM begging. No PROMs for sale. No commercial exchange. Not a referral service.

patch method demo

Thread Tools
 
Search this Thread
 
Old 02-12-2006, 08:09 PM
  #51  
Supreme Member

iTrader: (2)
 
dimented24x7's Avatar
 
Join Date: Jan 2002
Location: Moorestown, NJ
Posts: 9,962
Likes: 0
Received 3 Likes on 3 Posts
Car: 88 Camaro SC
Engine: SFI'd 350
Transmission: TKO 500
Axle/Gears: 9-bolt w/ 3.23's
Originally posted by ryan.h
Okay, new question... I have the code I need.

Code:
ldaa	#0x00				;select channel 00
jsr	LF642				;DO MUX READ
staa	L01DE 			;store value in stack
I picked the memory location as above...

An ALDL address that was pointing to a redundant TPS A/D raw count will be changed to this stack value. (Who needs TPS% AND TPS raw?) Now, changing that address using the patch method is simple enough. BUT, when you have new code like above, that you need to add to the program loop....

How do you do it? I'm guessing I have to disassemble the whole binary, stick that in the main loop, and assemble it. I HOPE that's not the case, because I have had extreme difficulty just disassembling the stupid binary.

The point of the patch is so that you can just overwrite the stock code with what you have in the binary without any extra work. Your simply just grafting your stuff over the stock binary in the bin. Use the ORG command to set where the commands are to go, assemble, and add it in to the stock bin.

Also be very careful where you put stuff. 99.9% of the stock addresses are in use and needed by the stock code. The raw TPS may be the actual TPS value thats stored from the A/D read. In that case, most, if not all other TPS values may be based off it.

Last edited by dimented24x7; 02-12-2006 at 08:13 PM.
Old 02-12-2006, 08:23 PM
  #52  
Member
iTrader: (2)
 
ryan.h's Avatar
 
Join Date: Jun 2002
Posts: 248
Likes: 0
Received 0 Likes on 0 Posts
Yes, I was referring to changing the ALDL datastream output byte from the (redundant) TPS address to my new value's address. I wouldn't be changing any actual TPS values.
Old 02-12-2006, 10:22 PM
  #53  
Supreme Member

iTrader: (2)
 
dimented24x7's Avatar
 
Join Date: Jan 2002
Location: Moorestown, NJ
Posts: 9,962
Likes: 0
Received 3 Likes on 3 Posts
Car: 88 Camaro SC
Engine: SFI'd 350
Transmission: TKO 500
Axle/Gears: 9-bolt w/ 3.23's
Oh... My bad. Read right over that part.
Old 01-31-2013, 03:17 PM
  #54  
Junior Member
 
Steven Flores's Avatar
 
Join Date: Jul 2012
Location: tacoma washington
Posts: 4
Likes: 0
Received 0 Likes on 0 Posts
Car: 1990 camaro rs
Engine: 305 tbi-slug
Transmission: automatic 4spd
Re: patch method demo

so is there anybody that will patch the 8746ecm for code 43 forced knock test for $$ rbob perhaps? you seem to be the MAN here......i am just a lamen compared to you guys. i was going to try it myself but when i dl the zip file at the top my pc wasnt compatible to run the applications.would rather pay someone to patch it for me.
Old 01-31-2013, 03:24 PM
  #55  
Moderator

Thread Starter
iTrader: (1)
 
RBob's Avatar
 
Join Date: Mar 2002
Location: Chasing Electrons
Posts: 18,406
Likes: 0
Received 216 Likes on 202 Posts
Car: check
Engine: check
Transmission: check
Re: patch method demo

The S19_pat utility is the issue, it won't run correctly on the newer/older Windows O/S's. I have ported it to WIN32 console mode a while ago. I'll attach the new version here as a zip file. Note that it has a trailing underscore ('_') to differentiate it from the DOS version.

RBob.
Attached Files
File Type: zip
s19_pat_.zip (19.0 KB, 35 views)
Old 01-31-2013, 03:37 PM
  #56  
Junior Member
 
Steven Flores's Avatar
 
Join Date: Jul 2012
Location: tacoma washington
Posts: 4
Likes: 0
Received 0 Likes on 0 Posts
Car: 1990 camaro rs
Engine: 305 tbi-slug
Transmission: automatic 4spd
Re: patch method demo

why thank you sir i will give it a go.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Elephantismo
Electronics
14
02-13-2019 12:51 AM
RS Reaper
Electronics
4
10-17-2018 07:52 PM
RedLeader289
Electronics
6
09-23-2015 06:50 AM
64Chief
Transmissions and Drivetrain
4
09-12-2015 08:05 AM
dimented24x7
Tech / General Engine
4
09-06-2015 03:51 PM



Quick Reply: patch method demo



All times are GMT -5. The time now is 04:00 AM.