WarpUp (125/442)

From:Steffen Haeuser
Date:11 Dec 99 at 22:49:20
Subject:[warpup] Re: GetMsgPPC arguement.

owner-warpup-list@haage-partner.com wrote :

Hi!

ow> Hi Sam
ow> Sam Jordan wrote this on 11-Dec-99 at 16:44:18

>-> Besides that, as mentioned by other people, you should compile the whole
>-> event handling loop for 68k. That's a quite general approach for solving
>-> context switch problems: collect several context switches into one
>-> function, then compile it for 68k.

ow> Is this possible with VBCC or do I need to do it in a seperate task?

I recommend having a look at the "MixedBinary" Example of the vbcc-WarpUP
Archive. This is an easy example of how to call 68k code from inside a
vbcc-WarpUP Executable.

Notes:

- This only works with the Warpup version, not with the PowerUP version
of the compiler :)
- You can only call 68k code from PPC Code, not PPC Code from 68k code with
vbcc
- The way you have to link such a program is quite complicated (two linking
steps... once on PPC Side, once on 68k side)
- You need to have both vbcc-WarpUP and vbcc-68k installed

Steffen Haeuser