PUNCH/VERIIFY ROUTINE DESCRIPTION The Punch/Verify routine permits the reproduction of punched paper tape regard- less of format, and the veSification of the copied tape. Any number of tapes may be reproduced and verified. For verification purposes, a tape may contain up to 15,752 characters (frames) for 8K memory or 7560 characters for 4K memory. The routine is designed to operate on a configuration including 8K memory, an HP 2737A Punched Tape Reader, and an HP 2753A Tape Punch. Modification of one word in memory allows operation on a 4K memory configuration. The routine includes equipment driver subroutines for the Punched Tape Reader, and the Tape Punch. The channel assignments for these devices are specified when- ever the routine is loaded. If more than one punch or verify operation is to be per- formed, the channel assignment function of the routine can be bypassed by setting Switch 0 to 1 (up). To reassign channels the routine must be reloaded. OPERATING PROCEDURES The following procedures indicate the sequence of steps for execution of the Punch/ Verify routine: A. Load the Punch/Verify routine using the Punched Tape Reader version of the Basic Binary Loader. Note: After loading, if 4K system is being used: a. Set Switch Register to 000364. Press LOAD ADDRESS. b. Set Switch Register to 007700. Press LOAD MEMORY. B. To perform a tape reproduction operation: 1. Set Switch Register to 000100. Press LOAD ADDRESS. 2. Press RUN. 3. The computer halts with 102001 in the T-Register. Set Switches 5-0 of the Switch Register to the channel number of the Punched Tape Reader. 4. Press RUN. 5. The computer halts with 102002 in the T-Register. Set Switches 5-0 of the Switch Register to the channel number of the Tape Punch. 6. Place master tape (tape to be duplicated) in the Punched Tape Reader unit. t 7. Press RUN. t The tape in the Punched Tape Reader is copied to the Tape Punch. 8. To reproduce another master tape, set Switch 0 to 1 (up) and return to Step 6. -------------------- t A master tape is assumed to have less than 30 consecutive feed frames for a leader and should have at least six inches of feed frames as a trailer. The routine inter- prets 30 consecutive feed frames as end-of-tape. If more than 30 feed frames ap- pear consecutively anywhere on the master tape, the computer halts. To repro- duce the feed frames on the output copy, press RUN each time the computer halts. 14-1 C. To perform a tape verification operation: 1. Set Switch Register to 000200. 2. Press LOAD ADDRESS. a. If a tape reproduction operation was just completed, set Switch 0 to 1 (up) to bypass channel assignment function. b. If this is initial operation of routine, press RUN. The computer halts with 102001 in the T-Register. Set Switches 5-0 of the Switch Register to the channel number of the Punched Tape Reader. 3. Place master tape (tape previously duplicated) in the Punched Tape Reader unit. 4. Press RUN. The master tape is ready into memory. 5. The computer halts with one of the following in the T-Register: a. If the T-Register contains 102001, the entire master tape is in mem- ory. b. If the T-Register contains 102077, the length of the master tape ex- ceeds available memory. Mark the location on master tape at which reading stopped and remove the tape from Punched Tape Reader; the tape requires two or more verification operations. 6. Place tape to be verified in the Punched Tape Reader unit. 7. Set Switch 15 to 1 (up). Press RUN. 8. When the computer halts with 102002 in the T-Register, the verification operation is complete; no differences were detected. a. To verify another tape (using the same master tape), return to Step C6. b. To perform a verification operation with a new master tape (or the next portion of the current master tape), return to Step C1. 9. If the computer halts with 102055 in the T-Register, a difference has been detected between the verification tape and the master tape as stored in memory. a. To determine the nature of the discrepancy: (1) The A-Register contains the word from the tape being verified. (2) To display the corresponding word from the master file in the T- Register, set Switch Register to 000362, press LOAD ADDRESS, and press DISPLAY MEMORY. b. To continue verification of the same tape, press RUN. (If the com- puter continues to halt on 102055 for each word read, a character has probably been lost on the copy being verified.) c. To verify another tape using the same master tape: (1) Set Switch Register to 000200. Press LOAD ADDRESS. (2) Return to Step C6. d. To perform a verification operation with a new master tape, return to Step C1. 10. If the tape being verified is read through the Reader without a halt, the tape did not have sufficient trailer (30 feed frames). 14-2