<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Tue, 27 Aug 1991 21:08:28 GMT
From   : portal!cup.portal.com!alpha@apple.com (Joe W Wright)
Subject: Re: Format of file $$$.SUB ??

The $$$.SUB file contains a reverse ordered list of the commands
in FOO.SUB.  For example..

In foo.sub you have cpm commands, one per line..

pip b:=a:foo.bar
era a:foo.bar
dir b:

These commands will be written, one per record, last command first, to
$$$.SUB in Function 10 format, ie..  byte 0 is the length of the command,
then the command, then a terminating nul.

06H,"DIR B:",0H
0DH,"ERA A:FOO.BAR",0H
10H,"PIP B:=A:FOO.BAR",0H

The command processor (CCP) reads the $$$.SUB file,  places the last record
in the command line buffer and removes the last record from the file.
The command is executed and the CCP reads $$$.SUB again...  until it is
empty.

Joe Wright     alpha@cup.portal.com

<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>