Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!ames!oliveb!sun!pepper!cmcmanis From: cmcmanis%pepper@Sun.COM (Chuck McManis) Newsgroups: comp.sys.amiga Subject: Re: The Director Message-ID: <88923@sun.uucp> Date: 8 Feb 89 18:22:11 GMT References: <70402UH2@PSUVM> Sender: news@sun.uucp Reply-To: cmcmanis@sun.UUCP (Chuck McManis) Organization: Sun Microsystems, Mountain View Lines: 34 In article <70402UH2@PSUVM> UH2@PSUVM.BITNET (Lee Sailer) writes: > execute rc, "echo >speak: Say this stuff, instead." > > This works, but with other problems. (1) Even though echo, run, > and execute are "resident", a brief access to SYS: occurs for each > execute. (Addbuffers solves that problem, but what is it getting > from disk??) No more memory loss, and no more fragmentation, however. For this to work, several things happen. The speak handler gets loaded from l:, the translator.library gets loaded from libs: and the narrator.device gets loaded from devs:. Additionally, execute uses C:RUN to kick off the process so if you don't have c: assigned to ram: it may cause a disk access. It is unclear to me at this time if Execute really cares if RUN is resident. >(2) This is ARP echo. After several iterations of the debug cycle, > something really surprising happens. When the Director gets to the > statement > execute rc, "echo >speak: Welcome to the vissitor" >the trace output (opt t) shows that statement, but the Amiga voice >says, "You need ARP library vs. 33" The echo command (ARP echo) will print the "You need..." message if the arp.library gets expunged from memory and either a) it can't load it from the current libs: directory, or b) there isn't enough contiguous memory to load it so the OpenLibrary() fails. Personally, I suspect the latter. Sounds like you are running right on the edge of memory availability in your system. Run perfmon (or what ever it is called, the one with the rabbit icon) and watch your memory usage to see if it drops way down. --Chuck McManis uucp: {anywhere}!sun!cmcmanis BIX: cmcmanis ARPAnet: cmcmanis@sun.com These opinions are my own and no one elses, but you knew that didn't you.