LIBRARY COMMANDS:
LIBRARY <COMMAND>[DEVICE:]<PROGRAM NAME> [LINE NUMBER] *** PS/8 DEVICE NAMES: SYS: SYSTEM DEVICE (DSK: IN DISK SYSTEM; DTA0: IN DECTAPE SYSTEM) DSK: THE DISK IN DISK SYSTEMS; DECTAPE #1 IN DECTAPE SYSTEMS ('DSK:' IS ASSUMED IF A DEVICE IS NOT SPECIFIED) DTA0: - DTA7: DECTAPE DRIVES LTA0: - LTA7: LINCTAPE DRIVES MTA0: - MTA7: MAGTAPE DRIVES PTR: HIGH SPEED READER PTP: HIGH SPEED PUNCH LPT: LINE PRINTER TTY: TERMINAL (MAY BE USED WITH OTHER DEVICES THROUGH 'ECHO') LIBRARY CALL CHISQR (LOADS PROGRAM 'CHISQR.FC' FOR USE) L C DTA3:PRGRAM (LOADS 'PRGRAM.FC' FROM DECTAPE #3) L C TEST1 (LOADS 'TEST1.FC' FROM DSK:) *LIBRARY CALL [DEVICE:]<PROGRAM NAME> LIBRARY DELETE TTEST (UNSAVES 'TTEST.FC') L D DTA7:PROG (UNSAVES 'PROG.FC' FROM DECTAPE #7) L D HOLD.FD (UNSAVES DATA FILE 'HOLD.FD') * * * THIS COMMAND CLOSES OPEN OUTPUT FILES * * * *LIBRARY DELETE [DEVICE:]<PROGRAM NAME> (ASSUMES .FC NAME EXTENSION) LIBRARY GOSUB TEXT 13.7 (LINE 13.7 OF 'TEXT.FC' BECOMES A SUBROUTINE WHICH RETURNS TO THE COMMAND FOLLOWING 'GOSUB') (WHEN A 'GOSUB' IS EXECUTED BY A NEW PROGRAM, THE NEW PROGRAM WILL BE SAVED AS 'FOCAL.TM') L G SUMSQR (TREATS ENTIRE 'SUMSQR.FC' PROGRAM AS SUBROUTINE) L G CALC 7 (TREATS GROUP 7 OF 'CALC.FC' LIKE A 'DO' SUBROUTINE) * * * THIS COMMAND CLOSES OPEN OUTPUT FILES IF GIVEN BY AN UNSAVED VERSION OF A PROGRAM * * * *LIBRARY GOSUB <PROGRAM NAME> [GROUP OR LINE NUMBER] LIBRARY LIST (LISTS FOCAL FILES SAVED ON DSK:) L L (ABBREVIATION) LIBRARY LIST DTA3: (LISTS FILES ON DTA3:) L L DTA6:TEST (STARTS LISTING WITH 'TEST.FC') (FILE LENGTH IN BLOCKS IS ALSO PRINTED; ONE BLOCK CONTAINS ABOUT 500 CHARACTERS) *LIBRARY LIST [DEVICE:][FIRST FILE NAME TO BE LISTED] (LISTS PROGRAMS AND DATA FILES WITH STANDARD NAME EXTENSIONS (.FC=PROGRAM; .FD=DATA FILES) LIBRARY RUN JOHN (LOADS 'JOHN.FC' THEN BEGINS PROGRAM EXECUTION) L R DTA2:ZONK (RUNS 'ZONK.FC' FROM DECTAPE #2) L R POP 22.81 (STARTS EXECUTING 'POP.FC' AT LINE 22.81) * * * PROGRAMS CONTAINING 'RUNS' MUST BE SAVED BEFORE EXECUTION * * * *LIBRARY RUN [DEVICE:]<PROGRAM NAME> [LINE NUMBER] (TRANSFERS EXECUTION TO NAMED PROGRAM) LIBRARY SAVE PROG (SAVES THE INDIRECT PROGRAM AS 'PROG.FC') L S DTA6:ZAAP (SAVES 'ZAAP.FC' ON DECTAPE #6) L S PRGNAM (SAVES 'PRGNAM.FC' ON DSK:) * * * OLD 'PRGNAM.FC' IS DELETED WHEN NEW 'PRGNAM.FC' IS SAVED * * * * * * THIS COMMAND CLOSES OPEN OUTPUT FILES * * * *LIBRARY SAVE [DEVICE:]<PROGRAM NAME> L E (ABBREVIATION) *LIBRARY EXIT (LEAVES FOCAL; RETURNS TO PS/8 MONITOR)



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

Mirror site if this site is slow highgate.comm.sfu.ca