Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!linus!philabs!cmcl2!seismo!brl-tgr!tgr!RCONN@SIMTEL20.ARPA From: RCONN@SIMTEL20.ARPA (Rick Conn) Newsgroups: net.micro.cpm Subject: Re: Help on CP/M Find First/Find Next Message-ID: <2185@brl-tgr.ARPA> Date: Wed, 16-Oct-85 11:58:15 EDT Article-I.D.: brl-tgr.2185 Posted: Wed Oct 16 11:58:15 1985 Date-Received: Fri, 18-Oct-85 20:56:13 EDT Sender: news@brl-tgr.ARPA Lines: 12 SYSLIB contains a set of routines for directory accessing, and the source code may help in answering your questions. The DIRF routine inits a buffer area, loads a disk directory, selects a set of files from the loaded dir, selects user areas, packs the dir, and alphabetizes. DIRFS does the same, but provides information on file sizes as well (and runs slower). There are also DIRLOAD and DIRSLOAD. The source code is in the SDIR.MAC modules of SYSLIB3: on SIMTEL20. I think there are several SDIR*.MAC modules there. Rick -------