kRTGetJTAddress and kRTGetJTAddressA5
The operationkRTGetJTAddressreturns the address of the code that the specified function address points to in the current A5, andkRTGetJTAddressA5does the same for a specified A5 world.The
fRTParamsstructure (page B-2) used with these operations is as follows:
struct RTGetJTAddrParam { void*fJTAddr; void*fCodeAddr; }; typedef struct RTGetJTAddrParam RTGetJTAddrParam;The
- In the classic 68K runtime environment,
fJTAddris a function address. In the CFM-68K runtime environment,fJTAddris the address of a transition vector.fCodeAddrcontains the returned code address. If the segment is not loaded,fCodeAddris set to0.
kRTGetJTAddressoperation assumes the current A5 world, whileRTGetJTAddressA5lets you specify one in thefA5field of theRTPBstructure (page B-2).