Digital PDFs
Documents
Guest
Register
Log In
MAINDEC-12-D1BA-D
September 1969
12 pages
Original
0.4MB
view
download
Document:
JMP Self
Order Number:
MAINDEC-12-D1BA-D
Revision:
0
Pages:
12
Original Filename:
http://bitsavers.org/pdf/dec/pdp12/diagnostics/MAINDEC-12-D1BA-D_JMP_Self.pdf
OCR Text
ln.'!: ~1.r 1 ' .! ' ~ ... f ·" ' . ~; : .ll • i f L, ·~ i' ~·! ~i IDENTIFICATION lIIi Product Code: MAINDEC -12-01 BA Product Name: JMP"SELF Date Created: September 12, 1969 Ma in ta iner: Diagnostic Group Author: James Kelly ,, "'i COPYRIGHT©l9G9 DIGITAL EQUIPMENT CORPORATION :i : I ,'• 1·. ABSTRACT The JMP Self test is a worst case test of the core memory Read/Write gates. The program loads all of core memory from address 0240 to 7777 inclusive in bank 0 and the entire memory bank for extended memories to (JMP Self). The program types a blank character on the teletype, turns on program interrupt and jumps to the memory location to be tested in either memory bank 0 or the selected extended memory. When the program interrupt occurs, a test is made to be sure that we interrupted from the correct memory location. Any errors will be indicated by. an error halt and a message typeout, depending on the switch settings. 2. MACHINE REQUIREMENTS a. A standard PDP-5, 8, 8/S, 81, BL, 12 or Linc-8. b. An ASR-33 teletype or equivalent. c. If the PDP-5 being tested has extended memory, the CIF and CDF instructions must be compatible with the PDP-8. 2.2 Preliminary Programs All basic instruction and memory diagnostics must have been successfully run prior to attempting to run (JMP Self). 3. LOADING PROCEDURES 3. 1 Method This program must be loaded with the binary loader. If you are unfamiliar with the proper binary loading procedures, refer to the User Handbook for your computer. a. Set the teletype reader switch to FREE. b. Open the teletype reader and insert the program tape so that the arrows on the tape are visible to, and pointing toward the operator. c. Close the reader and set the reader switch to START. d • Set the teletype front pane I switch to 0 N-LI NE. e. Set the LEFT switches to n77. f. Set the RIGHT switches to 4000. g. Set the MODE switch to 8 mode. h. Depress 1/0 preset. i. Depress ST ART LS. j. When the program tape has been read in, the computer will halt. k. The ACCUMULATOR must be equal to 0000; if it is not, an error has occurred and one might try reloading the binary loader. 4. STARTING PROCEDURE a. b. c. d. e. f. g. Remove the paper tape from the teletype reader. Set the three right most switches SR9, 10, 11 to the number of the memory bank you wish to test. l.n a basic machine with no extended memory, this would be 000. Set the MODE switch to 8 mode. Depress 1/0 preset. Depress START 20. The program, when properly running, will cause the PROGRAM COUNTER and MEMORY ADDRESS register to appear to be counting up, and the ION indicator will light. NOTE: Attempting to test extended memory in a 4K machine wil I over-write the diagnostic and destroy the program. 4. l Switch Settings In general, switches 0, l, 2 allow the test engineer to select the mode of error indication, i.e. type out or error halt. The normal mode with switches 0, 1, 2 on a zero is an error halt. To modify these circumstances precede as follows: SROO = 1 SROl = 1 SR02 = 1 Suppress halt; depress continue for printout or loop Suppress typing Scope Loop on error These designated switches have an order of precedence associated with them, which is designed for maximum flexibility. In the event of an error, the first switch to be tested is switch O; if it is 0 the computer will halt at address 0063. If it is a 1, i.e. suppress halt, we test switch 1. If switch l is 0 the following "typical" error message will ensue: JMP. GOOD 0377 BAD 0357 ADDR 5357 This message is interpreted as fol lows: 1) The "GOOD" address from which the program interrupt should have occurred. other words, the address of the (JMP.) we were supposed to be performing. In 2) The 11 BAD 11 address from which the program interrupt actually occurred. 3) The 11 ADDR" number refers to the contents of the 11 good 11 or memory location under test. In this case it con be seen that bit 07 of the (JMP.) instruction was dropped caus ihg the computer to Jump Not to Itself in 0377, but rather to 0357. 4) In some coses the number under BAD will be the address GOOD + 1. This usually indicates that bit ~2 was dropped changing the JMP self to JMS self and inserting the current address + 1 into the current location. Placing the RIM loader in core memory by way of the operator console keys and switches is accomplished as follows: a. b. c. a. e. f. Set the starting address 7756 in the LEFT switches. Set the first instruction (6032) in the RIGHT switches. Press the FILL switch, then press FILL STEP. Set the next instruction (6031) in the RIGHT switches. Press the FILL STEP switch. Repeat steps d and e until all 16 instructions have been deposited. ToAead a tape in RIM format, place the tape in the reader, set the LEFT switches to the starting address 7756 of the RIM loader (not of the program being read), press the START LS key, and start the T~letype reader. BINARi FORMAT PERFORATED TAPE LOAbSR once the RIM loader is in core, place the binary loader program tape on the teletype reader and turn the reader on. set the LEFT switches to 7756, depress I/O preset with the mode switch in 8 mode, then depress START LS. The binary tape will read into core. The reader must be turned off manually as the tape reaches the end, since RIM does not stop. APPENDIX A PDP-8 MODE PERFORATED-TAPE LOADER READJN MODE LOADER The readin mode (RIM) loader is a minimum length, basic, perforated-tape program for the 33 ASR. It is initially stored in memory by manual use of the ope•ator console keys and switches. The loader is permanently stored in 18 locations of page 37. The RIM loader can only be used in conjunction with the 33ASR reader (not the high-speed perforated-tape reader). Because a tape in RIM format is, in effect, twice as long as it need be, it is suggested that the RIM loader be used only to read the binary loader when using th.e 33 ASR. (NOTE: Some PDP-12 diagnostic program tapes are in RIM format). The complete PDP-12 RIM loader (SA=7756) is as follows: ' Ab.solute Address octal Content Tag Instruction I 7756 7757 7760 7761, 7762, 7763, 7764, 7765, 7766, 6032 6031 5357 6036 7106 7006 7510 5357 7006 BEG, KCC KSF JMP-1 KRB CLL RTL RTL SPA JMP BEG+l RTL 7767, 7770, 7771, 7772, 777 3, 7774, 7775, 7776, 7777 6031 5367 6034 7420 3776 3376 5356 0 sxxx '.:'EMP, KSF JMP-1 KRS SNL DCA 1 TEMP DCA '!'EMP JMP BEG 0 JMP X z Comments /CLEAR AC AND FLAG /SKIP IF FLAG=l /LOOKING FOR CHARACTEJ /READ BUFFER /CHANNEL 8 IN ACO /CHECKING FOR LEADER /FOUND LEADER /OK, CHANNEL 7 IN LINK /READ, DO NOT CLEAR /CHECKING FOR ADDRESS /STORE CONTENT /STORE ADDRESS /NEXT WORD /TEMP STORAGE /JMF S'I'ART OF an: LOADER IJ"'rl SELi=' rJ-;~-~~ PALlil V141 23•0CT.,69 2151 PAGE 1 /JMP SELr PDP-12 /COPYR!GMT 1969, DIGITAL EQUIPMENT CORP,, MAYNAR0, MASS. /AuTMORI JAMES KELLY I /SR00•1 !NM!BIT ERROR HALT /SR01•1 INHIBIT ERROR TYPE OUT /SR02•1 SCOPE LOOP ON ERROR /THIS TEST IS DESIGNED TO TEST THE ABILITY 1or THE MEMORY ADDRESS SELECT GATES TO /SWITCM RAPIDLY BETWEEN READ CURRENT AND /WRITE CURRENT !,E, REVERSE OIRECTION1 /MEMORY LOCATIONS 0240 TMRU 7777 IN MEMORY /BANK 0 AND ALL MEMORY LOCATIONS IN THE EXTENDED /MEMORY BANKS ARE ~OAOED TO A CJMP,) CONDITION, /THE TELETYPE PRINTER FLAG IS CLEARED ANO A BLANK /CHARACTER IS TYPED OUT, IMMEDIATELY THE INTERRUPT /IS TURNED ON ANO A JUMP TO THE (JMPi> LOCATION /IS EXECUTED, UPON COMPLETION or THE TELEPRINTER /OPERATION THE COMPUTER INTERRUPTS AND A TEST /IS MADE TO BE SURE WE INTERRUPTED FROM THE /CORRECT MEMORY ADDRESS, Ir NO ERRORS OCCURRED /THE PROGRAM PROCEEOES TO TEST EACM MEMORY /LOCATION iN THE SELECTED BANK, /TO TEST ANY AMOUNT or EXTENDED MEMORY /SET SWITCHES 9,18111 TO THE BANK TO BE TESTED /ANO START THE PROGRAM AT THE BEGINNING, /SR09•EXTENOED MEMORY /SR10•EXTENOED MEMORY /SR11•£XTENDEO MEMQRY /ATTEMPTING TO TEST NON•EXISTANT MEMORY WILL /RESULT IN rALSE ERROR PRINTOUTS OR PROGRAM DESTRUCTION ·•· .: I J" ::: PALHl 5 E ~ :: :: - -: - · V141 23-0CT .. 69 2151 PAC.f 2 I 1·Hr 1 0L~nw!NG INTlRRUPT ROUTINES ~OAKS ON ~DP-5/12 I . ~1 n: n: zz. z!. . zi - : zz ~ 7 • ' ;i lZ ~ • Zl I l\/TDTA, lli!J e7 57 ~, l: ze .:.z:;i :Zi:l~0 TAD SNA TAD DCA JMP - ~ 50 .! n- •1 I 'l/TSTO, e00e ~l'.. ~ ",;;: 0 AUT0111l, 11Jli!J00 ,';: 70 K007i:l 1 00:2 11JZ:3 .:120 t2'2 TEMP, K62021 li!JZ!. ~ ;: : 7 7 K0177, 0z.:.: 5200 Z240 1714 K5200, Klll24ill 1 zz::: 0217 INTDTA•1 INTSTO PNTA /POP•5 INTERRUPT /GET POP-5 INTERRUPT /Ir ACs0 WERE IN AN 8 OR 12 /GET POP-8 INTERRUPT /STORE FOR TYPING /EXIT TC T(ST ROUTINE /INTERRUPT STORAGE DATA •10 li!Jl:: l INTDTA 1<7774' /TYPE CUT POINTER ~070 i:li:l00 6202 0177 5200 0240 7174 I /DETERMINE MEMORY f IELO I li!Jli!JUJ •20 i:lli!J2Z 76e4 START1 202: ?Z06 11Jli!J22 7llZ4 0023 0024 0025 Z_,11 3.,07 0026 1f<Hl7 1rt76 llH'J 2 7 0030 3Z37 0031 1fcl13 0032 3ill53 LAS RTL RAL AND DCA TAD TAD DCA TAD TAD DCA 111)~7 /GET BANK DATA /MOVE SR~9 1 10,11 1(0010 INTSTO JNTSTO K6201 BEGIN INTSTO K6202 CIF'1.0C•1 /SAVE F'IELO DATA /STORE fIELO DATA /F'ETCH IT /CHANGE DATA FIELD /GET fIELD DATA /CHANCE INST FIELD /STORE I /DETERMINE 1.0WER 1.lMIT or TEST I 0033 1007 li!Jl1JJ4 li!Jl1J35 1'H6 00~6 J012 TAD INTSTO SNA CLA TAI) K0240 DCA TEMP 76~0 /GET CMANGE FIELD DATA /F'IELD 0 OR EXTENDED /fIELO 0 /STORE EITHER 0000 OR 0240 I /LOAD SELECTED MEMORY BANK WITH CJMP DOT) I fl037 f(lli!J011J 0040 11012 BEGIN• 0000 TAD TEMP /CHANG[ DATA FIELD /GET LOWER LIMIT \ ~'\":-.;.-" .;.... -,; ,,-~:'.,,,.:- ;,,~~~-..J.!.)-·» _·~ ::>" .,~ . . ~~:.~~~::·::--;:~~:.~ .. _,::,.. ...;;;;,,";°i.:-.- ....... I N ...... '-' ..... a. >- ....I ....I -c I I- ....... .... I- "' "'w u.....w ' N °' '° ~ I- u 0 I .. >- >- ...J ...J J ,., .... ,_ N .... ..,. ....... > ...J .. r_ u c. t- .. <Sl ..... _J a. N N "'....,., "'........... .... .... N Q ..,. N..,. n tSl Q_ ISi I LL _J w "' Q_ :r ...., ..... "" ~ ..."·\~>. ··~' ·'<~~~:~o.. ·.· ..... ~--;'.--.:...:.~~-·•• , .... ~"':;,,;.i\~:.. /Jf'lP SELr ;,'.JP-12 PALHI .?2'43 ""'14 / ,' 4 4 1"'15 ,',> 4 5 \~ ,i 4 6 .~ ;?14 7 .?.')50 l251 .l!:152 .:'152 ':>042 i'3-'JCTw69 2151 ANO TAO lJCA l K0177 K521JZ /SAVE RELATIVE ADOHESS /ADO BASIC JMP, /STORE IT /UPDATE PG I ~:TEk /DO SOME t-CRE. !GET POINT" /RESET TALLY I Si! TALLY TALLY JMP bEGIN+3 TAO DCA liiH2 31~2 PAGE 3 • V141 TEMP TALLY I /GO TO TEST LOCATION I l052 2053 IZ054 Zl2l55 0056 6046 0000 6032 6001 5552 C!FLQC, TLS 017J017J KCC ION JMP I TALLY I IHI T TELETYPE ICMANGE l~STRUCTIO~ FIELD !CLEAR TELlPRINTER FLAG /TURN ON INTERRUPT /GO TO JMP, /TEST ROUTINE I 01?157 0060 0061 0062 fill1J63 0064 0065 0066 0067 0070 0071 6031 ~062 5053 1007 7041 1152 7641/J 5555 2152 5052 5021/J PNTA, KSF ,+2 JMP JMP CIFLOC•1 TAO INTSTO CIA TAD TAI.LY SlA Cl.A JMP I GOOF' ISl TAL.L Y JMP CifLOC START JMP /FALSE INTERRUPT? INO /YES, GO BACK !GET INT DATA /NEGATE !SUBTRACT TALLY !TEST !GOOF /UPDATE (JMP DOT) POINTER /DO AGAIN /START OVER /JMP S>: _F PAL.1fll PDP~12 Vl41 23-ocT .. 69 2151 PAGE 4 I /TYPE OUT ROUTINE I ll072 e073 02'74 0075 0076 0077 0100 0lill1 lil1212 0103 0104 iZl1iZJ5 7300 TAL.K, 1 fll lflJ 7641/J 5106 6"101 1153 3010 1410 7451/J 5Ul6 4554 5101 K62011 CLA CL.I. TAD SH CL.A JMP 62i!1 TAD DCA TAO l SNA JMP JMS 1 JMP AUT010 DA TA MESSA AUTQ10 AUTQU ,•3 iYFE ,-4 /CL.EAR ACL. /GET AUT010•1/Jlllllll/J NEVER TYPED /•eJ? /NO TYPE NUMERICS /RESTORE DATA f IELO 0 /GET POINTER /STORE IN AUTOUJ trETCH A CHARACTER /DONE YET /YES /TYPE IT /NO I /DAU TYPE OUT I 21106 21107 12111111 121111 21112 Ui3 0114 0115 ei116 0117 012111 0121 0122 "'123 J124 .ll25 2!126 21127 '1130 4:'!131 ~LS2 '1133 "134 tl135 tl136 ;,13? "140 .:1141 .., 142 Jt43 "144 t~45 "~ 41:> i" !. 4 I ,, ~?Ill 1152. 4126 101/J7 4126 1037 3114 DATA, 11111100 1552 4126 11U 4554 1161 4554 7bl1l4 7fd06 5556 00111111 3012 1017 3157 1151 3010 1"12 7004 3012 1010 7fll04 7420 513J 4!:>54 2157 5132 lfcl16 4~!:>4 5526 OCTYP1 HERE, REDO, TAD JMS TAD JMS TAO OCA 0001/J TAO I JMS TAO JMS I TAO JMS I LAS RTL JMP l 0 OCA TAO OCA TAO DCA TAD RAL. DCA TAD RAL. SNL JMP JMS I I Si!! JMP TAD JMS I JMP 1 TAl.L.Y OCTYP INTSTO OCTYP BEGIN I.,, TAI.LY OCTYP K2U TV Pt K2S.2 TYPE PNTB TEMP K7774 CNTR K111l26 AUT01121 TEMP TEMP AUT0111l REDO TYPE CN'TR HERE K0240 TYPE QCTYP /GET AOORESS /TYPE /GET ERROR /GET BANK /STORE IT /CHANGE BANKS ' • -·.'"' , _.. /-i..;..;....,.' ~.;,,:,_~.,1·~-,c ...~.,,_ .;,."""l:..::.."".;..~,_,,;•.,.i~;..:;.<;.~...,_:~.~-::.....:...;. ~;.. ~.r..~· I ;~P $"'-_;- P :P-12 0;51 Hl26 e: :>2 Vllillllll Ill·• .,..1 iZ '..., 4 iZ: ;5 Vl53 V211 ~217 ~<!26 "": 5 6 Ill: 5 7 1?'11l011l Ill: 6Z lll~12 Ill:. b 1 k-:215 1::1312 lll..115 e3211l Ill::. 62 ~:o3 Ill: o4 Ill: 6 5 0::. 66 0:67 0::.n 21171 0172 21173 21174 lll175 il!l 76 IH77 0212!12! 0201 ~21Z2 22.'3 lll211!4 0205 .212 06 2122'7 il21 21 2J2 !.1 2J2i2 21213 .n14 il215 2'216 PALl" V141 Klill26, TALLY• M[SSA1 TYPE, GOOF, PNTB, CNTR, 1026 K215, K212, Ill 0000 6046 6041 5213 7200 5611 TYPOUT, Ill TLS TSF JMP CLA JMP I 0~40 ;"PAGE 5 fiH1flllll 0302 0301 0304 0240 0240 0301 0304 0344 0322 0215 0212 0000 0215 0212 '2J607 12l317 0317 li),)li)4 2151 MF SSA TY POUT GOOFN PNTBN 0212 0215 0312 11l315 0320 0256 0215 0212 0307 0317 0317 031.14 0240 0302 0301 0304 111240 0240 0301 0304 0344 0322 0215 0212 0000 lll~56 23•0CTw69 /CR /LF IJ /M /P /, /CR /LF IG 10 10 /0 /SPACE /B /A /0 /SPACE /SPACE /A /D ID /R /CR /LF I.,,. TYPOUT I /ERROR HANDLER 21 7 "220 J221 1'222 J223 ;~ J224 J2?5 ..'2 26 •' '2? 7 1 • 2 5 2! "2 .11 J2 .12 7604 7500 7402 7004 7500 511172 7004 7700 511167 1037 3232 llJ011l0 I GOOFN1 PNT8N1 LAS SMA HLT RAL SMA JMP RAL SMA CLA JMP TAD DCA 0000 TALK PNTA+10 BEGIN ,+1 /READ SWITCHES /SR00•? /ERROR HALT /MOVE SR01 TO AClll /SR1111•? /TYPE /MOVE SR02 TO AC0 /SR02•7 !GO /GET [)(T MEM /CHANGE DATA FJELD /SET DATA f IELlJ PAL 1ftl /JMP SELF POP-12 0233 0234 0235 1152 0014 ill236 3552 0237 5052 lilll~ V141 23•0CT,..69 2151 TAD AND TAL.L. y Kill177 K5200 TAL.L.Y CIfL.OC /GET ADDRESS /SAVE RELATIVE ADDRESS /AND BASIC JUMP /STORE IT /GO TO HST TAD rJCA 1 JMP $ 'I \ \ P~GE 5-1
Home
Privacy and Data
Site structure and layout ©2025 Majenko Technologies