Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ihnp4!ptsfa!lll-lcc!styx!ames!cit-vax!ll-xn!rutgers!cbmvax!carolyn From: carolyn@cbmvax.UUCP Newsgroups: comp.sys.amiga Subject: Re: But what does it do? Message-ID: <1480@cbmvax.cbmvax.cbm.UUCP> Date: Mon, 2-Mar-87 20:28:44 EST Article-I.D.: cbmvax.1480 Posted: Mon Mar 2 20:28:44 1987 Date-Received: Thu, 5-Mar-87 18:58:00 EST References: <247@bacchus.MIT.EDU> Reply-To: carolyn@cbmvax.UUCP (Carolyn Scheppner CATS) Organization: Commodore Technology, West Chester, PA Lines: 31 In article <247@bacchus.MIT.EDU> wpd@athena.mit.edu (William P Doyle) writes: >1) Does anybody know what the function FindResident() does? Or, more to the > point, what it returns? It has been around since 1.1, but I can't seem to > find any mention of it. The exec function resident = FindResident(name) returns a pointer to the Resident structure of a system module. Each system library has a Resident structure near the beginning. The Resident structure is described in exec/resident.h. >2) Does anybody know what the startup code that a lot of the CLI commands have > does? I checked type, newcli and install, and they all have identical first > hunks. Those are written in BCPL so it's probably code to link themselves up with the shared BCPL global vector (run-time library). >3) What actually execute S:Startup-Sequence? I don't see this string in any of > Install, NewCLI, nor CLI. When the dos library creates its initial CLI, it causes it to read and execute the commands in the file S:startup-sequence. This is similar to the new 1.2 FROM option for the NewCLI command. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Carolyn Scheppner -- CBM >>Amiga Technical Support<< UUCP ...{allegra,caip,ihnp4,seismo}!cbmvax!carolyn PHONE 215-431-9180 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=