mucking around

This commit is contained in:
Elliot Nunn 2017-12-26 09:36:08 +08:00
parent 35d10f2b06
commit a2598146d1
5 changed files with 6240 additions and 0 deletions

File diff suppressed because it is too large Load Diff

Binary file not shown.

1485
StartInterstix.better Normal file

File diff suppressed because it is too large Load Diff

34
StartNativeManagers.c Normal file
View File

@ -0,0 +1,34 @@
#include <Memory.h>
#include <Types.h>
OSErr GetSharedLibrary(
unsigned char *libName,
long archType,
long options,
long *connID,
Ptr *mainAddr,
Str255 errMessage) = {0x3F3C,0x0001,0xAA5A};
void myfunc(void)
{
THz z, y;
Ptr p;
Ptr mainAddr;
Str255 scratch;
OSErr err;
z = GetZone();
y = *(THz *)0x2A6;
SetZone(y);
p = NewPtrSys(8);
if(p)
{
err = GetSharedLibrary("\pUSBFamilyExpertLib", 'pwpc', 1, (long *)(p + 4), &mainAddr, scratch);
if(!err)
{
SetZone(z);
}
}
}

BIN
StartNativeManagers.c.o Normal file

Binary file not shown.