Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site tikal.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!vax135!cornell!uw-beaver!tikal!bobc From: bobc@tikal.UUCP (Bob Campbell) Newsgroups: net.micro.mac Subject: Re: Coroutines needed for Macintosh! Message-ID: <252@tikal.UUCP> Date: Sun, 6-Oct-85 13:25:17 EDT Article-I.D.: tikal.252 Posted: Sun Oct 6 13:25:17 1985 Date-Received: Mon, 7-Oct-85 03:28:22 EDT References: <96900012@uiucuxc> <265@tekchips.UUCP> Reply-To: bobc@tikal.UUCP (Bob Campbell) Organization: Teltone Corp., Kirkland, WA Lines: 19 Organizatio: Teltone Corp., Kirkland, WA In article <265@tekchips.UUCP> abdali@tekchips.UUCP (Kamal Abdali) writes: >Provo, Utah. Although I haven't yet tried the public domain >ETHZ Modula-2 on a program containing coroutines, I take it for >granted that that compiler also supports coroutines. You shouldn't, as it does not support coroutines (it is a feature which can be added by rewritting the SYSTEMX module), I tried it and discovered that it produces indirect calls to HALT. This does not mean that coroutines can not be supported, but it appears that they were removed from the mac implementation as the Generic 68K compiler used the user mode stack pointer (as apposed to the supperviser), and the mac stack sniffer has to be turned off. Bob Campbell {fluke,uw-beaver}!tikal!bobc Teltone Corp. PO Box 657, 10801 -120th Avenue NE Kirkland, Washington.