Path: utzoo!mnetor!uunet!nuchat!sugar!schaub From: schaub@sugar.UUCP (Markus Schaub) Newsgroups: comp.sys.amiga Subject: Re: LVOs and SetFunction Message-ID: <1580@sugar.UUCP> Date: 16 Mar 88 17:12:33 GMT References: <5136@pyr.gatech.EDU> <7407@agate.BERKELEY.EDU> Organization: Sugar Land UNIX - Houston, TX Lines: 15 Summary: Modula-2, SetFunction, M2Amiga In article <7407@agate.BERKELEY.EDU>, bryce@eris (Bryce Nesbitt) writes: > C and SetFunction() don't mix well. You need to at least write an > assebly stub for the program you are SetFunction()ing. M2Amiga enables you to SetFunction without any assembly. The mechanism used to generate correct ROM calls directly by the compiler can be used here. It is basically the specification of passing parameters in registers instead of pushing them on the stack. However it is Modula-2, if you're interested in an example, let me know. -- // Markus Schaub | The Modula-2 People: // M2Amiga Developer | Interface Technologies Corp. \\ // uunet!nuchat!sugar!schaub | 3336 Richmond Ave. Suite 323 \X/ (713) 523-8422 | Houston, TX 77098