DIY PROMDo It Yourself PROM chip burning help. No PROM begging. No PROMs for sale. No commercial exchange. Not a referral service.
Welcome to ThirdGen.org!
Welcome to ThirdGen.org.
You are currently viewing our forum as a guest, which gives you limited access to view most discussions and access our other features. By joining our community, at no cost, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is free, fast and simple, join the ThirdGen.org community today!
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.
This ad is not displayed to registered members. Register your free account today and become a member on ThirdGen!
Last edited by dimented24x7; 02-12-2006 at 09:13 PM.
Sponsored Links
Registered users do not see this ad. Click here to register for free!
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.