Digital PDFs
Documents
Guest
Register
Log In
DIGITAL-8-5-U
December 1965
8 pages
Original
0.2MB
view
download
Document:
digital-8-5-u-d
Order Number:
DIGITAL-8-5-U
Revision:
Pages:
8
Original Filename:
https://svn.so-much-stuff.com/svn/trunk/pdp8/src/dec/digital-8-5-u/digital-8-5-u-d.pdf
OCR Text
1. ID E NTI FlCATlO N 1.1 Dig ital-8-5-U-Sym 1.2 Binary Punch (ASR 33 or 75A) 1.3 March 1, 1965 Digital-8-5-U-Sym Page 2 2. ABS TRAC T This program provides a means of punching out information contained i n selected blocks of core memory as binary-coded tape via the ASR-33 perforated tape punch or via the high-speed punch 75A. 3. REQUIREMENTS 3.1 Storage This program occupies 75 (decimal) core memory locations. 3.3 Equipment Basic PDP-8 with standard ASR-33 or in addition the 75A high-speed punch. 7 4. USAGE 4.1 Loading This program i s loaded by means of the Binary Loader. See DEC-08-LBAA-D for a complete discussion of the Binary Loader and i t s use. 4.2 Cal Iing Sequence None. 4.3 This program cannot be called as a subroutine. Switch Settings The switch register i s used to enter initial and final addresses of blocks to be punched as well as the number of blocks to be punched. 4.4 Start Up/Entry This program i s used i n the following manner. 4.4.1 Assuming the program i s i n memory as listed i n 10.4, place the starting address 7465 i n the switch register and press the LOAD ADDRESS key. 4.4.2 Press the START key. Leader w i l l be punched and the computer w i l l halt. Set the number of blocks to be punched into the switch register and press CONTINUE. The computer w i l l halt. Set the initial address of the block to be punched into 4.4.3 the switch register and press CONTINUE. The computer w i l l halt. Set the final address of the block to be punched into the 4.4.4 switch register and press CONTINUE. \ Digita I-8-5- U-S ym Page 3 4.4.4.1 r ._ Note that the final address must be greater than the initial address. - The indicated block of data w i l l be punched. I f only one block has been called 4.4.5 for, the trailer w i l l punch and the computer w i l l halt. I f more than one block has been called for, the computer w i l l halt a t step 4.4.3 waiting for a new initial address. The second block w i l l punch following completion of steps 4.4.3 and 4.4.4, etc. 7. METHOD 7.1 Disc uss ion This i s a basic routine used to produce tapes acceptable by the Binary Loader See DEC-08-LBAA-D. Within each block, an initial address into which data i s to be loaded i s punched as the first two characters. Following the initial address, each 2-character group represents the binary contents of a computer word. A t the end of each block, a 2-character checksum i s punched. Reference to Section 11.1, Flow Chart, w i l l illustrate the computational approach. Basically data i s picked up from memory, the most significant half shifted right and punched, and the least significant half masked out and punched. /A similar process i s followed with respect to the initial address and the checksum which i s accumulated character by character as a block i s punched. 8. FORMAT 8.1 External Data See DEC-08-LBAA-D for a complete discussion of tape format. 9. EXECUTION TIME This routine i s output limited. 10. PROGRAM 10.4 Program Listing A listing of this program with BPUN located at 7465 i s as follows: 7465 7466 7300 6 026 /BIN PUNCH 75A *7465 CLA CLL BPUN, P LS /INITIAL PUNCH Digital-8-5-U-Sym Page 4 7467 7470 747 1 7472 7473 7474 7475 3366 4330 7402 7602 7041 3367 7402 7476 7477 7500 7604 3370 7402 LAS DCA IA H LT 7501 7502 7503 7504 7505 7506 7604 7001 337 1 1370 7120 4341 LAS IAC DCA FA TAD IA STL JMS B l N P 7507 7510 751 1 7512 7513 7514 7515 7516 7517 7520 752 1 7522 7523 7524 7525 7526 7527 7530 753 1 7532 1370 7041 1371 7650 5320 1770 7100 2370 5306 2367 5275 1366 7100 4341 4330 7402 5265 0000 7300 1372 7533 3373 NXBL, PUN L, PLOT, DCA CKSM JMS PLOT H LT LAS C IA DCA NB H LT TAD IA C IA TAD FA SNA CLA JMP .+5 TAD I IA c LL ISZ IA JMP PUNL ISZ NB JMP NXBL TAD CKSM c LL JMS B l N P JMS PLOT H LT JMP BPUN 0 CLA CLL TAD M212 DCA CTRl /CLEAR CHECK-SUM /GO PUNCH LEADER CODES /SET SWITCHES = NUMBER OF BLOCKS /STORE MINUS NUMBER OF BLOCKS /SET SWITCHES = INITAL ADDRESS OF /B LOCK /SET SWITCHES = FINAL ADDRESS OF /BLOC K /TO PUNCH IA AS ORIGIN /GO PUNCH WORD AS TWO LINES OF /TAPE - /AC = FA IA /WAS I T LAST WORD OF BLOCK? /IT WAS THE LAST WORD /GET WORD TO PUNCH /NOT A N ORIGIN /JUST INDEX IA /IS THERE ANOTHER BLOCK? /HANDLE NEXT BLOCK /GO PUNCH CHECK SUM /GO PUNCH TRAILER CODES /DONE /TO PUNCH 212 OCTAL LEADER /TRAILER CODES Dig ita I-8-5-U-Sym p Page 5 7534 7535 7536 7537 7540 754 1 7542 7543 7544 7545 7546 7547 7550 755 1 7552 7553 7554 7555 7556 7557 7560 756 1 7562 7563 7564 7565 7566 7567 7570 757 1 7572 7573 7574 7575 7576 7577 1374 4361 2373 5335 5730 0000 3375 1375 7012 7012 7012 0376 4361 1366 3366 1375 0377 436 1 1366 3366 574 1 0000 602 1 5362 6026 576 1 0000 0000 0000 0000 7566 0000 0200 0000 0177 0077 BINP, PUN, CKSM, NB, IA, FA/ M212, CTRl , c200 / TEMl SVf SL6, TAD C200 JMS PUN ISZ CTRl JMP .-2 JMP I PLOT 0 DCA TEMl TAD TEMl RTR RTR RTR AND SL7 JMS PUN TAD CKSM DCA CKSM TAD TEMl AND S L 6 JMS PUN TAD CKSM DCA CKSM JMP I B I N P 0 PS F JMP .-1 P LS JMP I PUN 0 0 0 0 -21 2 0 200 0 177 77 /LEADER TRAILER CODE /PUNCH C (AC) /ANOTHER L-T CODE OR NOT? /GO PUNCH ANOTHER /EXIT /FIRST TWO OCTAL DIGITS IN AC 5-1 1 /PUNCH C (AC) /LAST TWO OCTAL DIGITS IN AC 6-11 /PUNCH C (AC) /EX I T /ROUTINE TO PUNCH C (AC) /AND EXIT WITH C (AC) /UNALTERED /PUNCH I T /EX I T To use this program with the ASR-33 make the following changes:. 7466 7562 7564 6046 6041 6046 TLS TS F TLS "_ /INITIAL PUNCH /AND EXIT WITH C (AC) /PUNCH I T r' Digital-8-5-U-Sym Page 6 11. DIAGRAM 11.1 Flow Chart Note that in this diagram circles represent subroutine utilization not connectives. START INITIALIZE BPUN JMS PLOT PUNCH LEADER 1 HLT NB j NXBL I HLT STL I ENTER NUMBER OF BLOCKS . I ENTER BLOCK I A AND FA 1 11 TAD CKSM JNS BlNP I PUNCH. CHECKSUM PUNCH 2 INCREMENT CUSM JMS PLOT LO TAD I I A CLL JMP NXBL I Q JMP PUNL
Home
Privacy and Data
Site structure and layout ©2025 Majenko Technologies