#: 12656 S3/Languages
21-Oct-91 00:19:34
Sb: #12655-#OS9 Assembly
Fm: Kevin Darling 76703,4227
To: Brother Jeremy, CSJW 76477,142 (X)
It's definitely possible to someone's position-dependent code and change it to
position-independent (I had to do that for Kyum-Gai game which was written for
RSDOS)... but I don't recommend it for fun .
Basically, you have to look for anywhere that the programmer had hardcoded an
address, and change it to position-independent code (PIC). And wherever he
used the jump instruction (JMP) had to be changed to branch (LBRA). Same for
subroutine calls, of course. Some of that can be done with an editor in
global-replace mode. Some is harder to find.
I was about to say that I'd donate a copy of Leventhal's 6809 book, but looking
at my shelf, I must have loaned it out long ago :-) kev
There is 1 Reply.
|