Digital PDFs
Documents
Guest
Register
Log In
DEC-14-MWZB-D
June 1974
18 pages
Original
0.3MB
view
download
Document:
RUN-14
Order Number:
DEC-14-MWZB-D
Revision:
000
Pages:
18
Original Filename:
https://svn.so-much-stuff.com/svn/trunk/pdp8/src/dec/dec-14-mwz/dec-14-mwzb-d.pdf
OCR Text
: : IDEWTIFICATIOK PRODUCT CODE: DEC-14-MWZB -D PRODUCT NAME: run-14 DATE CREATED: JUNE 18, 1970 MAINTAINED DIAGNOSTIC GROUP AUTHOR EDUARD P. STEINBERGER 1 1 . ABSTRACT RUN-14 is a program, written in PDP-8 language, which allows a PDP-8-type computer connected to a POP- 14 to act as the memory of the PDP-14 and allow the PDP-14 to execute the PDP-14 program contained in the PDP-8 memory. 2. LOADING PROCEDURE RUN- 14 is loaded into PDP-8 memory using the "standard" binary loader technique. 3. USING THE PROGRAM 3.1 Load RUN-14 into 8 memory using the Binary Loader program (Note: Load into memory bank 1 if a 4K PDP-14 program is to be run, otherwise, load into memory bank 0). 3.2 Load LOAD- 14 into 8 memory using the Binary Loader program (See Note in 3.1) 3.3 Use LOAD- 14 to read into 8 memory the binary image(s) of the PDP-14 program to be run, into memory bank 0. 3.4 Power down the PDP-8 l/L, connect the PDP-14 to the PD P —8 l/L using the appropriate cables and revision of the M745 interface module. Install INPUT and OUTPUT Register modules (M746's). Power up the PDP-8 l/L. (Ignore this paragraph is PDP-14 is already connected to the 8 and the modules plugged in). 3.5 Power up the PDP-14 computer while depressing PDP-14 "STOP" 3.6.1 If a 4K PDP-14 program is to be executed, set IF switches to 1, DF switches to 0, Switch Register (SR) to 6000, depress "LOAD ADDRESS". 3.6.2 PDP-14 program is to be executed, set IF switches to 0, DF switches to 0, SR to 6001, depress "LOAD If a IK ADDRESS". 3.7 Set SR to starting address (4K)of PDP-14 program (usually 0000), depress PDP-8 l/L "START". 3.8 Depress PDP-14 "START", . 2 3.9 PDP-14 program will be executed by the PDP-14 using PDP-8 l/L memory for instructions and memory source data. 3.10 If the PDP-14 loaded its OUTPUT Register because of an instruction in the PDP-14 program, the number in the OUTPUT Register will be typed out on the teleprinter in the form: OUTPUT =XXXX 3.11 If the PDP-14 stops, RUN-14 will type out a message in the form: PDP-14 STOPPED AT XXXX RUN-14 will then wait for the operator to depress PDP-14 "CONTINUE". 3.14 if for some unknown reason the PDP-14 hangs (does not complete an instruction), RUN- 14 will type out: PDP-14 HUNG 4. DETAILS OF OPERATION 4.1 Upon starting, the program decides whether a IK or 4K program to be executed and sets up an address mask accordingly (The decision is made by the address at which the program is is started) 4.2 The program then obtains the starting address of the PDP-14 program from the SR and saves it. 4.3 Upon de-cection of the PDP-14 running, the 14 is interrupted and placed in the external mode. PCI is then loaded uaiiig a 6164 lOT to load and execute a PDP-14 JliP iJIJIM Instruction. 4.4. The PDP-14 is checked to see if it is still running. contents of PCI is If so, the read into the 8 AC to determine the location of the next instruction to be executed by the 14. If the 14 not running, RUN-14 waits for 14 "CONTINUE" to be depressed, and "PDP-14 STOPPED AT c(PCl)" is displayed. is 4.5 The next 14 instruction is then obtained from memory and sent to the 14 for execution. 4.6 The instruction obtained by 4.5 (above) is checked to see if it is a 2-word instruction. If it is, the program goes to 4.7. If it is not, the program goes to 4.8. 4.7 The second word of the 2-word instruction is obtained from 8 memory and sent to the 14. 3 4.8 If the OUTPUT Register flag is set, the contents of the OUTPUT Register is typed out on the teleprinter. then goes back to 4.4. In any case, the program PAL10 / Vl81 18-JUN-70 21108 PACE 1 1 2 3 /BUN 14 4 / 5 6 /COPYRIGHT 1970, DIGITAL E8UIPMENT COHP, MAYNAPD, MASS, 7 / 8 /PROGRAM TO execute A PROGRAM |N ThE MEMORY OF A PDP-B /ON A PDP"14, THE P0P"l4 IS RUN IN EXTERNAL MODE, /the pdp-14 pci register is accessed after each /INSTRUCTION TRANSFER OF THE PDP-8 TO SEE FROM /where the NEXT MEMORY REFERENCE SHOUI.D BE OBTAINED /THE PDP-14 PROGRAM OCCUPIES PDPi.8 MEMORY FROM LOCATION 00000 /THIS PROGRAM SHOULD BE LOADED INTO MEMORY BANK 1 IF /A 4K POP-14 PROGRAM HAS BEEN LOADED INTO MEMORY BANK 0 /START RUN14 AT LOCATION 6000 IF A 4K POP-14 /program is being RUN /START RUN14 AT 6001 IF A IK POP-14 PROGRAM /starting address of PPp-14 program is In SWITCH REGISTER /IF the pop-14 STOPS, This program will loop at location "loop" /UNTIL PdP»14 "CONTINUE" IS OEPRESSEOi /IF A load output register instruction is GIVENi the /PROGRAM WILL TYPE OUT THE /contents of the output register / on The pop-8 teletype and continue the program / 9 10 11 12 li 14 15 14 17 1§ 19 20 21 22 23 24 25 26 27 28 29 30 3i 32 33 34 35 36 37 38 3« 40 4i 42 43 44 45 46 47 48 49 50 51 52 53 5^ 55 ' 6000 6001 6002 6003 6004 6005 6006 6007 6010 6011 6012 6013 6014 6015 6016 6017 6020 6021 6022 6023 6024 6025 6026 6027 6030 6031 6032 6000 • 6000 1315 1313 3316 7604 3307 6175 5205 RUN14, 1^2 4777' 1307 4776' 6175 5213 7200 1310 6165 4221 0000 6175 5317 6161 7410 5232 2221 5222 4327 6171 LOOP, tad K6000 TAD K1777 OCA MASK LAS OCA PCI SCRF JMP ,-l TAD K0600 jMs inter TAD PCI JMS SETPCl SCRF JMP ,-1 CLA TAD K0246 ILEX JMS ,*1 0 /set up pci mask for IK or 4K /set pci to starting address /wait for some one to depress pdp-14 start /interrupt pdp-14 to execute an EEM /SET PCI to starting ADDRESS OF POP-14 PROCRAM, /IS the pdp-14 still running /NO /YES /interrupt POP-14 /TO EXECUTE /TRR PI, OT SCRF JMP NORUN sidf SKP JMP ,*4 IS2 ,-6 JMP ,-6 JMS TYMOUT SOTF /OUTPUT flag set? / 56 57 58 59 60 61 62 63 6A 65 66 67 68 65 70 7i 72 73 7A 75 76 PAL10 VIA! 6033 6034 6035 6036 6037 6040 6041 6042 6043 6044 6045 6046 6047 6050 6051 6052 6053 6054 6055 6056 6057 7402 6176 0316 3307 1707 6164 4242 0000 6175 5317 6161 7410 5253 2242 5243 4327 0260 1314 7640 5275 2307 21108 18"JUN»70 HWT ROTR ANO mask DCA PCI TAD I PCI LOCK JHS i*i PACE a=<i /NO /YCSi READ BACK NEW PCI /GET NEXT INSTRUCTION /EXECUTE IT 0 SCRP JMP NORUN SIOF SKP JMP ,*4 IS2 JMP JMS AND TAO sza JMP ,"6 ,^6 TYMOUT K7000 K<4000 cua /two WORDT PROCED /NO ISZ PCI /YESiBUMP PCI PAtl0 t 77 78 7V 88 8i 88 8A 88 86 87 88 8» 9i 9i 92 93 94 95 96 97 98 99 180 101 10Z 103 104 105 106 107 108 109 118 111 IIZ ii3 ii! 115 116 117 iiS ll9 120 i2i 122 123 124 6060 6061 6062 6063 6064 6065 6066 6067 6070 6071 6072 6073 6074 6075 6076 6077 6100 6101 6102 6103 6104 6105 6106 6107 6110 61ll 6112 6113 6114 6115 6116 6117 6120 6121 6122 6123 6124 6125 6126 6127 6130 6131 6132 6133 6134 6135 6136 Vl41 18"JUN^>70 7000 1707 6164 4264 0000 6175 5317 6161 7410 5275 2264 5265 4327 6171 5213 7280 A775' 17741 4773' 6176 4772' 4775' 5213 0000 0246 0264 0600 1777 4800 6000 0000 7200 4775' 1771' 4773' 1307 4772' 4775' 5213 0000 7208 4775' 17701 4773' 47751 7402 5727 K7000I 21188 NOP TAO 1 PCI ldex JMS ,*1 page 2 /GET SECOND WORD /TRANSFER IT TO POP’l^ 0 SCRF JMP NORUN SIDF SKP jMP ,*4 ISZ PROCEO , PCI, K0246I K8264i K0600, K1777» K4000I K6000, mask, NQRUNt TVMOUT • ,"6 JMP ,=>6 JMS TVMOUT SOTF JMP LOOP cla JMS CRLF TAO OUTPUT JMS MESAG ROTR JMS PRINT JMS CRLF JMP LOOP 0 246 264 600 1777 4808 6808 0 CLA JMS TAO JMS TAO JMS JMS JMP CRLF PNORUN MESAG pci PRINT CRLF LOOP 8 CLA JMS TAD JRS JMS HLT JMP CRLF PHUNG MESAG CRLF I TTMOUT /OUTPUT register LOADED? /NO /READ OUTPUT REGISTER PAI.10 129 126 12? 128 12? 138 131 132 133 134 139 136 137 13B 13» 140 141 142 143 144 149 14i 147 146 14V 150 isi 152 153 194 155 156 157 156 155 160 6170 6l7i 6172 6173 6174 6175 6176 6177 V141 l|»JUN-'70 6336 6312 6254 6353 6301 6242 6221 6015 6200 •6200 PARE 3 / /check PDP«14 running / 6200 6201 6202 6203 6204 6209 6206 6207 6210 6211 6212 6213 6214 0000 4202 0000 6175 5777* 6161 7410 5213 2202 5203 4776* 7200 5600 HAITI 0 JNS i6l 0 SCflF JNP NORUN SIOF SKP JMP ,*4 192 ,«6 JMP ,"6 JMS TTMoUT CUA JMP I HAIT / /INTERRUPT THE P0P"14 / 6219 6216 6217 6220 0000 6165 4200 5615 inter* 0 ILEX JMS HAIT JMP I INTER / /SET PCI TO NNNN USIN / 7-61 162 163 164 169 166 167 166 165 170 17i 172 173 174 175 376 177 178 SyOB 6221 6222 6223 6224 6225 6226 6227 6230 6231 6232 6233 0000 3232 1233 6164 4200 1232 6164 4200 5621 0000 4224 SETPCl. 0 OCA SETTEM TAO K4224 loex JMS HAIT TAO SETTEM UOEX JMS WAIT JMP I SETPCl SETTEM, 0 4224 K4224r / / /type subroutine 6234 6235 0000 6046 TYPE, 0 tls /SAyE NNNNi /EXECUTE POP-AA JHPi /WAIT FOR DONE FUACi /SET PCI TO NNNN, /WAIT FOR done FUAO, /EXIT. /CODE FOR PSP-aiA JMP INST. PAL10 17? 180 161 182 i ^ 10^ 184 185 186 187 188 189 190 191 192 198 194 195 6236 6237 6240 6241 V141 18-JUN-70 TSF JHP CIA JMP 6041 5236 7200 5634 21106 i-'i 1 type fl /CR-LP subroutine 6242 6243 6244 6245 6246 6247 6250 6251 6252 6253 0000 1250 4234 1251 4234 5642 02lS 0212 0007 0260 CRLFi K0215« K02l2« K0007I K0260I 0 TAD JMS TAD JMS JMP 215 212 7 260 K0215 TYPE K0212 TYPE CRLF I page PAU10 / 196 197 I9j 19? 200 201 20^ 206 204 205 206 207 208 209 210 2li 212 213 214 215 215 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 23^ 237 238 239 240 241 242 243 244 245 246 24? 248 249 250 V141 lS-JUN-70 23,I0« PACE 4 /type out the contents or the ac in ootai. 6254 6255 6256 6257 6260 6261 6262 6263 6264 6265 6266 6267 6270 6271 6272 6273 6274 6275 6276 6277 6300 0000 3276 1300 3277 1276 7104 7004 7006 3276 1276 0252 1253 4234 1276 2277 5262 7200 5654 0000 0000 7774 PRlNTi 0 OCA TAO OCA TAD RAU RAl RTU OCA TAO AND TAO JMS TAO nuhber H0004 PCNTR NUHBER CU NUMBER NUMBER K0007 K0260 TYPE NUMBER 1S0 PCNTR JMP ,-11 CIA JMP 1 print NUHBERi 0 0 PCNTR* H0004I 4 /OUTPUT REQISTER MESSAOE 6301 6302 6303 6304 6305 6306 6307 6310 6311 6302 0317 0325 0324 0320 0325 0324 0275 0000 OUTPUT* OUTPUT‘1 317 325 324 320 325 324 275 6313 0320 0304 0320 0255 0261 0264 0240 0323 0324 0317 0320 0320 0305 0304 0240 0301 PNORUNi • /T /P /u /T / ZENO 0 /P0P"14 STOPPIC A| 6312 6313 6314 6315 6316 6317 6320 6321 6322 6323 6324 6325 6326 6327 6330 6331 6332 /O /u 41 320 304 320 255 261 264 240 323 324 317 320 320 305 304 240 301 291 292 253 PAUIB vin 6333 6334 6339 0324 0240 0200 18-JUN-70 324 240 0' 21100 pace PAH0 / 254 255 256 257 258 25» 268 26 1 262 263 264 26 $ 266 267 268 26 V 278 271 272 273 274 275 276 277 278 27V 288 281 282 283 284 289 28 ^ 287 288 2av 298 291 292 293 294 29$ 296 297 298 V141 i8-JUN-70 21108 page 9 /PDP"14 HUNG 6336 6337 6340 6341 6342 6343 6344 6345 6346 6347 6358 6351 6352 6337 0320 0384 0320 0255 0261 0264 0240 0310 0325 0316 0307 0800 PHUNGi ,*1 320 384 320 255 261 264 240 310 325 316 307 0 /message print subroutine /entter with message ADDRESS IN AC 6353 6354 6355 6356 6357 6360 6361 6362 0000 3277 1677 7450 5753 4234 2277 5355 MESAG> 0 OCA PCNTR TAO I PCNTR SNA JMP 1 MESAG JMS TYPE ISZ PCNTR JMP ,-6 /INSTRUCTION DEFINITIONS 6161 6162 6164 6165 6167 6171 6172 6173 6174 6175 6176 SIDF»6161 LDIN‘6162 L0EX«6164 ILEX*6165 CIDFa6l67 S0TF»6171 C0TF»6172 STFF»6173 CTFF*6174 SCRF»6175 R0TR=6i76 S 6376 6377 6127 6117 /SKIP IF instruction DONE /LOAD POP-14 INPUT REGISTER /LOAD AND EXECUTE PDP"i4 INSTRUCTION /INTERRUPT, load AND EXECUTE POP-14 INSTRUCTI /CUEAR INSTRUCTION DONE FLAG /SKIP IF POP"14 OUTPUT REGISTER LOADED /CLEAR OUTPUT FLAG /SKIP IF POP-14 test FLOP SET /CLEAR TEST FLOP /SKIP IF PDP-14 RUNNING /CLEAR AC, READ OUTPUT REGISTER INTO POP, 8 AC / 0000 0100 0200 0300 0400 0S00 0600 0700 1000 1100 1200 1300 1400 1500 1600 1700 2000 2100 2200 2300 2400 2900 2600 2700 3000 3100 3200 3300 3400 3500 3600 3700 PAL10 V141 IS-JuNoTB 21109 PAGE 9-1 t PAH0 V141 l$'»JUN-70 21100 PACE 9-2 4000 4100 4200 4300 4400 4500 4600 4700 5000 5100 5200 5300 5400 5500 5600 5700 6000 6100 11111111 llllllil llilllll llilllll llllllil llllllil llilllll 11111110 llilllll 00000000 llilllll 00000000 llilllll 00000000 llilllll llilllll 6200 6300 11111111 llilllll llilllll llllllil llilllll llilllll llilllll llilllll llilllll llllilll llilllll llilllll llilllll 11100000 llilllll 00000011 6400 6500 6600 6700 7000 7100 7200 7300 7400 7500 7600 7700 t PAU10 VMl Cior COTF CRLF CTFF ILEX INTER k0007 K0212 K0215 K0246 K0260 K0264 K0608 K1777 6167 6172 6242 6i74 6168 6215 6282 6281 6280 6110 6283 6lll 6112 6113 6il4 6233 6115 6060 K40190 k4224 K6000 K700e LDEX LOIN LOOP M0004 mask MESAG NORUN NUMBER OUTPUT PCI PCNTR PHUNG PNORUN print PROCED ROTR RUN14 SCRF SETPCl SETTEM SlOF SOTF STFF TTMOUT TYPE WAIT 6U4 6162 6013 6300 6116 6353 6117 6276 6301 6107 6277 6336 6312 6284 6075 6176 6000 6175 6221 6232 6161 6171 6173 6127 6234 6200 ERRORS OETECTEDI 0 LINKS GENERATEOI 18 RUN'TIMEI 3 2K CORE used SECONDS lB-JUN-70 81,108 PACE ?"3 CIOF COTF CRiF CTFF ILIX inter K00B7 K0Z12 K0219 X0046 K0?60 K0064 K0600 K1777 K4000 K4224 K6000 K7000 UOEX LOIN LOOP H0004 HASk hesac noRun nuhber OUTPUT PCI PCNTR PHUNG PNORUN PRINT PROCEO ROTR RUN14 8CRF SETPCl setter SIDF 80TF stff ttmout TYPE WAIT •10170 .L0171 .L0172 • 1.0173 .t0iT4 •L0178 •U6176 .L0177 .L0376 28B« 290# 94 9? 110 156 1558 208 1938 1928 1028 20? 2878 158 11? 11? 122 278 14 ? ?ii 210? 186# 2928 44 37 1948 189 187 43 1958 1038 36 30 73 164 29 72 61 2858 408 200 31 96 48 199 95 33 201 120- 111 98 75 57 1048 1058 1008 1728 1078 708 80 165 1 ?§ 92 100 11 $ 2188 58 112 65 202 2228 38 212 2578 2348 114 918 97 1088 121 84 206 222 59 2178 1988 274# 1 ?!* 207 60 275 CM 79 280 101? 141 2938 215 2948 298 34 39 163 49 55 40 47 1628 10^ 170 1718 85 28?8 64 91 04 83 143 2048 1178 124 210 10? 148 27? 11? 122 2918 54 71 1778 1388 120 182 150 1208 1278 114 11? 1308 99 1328 1388 2978 Hi 98 96 95 94 39 37 148 90 188 157 .190 160 1288 121 12?? 110 115 1318 191 .l.«77 142 29a«
Home
Privacy and Data
Site structure and layout ©2025 Majenko Technologies