This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
cp-v [2019/02/12 23:22] smj |
cp-v [2020/03/13 13:57] (current) smj |
||
---|---|---|---|
Line 1: | Line 1: | ||
=====CP-V Operating System===== | =====CP-V Operating System===== | ||
- | **User commands**: | + | The CP-V User's Guide can be found at [[https:// |
- | ! is the command prompt for CP-V | + | **User commands**: |
- | CTRL-Y / ESC-Y stops a job, GO will continue it or QUIT will kill it | + | |
- | ESC-R - Reprints the current line | + | |
- | ESC-X - Deletes the current line | + | |
- | ESC-E - Toggles ' | + | |
- | FL - File List | + | |
- | LIST - a Long file list (also L) | + | |
- | COPY - COPY fid1 TO fid2 (Copies fid1 to fid2) | + | |
- | COPY fid1 INTO fid2 (Appends fid1 to fid2) | + | |
- | COPY fid to ME (this displays the contents of a file to the screen) | + | |
- | TIME - Displays the time of day | + | |
- | TELL - Try ' | + | |
- | STATUS - Shows how much time you have used | + | |
- | T - Lists the terminal line status - !T 37 will set Teletype Model 37 | + | |
- | SPLIST - Prints the spool status | + | |
- | OFF - LOGS OUT of the system while displaying a usage summary | + | |
+ | //! is the command prompt for CP-V// | ||
+ | ||ESC-Y||Stops the current job. GO will continue it or QUIT will kill it|| | ||
+ | ||ESC-R||Reprints the current line|| | ||
+ | ||ESC-X||Deletes the current line|| | ||
+ | ||ESC-E||Toggles // | ||
+ | ||COPY||Copy a file|| | ||
- | **The Editor**: | + | Examples: |
+ | |||
+ | COPY file1 TO file2 - Straight copy | ||
+ | COPY file1 INTO file2 - Appends file1 to file2 | ||
+ | COPY file1 TO ME - Displays file1 to the terminal | ||
- | E or EDIT a file | + | ||DISPLAY||Display System Status|| |
- | *TY - Type All LInes | + | ||FL||File List|| |
- | *TY0+ - Type a screen full of lines starting | + | ||LIST||Long |
- | *+ print a screen full of lines starting | + | ||T||Lists and sets the terminal line status.|| |
+ | ||TELL||Displays | ||
+ | ||TIME||Displays | ||
+ | ||SHOW||SHOW details about your account|| | ||
+ | ||STATUS||Displays how much CPU and system time you've used|| | ||
+ | ||OFF||LOGS OUT of the system while displaying a usage summary|| | ||
+ | **The Editor**:\\ | ||
- | **Languages**: | + | **NOTE**: //IN and DE modify the current file// |
+ | !E or !EDIT filename / !BUILD filename if the file doesn' | ||
+ | ||DE||DElete the current line - ex. DE6 will delete line 6|| | ||
+ | ||IN||INsert next line - ex. TY7 and then IN will insert (overwrite) at line 8.000|| | ||
+ | ||SE||SEt line - ex. SE8 will make line 8.000 the current line|| | ||
+ | ||TY||TYpe all lines|| | ||
+ | ||TY0+||TYpe a screenful of lines starting at 0|| | ||
+ | ||+||Type a screenful of lines starting at the current line|| | ||
+ | |||
+ | |||
+ | **Languages**: | ||
+ | |||
+ | AP - Assembly Language Processor\\ | ||
+ | APL - A Programming Language\\ | ||
+ | BASIC - Beginners All-Purpose Symbolic Instruction Code\\ | ||
+ | FORT - FORTRAN IV | ||
+ | F77 - FORTRAN 77\\ | ||
+ | |||
+ | **__BASIC Command Usage and Example Session__** | ||
+ | |||
+ | ||ACC||ACCesses a directory. | ||
+ | ||CAT||CATalogue the directory.|| | ||
+ | ||LIST||LIST program buffer|| | ||
+ | ||RUN||RUN program buffer|| | ||
+ | ||SAVE||SAVE a program ON FILE. Ex. //SAVE ON MYBAS//|| | ||
+ | ||SYS||SYStem quits BASIC and returns to !TEL|| | ||
+ | |||
+ | !BASIC | ||
+ | VER. C02 | ||
+ | >ACC GAMEB | ||
+ | >CAT | ||
+ | |||
+ | **ACCOUNT** | ||
+ | GAMEB | ||
+ | |||
+ | O GRAN HR:00 MO/ | ||
+ | |||
+ | C 3 18:00 02/ | ||
+ | K 7 14:00 01/ | ||
+ | C 5 18:00 02/ | ||
+ | C 2 18:00 02/ | ||
+ | C 4 18:00 02/ | ||
+ | C 2 18:00 02/ | ||
+ | C | ||
+ | C 1 18:00 02/ | ||
+ | K | ||
+ | C 5 18:00 02/ | ||
+ | C 3 18:00 02/ | ||
+ | C 6 18:00 02/ | ||
+ | C 2 18:00 02/ | ||
+ | C 2 18:00 02/ | ||
+ | C 3 18:00 02/ | ||
+ | C 8 18:00 02/ | ||
+ | K 4 10:00 12/ | ||
+ | C 2 10:00 12/ | ||
+ | K 7 15:00 01/ | ||
+ | C 5 18:00 02/ | ||
+ | C 3 18:00 02/ | ||
+ | K 2 20:00 11/ | ||
+ | C 6 18:00 02/ | ||
+ | C 2 18:00 02/ | ||
+ | C 4 18:00 02/ | ||
+ | C 4 18:00 02/ | ||
+ | C 1 18:00 02/ | ||
+ | C 4 18:00 02/ | ||
+ | |||
+ | >10 FOR I = 0 TO 10 | ||
+ | >20 PRINT I | ||
+ | >30 NEXT I | ||
+ | >40 END | ||
+ | >RUN | ||
+ | |||
+ | 17:14 MAR 10 RUNCBAA... | ||
+ | |||
+ | 0 | ||
+ | 1 | ||
+ | 2 | ||
+ | 3 | ||
+ | 4 | ||
+ | 5 | ||
+ | 6 | ||
+ | 7 | ||
+ | 8 | ||
+ | 9 | ||
+ | 10 | ||
+ | |||
+ | 40 HALT | ||
+ | |||
+ | **__FORTRAN IV Example Session__** | ||
+ | |||
+ | Using [[FORTRAN]] requires you to imagine you're using an imaginary key punch machine producing a card deck. Formatting is important. | ||
+ | |||
+ | * Putting a **C** in column 1 denotes a comment which the compiler will ignore | ||
+ | * Statement numbers can be in columns 1 - 5 | ||
+ | * Column 6 is reserved for **C** aka **TRANSFER CONTROL TO STATEMENT** | ||
+ | * Columns 7 - 55 are typically used for **STATEMENTS** | ||
+ | |||
+ | !TABS 7 | ||
+ | !FORT ME OVER # | ||
+ | EXT. FORTRAN IV, VERSION E02 | ||
+ | OPTIONS > | ||
+ | > GOTO JAIL | ||
+ | | | ||
+ | | ||
+ | | ||
+ | |||
+ | > DO 100 I=1,10 | ||
+ | > | ||
+ | > STOP | ||
+ | > END | ||
+ | |||
+ | |||
+ | |||
+ | | ||
+ | |||
+ | | ||
+ | WORDS | ||
+ | ----- | ||
+ | GENERATED CODE: 18 | ||
+ | | ||
+ | LOCAL VARIABLES: | ||
+ | | ||
+ | ----- | ||
+ | TOTAL PROGRAM: | ||
+ | |||
+ | !RUN | ||
+ | | ||
+ | ' | ||
+ | I = 1 | ||
+ | I = 2 | ||
+ | I = 3 | ||
+ | I = 4 | ||
+ | I = 5 | ||
+ | I = 6 | ||
+ | I = 7 | ||
+ | I = 8 | ||
+ | I = 9 | ||
+ | I = 10 | ||
+ | | ||
- | AP - Assembly Language Processor | ||
- | APL - A Programming Language | ||
- | BASIC - Beginners All-Purpose Symbolic Instruction Code | ||
- | FORT - FORTRAN IV (!FOR ME OVER # | ||
- | F77 - FORTRAN 77 | ||