wpd@bacchus.UUCP (02/24/87)
Ok World, now I have some questions! 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. 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. 3) What actually execute S:Startup-Sequence? I don't see this string in any of Install, NewCLI, nor CLI. Well, these seem sort of random, but that's because they are the result of some random wanderrings of mine throught the bowels of my Amiga.
carolyn@cbmvax.UUCP (03/03/87)
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 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=