[CDG5] NanoKernel

Elliot Nunn elliotnunn at fastmail.com
Sun Dec 9 11:16:51 AWST 2018


Another question: can, and should, the dePEF change the 'lwz rtoc,
0x14(sp)' that follows cross-fragment function calls back to a 'nop'?

> On 9 Dec 2018, at 11:13 am, Elliot Nunn <elliotnunn at fastmail.com> wrote:
> 
> I really like this! All the small PEFs in 9.x are the bane of my
> existence. A simple round-trippable disassembler (which really only
> needs to support the instructions that MrC used) would be a huge help.
> Of course the sources would be great. GitHub? And -- any reason dePEF
> can't be compiled for a modern machine?
> 
>> On 3 Dec 2018, at 10:50 am, Daniel B-J <danielbj314 at verizon.net> wrote:
>> 
>>> Well, the Trampoline will replace OF RTAS with the following three libraries: RTCServicesLib, NVRAMServicesLib and PowerMgrPlugin. These are called "RTAS replacement plug-ins." I think these libraries provide the desired HW abstraction as required by the NK
>> 
>> Here are the partial disassemblies of RTCServicesLib and NVRAMServicesLib. It's interesting that they both contain the string "ThePluginDispatchTable", which is exported by a few parcel PEFs. Some undocumented plugin interface?
>> 
>> Just for fun, here is dePEF, my MPW tool to disassemble PEFs. Sadly, it's output is not build-able (it does not place csects yet) and it only disassembles PEFs which are at the start of a data fork. It will likely take a few more months of procrastination before it actually is considered adequate by my standards.
>> <NV and RTC.sit><dePEF.sit>_______________________________________________
>> cdg5 mailing list
>> cdg5 at ucc.asn.au
>> https://lists.ucc.gu.uwa.edu.au/mailman/listinfo/cdg5
> 
> _______________________________________________
> cdg5 mailing list
> cdg5 at ucc.asn.au
> https://lists.ucc.gu.uwa.edu.au/mailman/listinfo/cdg5



More information about the cdg5 mailing list