On Sun, 12 Mar 2006 01:35:17 +0100, Tobias Netzel wrote: > But the swim driver is far from being complete (no write support) and > in my opinion it isn't worth the effort putting much time into getting > it to work
Still, it may be worth posting the various permutations of your porting effort so far. Perhaps someone will be able to offer a simple fix. > PortAsm replaced every 68k instruction by one or more PPC instructions > step by step. It mapped the registers into PPC registers and also > "emulated" the 68k stack in a PPC register. It added some "glue" code to > interface with the C calls. It took some hours to understand the manual > and get the file translated into a usable form. Sounds rather roundabout for only three functions. Perhaps the MMIO functions will allow all the code to remain in C? I assume you made the swim_write and swim_read macros use them? I think the code for turning off interrupts must also be changed for PowerPC. Until that's handled properly, it won't matter what code you substitute for the m68k assembly. BTW, which m68k Macs had SWIM II instead of SWIM I? ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nubus-pmac-users mailing list Nubus-pmac-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nubus-pmac-users