OCT, 24, 1984 CPMRSX is a RSX - version of the program CPMDEC, used in RT-11 environment. The original version is included as CPMDEC.FOR. So also read CPMDEC.DOC, which is the original description of this program. Required: RSX-11M (V3.2 was used) and FORTRAN-compiler. To get the program to work, edit the files: CPMRSX.CMD and CPMRSX.TKB to match your system-configuration. The program was compiled with F4P V3.0 without errors. Since F4P-lib is not the default library in our system, we have to link in this way. ( See CPMRSX.TKB) With FOR V02.2-5 the compilation gave 3 warnings, which we do not understand, but the program was working properly. ***** restriction 1: The following commands of CPMDEC are tested and working in CPMRSX: 1 display CP/M directory 2 print (SPOOL) CP/M directory 3 copy a file from CP/M disk 4 copy all files from CP/M disk 9 quit All others are not testet, or are not working properly. If you need those - go to work. ( May be CPMDEC.FOR will be helpfull, this is the original program.) ##### improvement 1 Using the command 3, you will be able to use '*' as a wildcard, the same way you are used to it from RSX. ***** restriction 2 Since RT-11 and RSX use different file-formats, this program changes the format, when ASCII-mode is used. The different I/O structure of FORTRAN makes it necessary, to send an additional blank at the beginning of each line. This blank is ncessary to print without loosing the first character in the line. EDI will show you these blanks. The case, you want to get rid of this, you may use the following procedure: EDI your file, using MACRO of EDI: EDI file MACRO 1 F C / //M ! watch, there are 2 blanks after F V OFF ! switch VERIFY off M ! execute the macro It may be necessary, to do this several times, getting the next page with REN. When you print this file, the first character in each line is not printed, due to the flag in the file-header, that this file is a FORTRAN-generated file. To change this, use EDI: EDI newfile Change from INPUT-mode to command mode OP file ! open secondary file SS ! select secondary file PAG 1 ! read all pages CLOSES ! clos secondary file SP ! select primary file ED ! exit EDI This newfile will be in the correct form! ***** programming style The work of implementing CPMDEC into RSX was done in a hurry. By this the neat and clean way of programming, done by RUSS BAKKE has gone lost. That's a pitty, but there was not the time, to do cosmetic corrections or anything more, than we needed. ***** problems ? In the case, you are running into problems, please try, if we can help you. The address is: Dr. Hartmut Kreyling Institut fuer Kernphysik der Universitaet Frankfurt am Main August Euler Strasse 6 6000 Frankfurt/Main 90 Tel.: 069 798 4260 or 069 798 4238 2