Prime's drive pricing was quite high, so there was always an aftermarket of third party vendors selling disk and tape drives (and even memory and controllers) to Prime sites.
Among other drives, EMC sold the CDC 340 MB FMD (aka 9715-340). The PRIMOS MAKE command had compiled into it the parameters of all of the disk drives Prime sold and supported. To format a disk with different geometry, it was necessary to have a customized MAKE program. These instructions describe how to use the simple debugger to "slime patch" a vanilla Prime MAKE program.
It was necessary for third party vendors to take this kind of approach, since distributing the modified program themselves would have placed them in violation of Prime's copyrights.
This file was typed into a BORIS customer machine in the Detroit area by a member of the MLS staff. The manager of BORIS Customer Service (Kevin McQueen) downloaded it from the customer site via a dialup modem. I've left the assorted logout messages, backspacing, double echo and such for flavor.
Pinout:
SLISSTLIST E MECM_)C_)\\^H^H^H^HMAKMAEK.ET.EXTETXT Hi Y'all. I have decided to type in most of the Customer portion of the CDC 340mb DRIVE INSTALLATION AND FORMATTING MANUAL FOR PRIME SYSTEMS that was supplied to us from EMC. The introduction and reference to pre-REV 19.3 is left out. Installation Instructions for CDC personel GENERAL The drive has been setup at our factory for installation onto a Prime System. The hardware has been modified to be compatible with Prime Disk Controllers, either the 4004 or 4005. Reliability testing has been performed and a Primos file system has been installed on the drive. Manufacture badspot information has also been registered in the file system. As the disk contains valuable data it SHOULD NOT BE WRITTEN ON. The delivered configuration is: 9 sectors/track internal switches set internal jumpers in place Index/Sector in "A" cable Primos file systems installed. Procedure (Ref. doc. #83324760 Hardwar Maintenance Manual) 1) Perform all necessary steps as described in section 3 of the manual. 2) It is recommended that a field test unit such as TB216A or TB2A3A be used to verify the operability of the drive. As there is valuable information on the drive, the field test unit should only be used to READ the drive. It is not necessary to either format or write to the drive. 3) Install cabling to the Prime Controller ensuring the proper orientation of the connectors. The connectors are not keyed, so it is possible to incorrectly install the connectors. 4) Install the supplied grounding cables in a "star" configuration to tie each drive individualy to the Prime controller chassis (do not "daisy- chain" ground cables from drive to drive). 5) The disk can now be "added" to Primos using the ADDISK command. The base physical device number is 6060. The controller number and unit number should be added to the base number. The disk should now be added with no errors. If errors occur, they are most likely either cabling problems, controller problems, or the disk is not online. Customer Installation Procedure. 1) Ensure that the CDC service engineers have followed the EMC supplied installation procedure. 2) The disk should, at this point, already be added the the system under the partition name TEST. 3) Create a directory in <TEST>MFD. This directory will be used to copy files into. Copy enough files into the directory to fill the partition to approximatels 20% of its capacity. 4) When the copy is complete, the disk should be shut down and FIX_DISK should be run on the partition. It should report no errors. Since the file system is REV 19.3, earlier revisions will report "information in reserved areas." This can safeley be ignored. 5) When steps 3 and 4 are successfully completed, the disk can either be used as is or re-partitioned using EMC_MAKE. EMC_MAKE is a "patched" version of the normal MAKE. Procedures are included which will enable you to create EMC_MAKE. Repartitioning the Drive The drive has been formatted and all of the manufacturer-supplied bad spots have been placed in a Primos file system partition. The partition contains 24 heads, starting at head offset 0, in other words the entire disk is on partition. To re-parition this new disk drive to your system, you must create and execute the program EMC_MAKE, which is suitable for formatting the 340 MB EMC/CDC model 9715 disk drives. This is done by altering a copy of the Prime-supplied program MAKE. This is necessary because the geometry (number of heads and number of tracks) of the drive dirrer from that of any currently supported Prime disk drives. There are 24 heads and 711 cylinders available on the EMC/CDC model 9715. There are 19 head and 823 cylinders on a standard Prime CDC 300 megabyte disk drive. The program EMC_MAKE writes the number of cylinders available on the disk as part of the formatting process. The system administrator chooses the number of heads per partition and number of partitions per drive in the usual manner under Primos using the ADDISK command. Note that there are 5 more heads available in the configuration than the standard 300 MB drive. Thus there are physical device numbers describing several possible disk organizations which are not listed in the tables of Appendix A of the System Administrator's/System Operator's Manuals. However, all the normal rules for constructing device numbers given there apply to this drive with no exceptions. Thus, to create a single partition of 24 heads the correct physical device number is 606X where X is twice the drive number. It is strongly recommended that the System Administrator be familiar with the construction of physical device numbers as described in Appendix A of the Systems Administrator's guide. Prime's MAKE has been changing slightly at each revision of Primos. Thus, the creation of EMC_MAKE differs for each. Determine which revision or MAKE you have by attempting to run the program with no arguments. Follow the instructions for your particular version of MAKE. In the following instructions BOLDFACE (in this case CAPITALS) indicates the input you must supply to create your version of EMC_MAKE. Lower case is used to explain in detail each step. The usual Prime convention of using "/*" to indicate comment fields is followed. DO NOT enter the "/*" nor anything to the right of "/*". REALCOMP'S version of MAKE is 19.3.4. /* Procedure to create EMC_MAKE for Revision 19.3 of Primos: /* revision 19.3 of MAKE ABBREV -OFF /* turn off abbreviations to avoid possible /* confusion. FILMEM ALL /* set user's segment 4000 to zeros RESTORE CMDNC0>MAKE /* substitute correct pathname if needed. PM /* obtain the program's RVEC and note PM. /* from what I can gather from the copy of these instructions the Prime will /* return the next 2 statements. SA, EA, P, A, B, X, K = /* starting address, ending address, etc. 66 34000 1000 * * * * /* which must agree with these. note: The values for A,B,X and K are site specific, and as such will vary. The values of each should be noted as they will be used in the subsequent SAVE command. If you do NOT observe the above numbers, do NOT continue. Start again. Use PSD, one of Prime's low level debuggers, to examine and alter the executable code of MAKE. Enter only the 1st upper case letter of each PSD command. If you are unfamiliar with PSD, see chapter 18-21 of the Assembly Language Programmer's Guide. PSD note: PSD has no line or character kill characters. If a mistake is made, type / and re-enter the command. "$" below is PSD's prompt character. Enter :O to display all data as octal numbers. /* confirm that we have found the correct locations and contents. $:Octal $Search 1000 34000 1465 /* Prime will return the following - thd 12340 1465 /* continue with: $Search 1000 34000 1467 /* Prime will return the following - thd 11441 1467 12341 1467 If the above 3 locations return the correct values then continue. Otherwise quit since your version of MAKE does not match the desired original file. Notify EMC. $Update 12340 1305 /* alter the necessary locations 12340 1465 1305 /* receive confirmation confirmation that it is done $Update 11441 1307 11441 1467 1307 $Update 12341 1307 12341 1467 1307 $Quit /* return to Primos command level Save the modified program under a new name. This is a new executable probram which may be retained for future use as necessary. Note identical numeric arguments returned by PM command above. SAVE EMC_MAKE 66 34000 1000 * * * * Note: Enter the Previously recorded values for A, B, X, and K. Check that the modification were successfully made by examining the differences between the original MAKE and the Modified EMC_MAKE. FILVER CMDNC0>MAKE EMC_MAKE /* Prime should return the following DIFF 000011 000364 001467 001307 DIFF 000012 000263 001465 001305 DIFF 000012 000264 001467 001307 FILES NOT EQUAL If the above numbers do not agree EXACTLY, do not execute the new program. Re-do the above steps and if there is still no agreement contact EMC. Execute the new program, using standard MAKE dialog and declaring the disk type to be SMD. DISK 6062 /* ours is 6062 or 6262 - thd ASSIGN DISK 6062 RESUME EMC_MAKE -DISK 6062 ...etc. END OF PROCEDURE TO CREATE EMC_MAKE FOR REVISION 19.3. Installation of the New Partition Into the Promos File System All of the disk partitions which are on line at any point in time constitute the Primos File System. To effectiviely utilize the new partition, it must be integrated inot the system. Integration involves defining the names in the new MFD, setting ACL's, determining the disk quotas and putting the partition into the back-up procedures. Each of these system administrator funcions are described in the Prime Documentation. THAT IS ALL I HAVE........ OK, LOL O SUPPORT (user 4) logged out Wednesday, 06 Nov 85 08:02:36. Time used: 00h 02m connect, 00m 02s CPU, 00m 01s I/O. ^H^Z NO CARRIER `Q^[hOK, WHERE Attached to <DISKA0>MFD 0 (ALL) (1060) OK, LDD <DISKA0>MFD (ALL access) 5 Files. name type rbf date/time modified ------------------------------------------------------------------------------- EMC_MAKE.TEXT dam 06 Nov 85 07:59:56 UNFRAGMENT-10/23/85.COMO dam 23 Oct 85 13:17:52 BOOT sam 21 Jun 85 11:44:56 BADSPT sam 12 Jul 84 21:41:28 DISKA0 sam 12 Jul 84 21:41:28 41 Directories. name type rbf date/time modified ------------------------------------------------------------------------------- PRIRUN dir ** invalid date ** MFD dir 06 Nov 85 07:59:56 BATCHQ dir 06 Nov 85 07:55:00 CMDNC0 dir 06 Nov 85 07:54:56 PRIMENET* dir 05 Nov 85 18:04:12 LOGREC* dir 05 Nov 85 18:04:00 SAD dir 05 Nov 85 16:50:08 PROD.SUPP dir 05 Nov 85 16:44:20 MADAVIS dir 05 Nov 85 16:34:20 --More--N OK, COPY EMC_MAKE.TEXT PROD.SUPP>KEV>== "PROD.SUPP>KEV>EMC_MAKE.TEXT" already exists, do you wish to overwrite it? Y OK, SPOOL EMC_MK^HAKE.TX^HEXT [SPOOL rev 19.4.3.Boris] PRT001 spooled, records: 6, name: EMC_MAKE.TEXT OK, SPOOL EMC_MAKE.TEXT -COPIES 5 [SPOOL rev 19.4.3.Boris] PRT002 spooled, records: 30, name: EMC_MAKE.TEXT OK, Q [SPOOL rev 19.4.3.Boris] The queue is empty. OK, BEAM -DIAL Line number omitted. Assuming line '33. ^[f`C=^C | `P=^P | `F=SendFil | `L=LF | `Q=Quit | `R=Como | ^F=StopSend | `S=CoEnd ^[g`DEnter site code: SKG ATDT106,12067573535 DIAL TONE CONNECT ] / NO CARRIER AA// DIAL TONE CONNECT ^G LOGIN PLEASE ER! DRODROPDTPDRT R ^XXTF~%^RV~ NO CARRIER `Q^[hOK, BEAM -DIAL Line number omitted. Assuming line '33. ^[f`C=^C | `P=^P | `F=SendFil | `L=LF | `Q=Quit | `R=Como | ^F=StopSend | `S=CoEnd ^[g`DEnter site code: SKG ATDT106,12067573535 DIAL TONE CONNECT ^GLOGINLOGIN? ? LOGLINOG IN SUNot found. (LOGINP) SUPPO8{2^RjFR^UT NO CARRIER ??A/A/ DIAL TONE CONNECT ^G LOGIN PLEASE ER! LOGLIONOGIO N LOGIN PLEASE ER! LOGILN OGIN Not found. (SLOGIN) UPSER! UP4l x!^Z]~??c NO CARRIER A/A/ DIAL TONE CONNECT ^G LOGIN PLE ASE ER! LOGILNOGI N Not found. (LOGIN) h ^E^KOmXv NO CARRIER A/A/ DIAL TONE CONNECT ^D&m\?u NO CARRIER `Q^[hOK, ***From PRIMOS: forced logout. KEVIN (user 3) logged out Wednesday, 06 Nov 85 08:33:52. Time used: 00h 51m connect, 00m 47s CPU, 00m 14s I/O.