[CDG5] Process Manager
Elliot Nunn
elliotnunn at fastmail.com
Mon Dec 31 11:03:12 AWST 2018
Got it!
Things that didn't change the layout of jump table entries:
- order of EntryPoint records in .o files
- order of references made to EntryPoints
- linker version
- swearing
In the end I just trawled through the manpage for Link and tried
everything (thanks Jason). The -map option (I was using the -l option
for my link maps) apparently has a subtle side effect, and fixed my jump
table. Unfortunately there is very little segmented code for which we
have any source, so this is not exactly a transferrable skill.
Getting a perfect binary output isn't *entirely* self-indulgence on my
part. It allows us to start and patches or mods from a known-good
version of our source.
Daniel, there is actually code here to build a ProcessMgrINIT. I'll get
that working and try it out.
> On 31 Dec 2018, at 1:26 am, Daniel B-J <danielbj314 at verizon.net> wrote:
>
> Maybe when it isn't like midnight for you (your dedication is impressive), you should write a tool for working with System Files. Maybe take a known good System File, overwrite some parts of it (isn't that what an enabler does? Could do something clever there), and stick the result in a image for miniVMac to try.
More information about the cdg5
mailing list