Re-compiling code

Dave Zug dzug at delanet.com
Thu Jan 25 06:44:54 GMT 2001


You can replace a single line of the code with a JSR instruction, pointing
to an open area of the prom. There, in the open area, you can firs re-type
the line who's space you used for the JSR instruction, then type in your
ammended code after that, then an RTS at the end.

This makes it so all the original code references are not even moved at all,
no thinking about shifting the pointers!

works well in a 727/730, or others where you have alot of blank area to play
in.  Be aware that if you install code inside an area that has critical
timing to it, you can mess stuff up (like comm and I/O routines)


----- Original Message -----
From: Shannen Durphey <Shannen at grolen.com>
To: <gmecm at diy-efi.org>
Sent: Wednesday, January 24, 2001 7:05 PM
Subject: Re-compiling code


> I have a binary and uncommented disassembly of an ecm's code.  I need to
> add four lines of code in one area, and I have another area where I can
> remove up to 6 lines of code.  Up till this point, I've been changing one
> or 2 lines of code which are only a few lines apart, and if there are any
> jump or branch statements in between, I've corrected them by hand.  This
> time there are large sections of code in between the changes, and I don't
> want to check everything manually.  How can I make these changes a little
> less painful?
>
> Shannen
> --------------------------------------------------------------------------
--
> To unsubscribe from gmecm, send "unsubscribe gmecm" (without the quotes)
> in the body of a message (not the subject) to majordomo at lists.diy-efi.org
>
>

----------------------------------------------------------------------------
To unsubscribe from gmecm, send "unsubscribe gmecm" (without the quotes)
in the body of a message (not the subject) to majordomo at lists.diy-efi.org




More information about the Gmecm mailing list