Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site ism780c.UUCP Path: utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!hplabs!sdcrdcf!ism780c!tim From: tim@ism780c.UUCP (Tim Smith) Newsgroups: net.micro.mac Subject: Re: Megamax C ( + a bug ) Message-ID: <1886@ism780c.UUCP> Date: Fri, 18-Apr-86 21:48:58 EST Article-I.D.: ism780c.1886 Posted: Fri Apr 18 21:48:58 1986 Date-Received: Mon, 21-Apr-86 04:23:29 EST References: <994@runx.OZ> Reply-To: tim@ism780c.UUCP (Tim Smith) Organization: Interactive Systems Corp., Santa Monica, CA Lines: 36 In article <994@runx.OZ> baron@runx.OZ (Jason Haines) writes: > >1) Has anybody taken a CODE resource from the mmlink and stripped it into > an INIT resource? It would probably be better to start with a WDEF or MDEF resource, since these won't try to use the jump table. Remember that the code produced by the compiler expects A4 to be set up so that it can find it's global variables. > >2) Has Megamax released a HFS-compatible system for C? > I just talked to them today ( 4/18/86 ). They are having some problems getting Batch to work with HFS. If one buys an update now, one will get HFS versions of everything else, and a coupon for a free upgrade to use when they get Batch to work. And now for the bug... Has anyone else had problems getting te{to,from}scrap to work? Looking at the code in the library, it looks like this has no chance whatsoever of working. For example, it seems to think the 0xAB0 is a pointer to the length of the TEScrap, whereas it appears to me that the length itself is in the word at 0xAB0. This is what it looks like from TMON, anyway, and when I write my own versions of te{to,from}scrap assuming this is true, they work, whereas the Megamax versions bomb. I asked Megamax about this, and they said that customers have called and complained about this, but when they try it, eveything works! I will send them some sample code that fails when I send for the HFS upgrade. -- Tim Smith sdcrdcf!ism780c!tim || ima!ism780!tim || ihnp4!cithep!tim