Path: utzoo!attcan!uunet!husc6!huma1!fry
From: fry@huma1.HARVARD.EDU (David Fry)
Newsgroups: comp.sys.mac.programmer
Subject: Re: MemTop and MultiFinder
Message-ID: <4818@husc6.harvard.edu>
Date: 24 Jun 88 02:36:05 GMT
References: <231@hodge.UUCP> <730037@hpcilzb.HP.COM> <4817@husc6.harvard.edu>
Sender: news@husc6.harvard.edu
Reply-To: fry@huma1.UUCP (David Fry)
Organization: Harvard Math Department
Lines: 27

In article <4817@husc6.harvard.edu> fry@huma1.UUCP I write:
>In article <730037@hpcilzb.HP.COM> tedj@hpcilzb.HP.COM (Ted Johnson) writes:
>>
>>>Here's the call as a Pascal inline:
>>>
>>>FUNCTION  MFMemTop: LongInt; INLINE	$3F3C,$0016,$A88F;
>>
>>Do any of you LSC gurus out there know how to convert this to LSC?
>>
>
>pascal long MFMemTop() = 0xa88f;

Oops, that's wrong!  This is right:

#define		MFMemTopNum		0x0016

pascal long OSDispatch(short) = 0xa88f;  

long MFMemTop()
{
	return( OSDispatch(MFMemTopNum) );
}  

David Fry				fry@huma1.harvard.EDU
Department of Mathematics		fry@huma1.bitnet
Harvard University			...!harvard!huma1!fry
Cambridge, MA  02138