sorry for all the noob questions here, i think i'm getting it.
over coffee i managed to figure out some of the park/neutral and idle table selection routines,
i had a goal a while ago for my first actual code patch, trying to get p/n switch behavior in bins without the automatic trans bit set, just to enable selection between the two idle target tables. in my case, i could have 'show off the lope' as well as 'sleeper mode and/or wife is in the car' idle configurations.
it looks like there's only a single branch that checks the transmission type in that entire routine, and it seems to skip a small section of further branching if it's a manual trans:
Code:
557E F6 20 26 ldaB b_2026_b1_6spd_b6_auto
5581 C5 40 bitB #%01000000
5583 27 0C beq @87
reading the 68HC11 specs, i'm guessing i could just patch that 0x27 BEQ with 0x21 BRN, and it'll never branch.
is this a good way to skip a branch in this platform without screwing around too much? seems that way, since it would preserve the jump address, and make it a one-byte patch, right?
Bookmarks