[futurebasic] Re: [FB] FB^3 on OSX

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : September 2000 : Group Archive : Group : All Groups

From: Heather Donahue <HeatherDonahue@...>
Date: Thu, 21 Sep 2000 19:59:04 -0700
At 4:06 PM -1000 on 9/21/00, Derek Smith wrote:

>Me, Matt and a few others have ordered it, but as yet my CD hasn't
>arrived. I'm going to take a stab at carbonizing the lite runtime when it
>does arrive, and maybe from there either move down to the toolbox only or
>move up to the FBII runtime, depending on how hard the lite runtime turns
>out to be!

I looked into running some carbon routines from FB ultralite but 
couldn't access the Carbon libraries.

I did some asking around on comp.sys.mac.programmer and got the reply 
that if you link to the Interface library, you can't link to Carbon. 
I confirmed this in CodeWarrior by trying to link to both Carbon and 
Classic libraries, it didn't work.

So unless you can replace the default Interface library routines in 
the FB^3.PPC.Runtime with the appropriate Carbon calls (if supported) 
it won't work.

I don't know for sure what's required to replace some of the calls. I 
imagine Staz and Co. are working on this stuff right now.

The ones I know aren't supported in Carbon are:
CallUniversalProc
GetApplLimit
GetHandleSize
GetZone
HLockHi
InitDialogs
InitGraf
InitMenus
InitWindows
MaxApplZone
MoreMasters (not recommended)
SetApplLimit
TEInit

And those are just the ones in the runtime, not the runtime files. 
About half of these are even needed, like the Init ones.

-- 
Heather Donahue
PGP Public Key at: 
http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=HeatherDonahue@...
See X-PGP-fingerprint in headers.