File CARD2.DA

Directory of image this file is from
This file as a plain text file


               M_ I_ S_ C_ E_ L_ L_ A_ N_ E_ O_ U_ S_   C_ O_ M_ M_ A_ N_ D_ S_

O D    Output Date. . . . . . .Prints system date in the form DD.MM.YY
L E    Logical Exit . . . . . . . Returns to the OS/8 keyboard monitor
L B    Logical Branch L1. . . . .Branches to L1 if -no- input from TTY
J      Jump L1. . . . . . . . Equivalent to the Logical Branch command


                   D_ I_ R_ E_ C_ T_ O_ R_ Y_   C_ O_ M_ M_ A_ N_ D_ S_

L A,E  List All [name][,E]. . .Lists all files after the one specified
L O    List Only [name]*. . . . .Verifies the existence of one FC file
O L    Only List [name]*. . . . .Verifies the existence of one DA file
L L    Library List [name]% . . . .Shows files with the same extension
L D    Library Delete name [ L1]. . .Removes a name from the directory
L Z    Library Zero dev:[length]. . Zeros directory using length given

       E  Adding the phrase ',E' will list all of the 'empties' too
       *  Omitting the name lists all files with the same extension
       %  A null extension will list all files having the same name


                     P_ R_ O_ G_ R_ A_ M_   C_ O_ M_ M_ A_ N_ D_ S_

L C    Library Call name. . . . . . . . . .Loads a program, then Quits
L G    Library Gosub name [ G1] . . . .Calls a program as a subroutine
L R    Library Run name [ L1] . . . . Loads a program and starts at L1
L N    Library Name [name]. . . . . . . . . Changes the program header
L S    Library Save name [ L1]. . . . . . . .Saves the current program

       [  G1] indicates which line or group will be called by 'L G'
       [  L1] specifies an error return, except for the L R command


                 I_ N_ P_ U_ T_ / O_ U_ T_ P_ U_ T_   C_ O_ M_ M_ A_ N_ D_ S_

O A    Output Abort [E1]. . . . .Terminates output file with length E1
O B    Output Buffer. . . . . . .Dumps buffer without closing the file
O C    Output Close [E1]. . . . Ends output, saves file with length E1
O I,E  Open Input [,Echo] . . . . . . . Selects the terminal for input
O O    Open Output. . . . . . . . . . .Selects the terminal for output
O S    Output Scope . . . . . . .Selects CRT for output (if available)
O I -  Open Input name [,E] [ L1] . . Switches input to an OS/8 device
O S -  Open Second name [,Echo] [ L1] . . .Selects a second input file
O O -  Open Output name [,Echo] [ L1] . . Initiates OS/8 (file) output
O E -  Output Everything device [,Echo] . . .Changes error/echo device
O R R  Open Restart Read [,Echo]. . . . . .Restarts from the beginning
O R I  Open Resume Input [,Echo] [ L1]. . . . . .Returns to file input
O R O  Open Resume Output [,Echo] [ L1] . . . . Returns to file output
O R S  Open Resume Second [,Echo] [ L1] . Returns to second input file

       The INPUT ECHO sends characters to the current OUTPUT device
       The OUTPUT ECHO sends characters to the current 'O E' device


                F_ I_ L_ E_ N_ A_ M_ E_   E_ X_ P_ R_ E_ S_ S_ I_ O_ N_ S_

Device and filenames may be written explicitly: RXA1:, MYSTUF, 0/123.45
Numeric parts can be computed from (expressions): DTA(N):PROG(X).(A+B)
Negative values specify single characters: F(-20/1)L(-197,.5,PI)=FILE0/3
An <OS/8 block number> can be substituted for the name: LTA1:<20/*BN+7>
Expressions in square brackets indicate the size: TINY[1], <LOC>[SIZE]


                           V_ A_ R_ I_ A_ B_ L_ E_ S_

Variable names may be any length but only the first two characters are
stored; the first character may not be an 'F'.  Both single and double
subscripts are allowed - a subscript of 0/ is assumed if none is given.
The variables !,",#,$,% and PI are protected from the ZERO command and
do not appear in table dumps.  '!' is used for double subscripting and
should be set to the number of rows in the array.  '#,$,%' are used by
FOCAL Statement Functions.  The ZVR feature permits non-zero variables
to replace any which are zero.  This includes FOR loop indices, so use
a protected variable if the index runs through zero.  Undefined or re-
placed variables are automatically set to zero before their first use.


            F_ O_ C_ A_ L_   S_ T_ A_ T_ E_ M_ E_ N_ T_  F_ U_ N_ C_ T_ I_ O_ N_ S_

F(G1,E1,E2,E3) executes line or group G1 after first setting the vari-
bles '#,$,%' to the values of E1,E2,E3 (if any).  The function returns
with the value of the last arithmetic expression processed by the sub-
routine, including line number & subscript evaluations.   For example:

8.1 S FSIN(#)/FCOS(#) is the TANGENT function = F(TAN,A) if 'TA' = 8.1
9.1 S FEXP($*FLOG(#)) computes X^Y for any value of Y using F(9.1,X,Y)



Feel free to contact me, David Gesswein djg@pdp8online.com with any questions, comments on the web site, or if you have related equipment, documentation, software etc. you are willing to part with.  I am interested in anything PDP-8 related, computers, peripherals used with them, DEC or third party, or documentation. 

PDP-8 Home Page   PDP-8 Site Map   PDP-8 Site Search