Digital PDFs
Documents
Guest
Register
Log In
DEC-08-YXYA-D
December 1969
7 pages
Original
0.2MB
view
download
Document:
dec-08-yxya-d
Order Number:
DEC-08-YXYA-D
Revision:
Pages:
7
Original Filename:
https://svn.so-much-stuff.com/svn/trunk/pdp8/src/dec/dec-08-yxy/dec-08-yxya-d.pdf
OCR Text
ID ENTI FI'CATIO N Product Code: DEC-OS-YXYA- D (previously Digital-8-5-U- Sym) Prod ucf Name: Binary Punch (Binary Core Dump to High-Speed Teletype Punch) or Dofe: October I , 1I969 Maintenance Contact: Software Information Service BINARY PUNCH (Binary Core Dump to High-Speed or Teletype Punch) l . ABSTRACT This program provides a means of punching out information contained in selected blocks of core memory as binary-coded paper tape using the highespeed or teletype punch. 2. REQUIREMENTS 2 l Storage . This program occupies 75 (decimal) core memory locations. 2.3 Equipment Basic PDP-8, 8/5, 8/1, 8/L with standard ASR'-33 or in addition standard PC03, PP8L PP8L high-speed punch. 3. USAGE! 3.l Loading These programs are loaded by means of the Binary Loader. See Binary Loader Document DEC-OS—LBAA—D or Paper Tape System User's Guide DEC—OB—NGCC-D For a complete discussion of the Binary Loader and its use. 3 .2 Cal ling Sequence None. This program cannot be called as a suthutine. 3 .3 Switch Settings The switch register is used to enter initial and final addresses of blocks to be punched as well as the number of blocks to be punched. 3 .4 Start Up/Entry This program is used in the following manner. 3.4.l Assuming the program is in memory as listed in 7.1, place the starting address 7465 in the switch register and press the LOAD ADDRESS key. 3.4.2 Press the START key. Leader will be punched and the computer will halt. Set the number of blocks to be punched into the switch register and press CONTINUE. 3.4.3 The computer will halt. Set the initial address of the block to be punched into the switch register and press CONTINUE. 3.4.4 The computer will halt. Set the Final address of the block to be punched into the switch register and press CONTINUE. 3.4.4.1 Note that the Final address must be greater than the initial address. 3.4.5 The indicated block of data will be punched. trailer will punch and the computer will halt. ter will If only one block has been called For, the If more than one block has been called for, the compu- halt at step 3.4.3 waiting for a new initial address. The second block will punch Following completion of steps 3.4.3 and 3.4.4, etc. 4. METHOD 4 .1 Discussion This is a basic program used to produce tapes acceptable by the Binary Loader (See DEC-08-LBAA-D or DEC-08- NGCC-D) . Within each block, an initial address into which data is'to be loaded is punched as the First two characters. Following the initial address, each 2-character group represents the binary contents of a computer word. At the end of each block, a 2-character checksum is punched. Reference to Section 8.], Flow Chart, will illustrate the computational approach. Basically data is picked up from memory, the most significant halFshifted right and punched, and the least significant half masked out and punched. A similar process is followed with respect to the initial address and the checksum which is accumulated character by character as a block is punched 5 . 5 .1 . FORMAT External Data See DEC-08-LBAA-D or DEC-08- NGCC-D Fora complete discussion of tape Format. 6 . EX EC UTIO N TIME This routine is output limited. 7 . 7 .1 PROGRAM Program Listing A listing of this program with BPUN located at 7465 is as Follows: 7514 1772 TAD 7515 7122 CLL IIA IGET WORD INOT AN 7516 2372 ISZ IA 7517 5326 JMP PUNL 7522 2367 ISZ NB /IS 7521 5275 JMP NXBL /HANDLE CKSM 7522 1366 TAD 7523 7122 CLL IJUST TO PUNCH ORIGIN INDEX THERE IA ANOTHER NEXT 7524 4341 JMS BINP /GO PUNCH CHECK 7525 4332 JMS PLOT /GO PUNCH TRAILER 7526 7422 HLT 7527 5265 7532 2222 7531 7532 BLOCK? BLOCK SUM CODES IDONE JMP BPUN 7322 CLA CLL 1372 TAD M212 PLOT, /TO 212 PUNCH OCTAL LEADER ' CODES TRAILER 7533 3373 DCA CTRI 7534 1374 TAD C222 /LEADER 7535 4361 JMS PUN IPUNCH 7536 2373 ISZ CTRl [ANOTHER 7537 5335 JMP .-2 lGO JMP I TEM] 7540 5732 7541 2222 PLOT TRAILER C CODE (AC) L-T OR CODE NOT? ANOTHER PUNCH IEXIT BINP; 7542 3375 DCA 7543 1275 TED ,TEMI, 7544 7212 RTR 7545 7212 RTR 7546 7212 RTR /BIN PUNCH HIGH SPEED PUNCH (PC23: PPRL) PPRI: *7465 7465 7322 7466 6226 PLS 7467 3366 DCA CKSN /CLEAR 7472 4332 JMS PLOT /GO 7471 7422 HLT BPUN, CLA CLL PUNCH /INITIAL /SET CHECK-SUN PUNCH CODES LEADER SWITCHES=NUNBER OF BLOCKS 7472 7624 LAS 7473 7241 CIA 7474 3367 DCA NB /STORE MINUS NUMBER OF BLOCKS 7475 7422 NXBL, HLT ISET OF 7476 7624 LAS 7477 3372 DCA 75mm 7422 HLT /SET 7521 7624 7522 7221 IAC 7523 3371 DCA FA 7524 1372 TAD 1A 7525 7122 STL 7526 4341 SWITCHES=INITIAL ADDRESS BLOCK SWITCHES=FINAL OF BLOCK ITO PUNCH IA /GO PUNCH WORD OF TAPE ADDRESS LAS PUNL: JMS 7527 1372 TAD 7512 7241 CIA BINP AS ORIGIN AS TWO LINES OF BLOCK? IA 7511 1371 TAD FA /AC=FA-IA 7512 7652 SNA CLA /WAS IT LAST 7513 5322 JMP n+5 /IT WAS THE WORD LAST WORD 7547 AND @376 7 SL /FIKST AC 755% 4361 JMS PUN 7551 1366 TAD CKSM 7552 3366 vDCA CKSM 7553 1375 TAD TEMI 7554 @377 AND SL6 IPUNCH C ILAST TWO AC 7555 4361 JMS PUN 7556 1366 TAD CKSM 7557 3366 DCA CKSM 7560 5741 JMP I 7561 WDDM 7562 6021 7563 5362 JMP 7564 6626 PLS 7565 5761 JMP FUN: IKOUTINE IAND 989% CKSM: D 7567 DDQD NB: B 7579 DGQD IA: 0 7571 “EDD FA: _@ 7572 7566 M212: ‘212 7573 DDDD CTR}; 0 7574 D2QD C200; 299 7575 DEED TEMI: 0 7576 D177 SL7: 177 7577' @077 SL6: 77 PUN IN (AC) OCTAL DIGITS IN (AC) TO EXIT PUNCH WITH C C (AC) (AC) {UNALTERED /PUNCH I DIGITS IEXIT PSF 7566 7.l .2 C 0 u-l OCTAL 6-11 IPUNCH BINP TWO 5-11 IT IEXIT Teletype Punch To use fhis program with the ASR-33 Teletype make the following changes: 7466 6846 TLS /INITIAL 7:3/12i i‘l:541 7‘33F‘ /i1iwL) "FJfiQ Grim? 'TL:J /VlI£Ull L.A I'T 17 PUNCH iJl Ill (5 ({aLl) DIAGRAM 8.1 Flow Chart Note that in this diagram circles represent subroutine utilization not connectives. SYART l CLA LLL EPUN ‘NITIALIZE JMS PLOW PUNCH LE ADER ENTER NUMBER 0F BLOCKS ENTER BLOCK IA AND FA TAD LKSM ,Mg’fiifilltpw, PUNLH 7 CHECK SUM LHARACYER‘J INCRE MEMT CUSM JMS PLOT PUNCH TRAtLER TAD I IA CLL [ _J JMUI-IJHt ] |——~——~—._J L
Home
Privacy and Data
Site structure and layout ©2025 Majenko Technologies