Welcome, Guest. Please login or register.

Author Topic: Counting on AllocVec's size memo..  (Read 13654 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Doobrey

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 1876
    • Show all replies
    • http://www.doobreynet.co.uk
Re: Counting on AllocVec's size memo..
« on: December 29, 2006, 03:13:16 PM »
Quote

Karlos wrote:
I wonder just how difficult it would be to add this value back to ptr-4 with the new system.


I was thinking the same earlier, but not I'm not 100% sure how OS4 handles the 68k->PPC library calls so this is all a wild guess.

I assume ExecSG must have a 68k jump table for compatibility with old apps( which jumps to a wrapper that does the 68k->PPC register handling and calls the PPC native function etc)
So is it just a simple matter of loading new AllocVec and FreeVec routines to memory and using SetFunction to insert them into the jump table?

Then again there's probably a major wrong assumption there somewhere, and  I could be talking outta my backside
On schedule, and suing