Digital PDFs
Documents
Guest
Register
Log In
EK-VAXV1-HB-002
1983
160 pages
Original
14MB
view
download
OCR Version
15MB
view
download
Document:
VAX Maintenance Handbook VAX-11/750
Order Number:
EK-VAXV1-HB
Revision:
002
Pages:
160
Original Filename:
OCR Text
‘| s VAX Maintenance Handbook VAX-11/750 1T fldliloliltali EK-VAXV4-HB-002 VAX Maintenance Handbook VAX Systems 1983 Edition Prepared by Educational Services of S Digital Equipment Corporation | First Edition, July 1982 Second Edition, March 1983 Copyright © 1982, 1983 by Digital Equipment Corporation All Rights Reserved The material in this manual is for informational purposes and is subject to change without notice. Digital Equipment Corporation assumes no responsibility for any errors which may appear in this manual. Printed in U.S.A. The following are trademarks of Digital Equipment Corporation: DEC DECnet EduSystem - RSTS IAS RSX DECsystem-10 MINC-11 TOPS-10 UNIBUS DECSYSTEM-20 OMNIBUS DECwriter 0S/8 VAX DIBOL DIGITAL PDP PDT VMS VT CONTENTS CHAPTER 1 INTRODUCTION CHAPTER 2 INSTRUCTION SET INtrodUCiON. . . . . . i i ittt et et e e e e e e3 Data Type Representations . . . ... ... ... ... 7 Summary of VAX-11 AddressingModes . .. ................. 9 VAX-11 Special Register Usage . ......... e e 11 . 12 ... ..., VAX-11 Instruction Setby Opcode . . ... ..... 15 ........ .. . Notation VAX-11 Instruction Set Operand Specifier 16 e e e e e e VAX-11 Instruction Set . . . . . .. e ...44 L [ Branch Conditions. .. ... ... e CHAPTER 3 EXCEPTIONS AND INTERRUPTS Interrupt and Exception Definitions . . . ... ................ 47 System Control Block ... ... ... ... ... .. i 48 .. 49 Interrupt Priority Requests . . . . .. .. .. .. ... e 50 it ittt .t ... . . . Exception Conditions. . 51 ... . .. ... ... ..... .. Process Control Block . CHAPTER 4 MEMORY MANAGEMENT Virtual and Physical AddressSpace. . ... ................ ..bb Page Table Formats and Page Table Entry Format. . ... ........ 56 e e e 57 Protection Codes. . . . . . . . i i i i ittt e e et Example of Page Frame Allocation (Relocation) . . ... ......... 58 Virtual and Physical Address Formats. . . .. ................ 59 Virtual Pages Mapped to Physical Space. . .. ................ 60 System Virtual-to-Physical Address Translation, Example . . ... ... 61 .. 62 Process Virtual-to-Physical Address Translation, Example . . . ... .. 63 Address Calculation for a TB Hit During a Miss Microtrap. . . ... Address Calculation for a TB Miss During a Miss Microtrap . . . . . .. 64 CHAPTER 5 OPERATING SYSTEM VMS Boot Procedure . . . ... .. ... . i 67 Summary of Exception Conditions. Process Privileges. . . ... ... ... ........... 71 . . . . . . . . . e e e e e 74 System Error Log Formatter (SYE) Utility. . .. .. ... ... ...... 75 Typical SYE Utility Entry. . . . . . .. . . . Running the System Dump Analyzer (SDA). e e e e i 80 . . ... ... .. ...... 81 SDA Commands . . . . ..ottt e e e e e e e 82 File Transfer Utility (FLX) Help File . . ... ... ............. 83 Terminal FunctionKeys. EDT Version . . .. ... 2VT100Keypad .. ... ....8b . .. .. ... ..., 86 EDT Version 2VTh2 Keypad . ... ......... 87 CHAPTER 6 DIAGNOSTICS VAX Diagnostic Program Codes. . . ... ... .. e e e e e e 91 Privileges and Quotas Needed to Run Diagnostics On Line. . . ... .. 98 Diagnostic Supervisor Commands. . . . ... ... ... . ... ..., 99 Device Naming Conventions ... ............ e, 114 CHAPTER 7 i/O OPTIONS RK611/RK711 Registers Bit Configuration . .. ............. 119 DZ11 Register Bit Configuration . . ... .................. 122 MASSBUS Disk Drive Register Address Calculation Chart. RPO5/RP0O6 Register Contents. . . . . ... .. .o uu ... ... 123 v v, 124 RMO3/RMO0O5/RM80 Register Contents . .. ... ............. 125 RPO7 Register Summary. . . .. .. . it e i e 126 TMO3 RegisterContents. . . .. ... .. ... i it vvu... e e e e 127 TM78 Register Contents. . . . . . .. et e e i vttt i et e e 129 CHAPTER 8 MISCELLANEOUS it et 135 i Conversion Tables . . . . .. . i it i e 135 e e e e e e e e e et e et Hex Adder. . ... . . . it i 136 e e e e e e et e e it it v . . . . Hex Subtracter. . 137 u v e e e o v n i i it v v v . . . . . . Hex/Decimal Conversion. 138 e ne e e e ee ittt i i ..ot .. . . CONVErsion Hex/Octal 139 e e e e vttt v v v .o . . . . . Conversion. Octal/Decimal 140 e nn i cv ...« . . Conversion. Hexadecimal/ASCIl CHAPTER 1 INTRODUCTION CHAPTER2 ERLEagsUleaglel Ry} o VNI EXCEPTIONS AND INTERRUPTS CHAPTER S5 BNelx=:-V-NilMeXN4)) CHAPTER 6 DIAGNOSTICS CHAPTER 7 [ERVloXel:ai{e]N (R CHAPTER 8 [ [-[eiHW.\\ISe]V[:F CHAPTER 1 INTRODUCTION INTRODUCTION The purpose of the VAX Maintenance Handbook series is to provide a compact, source quick-reference programming operating, and engineering personnel. of troubleshooting, information is that maintenance, frequently referenced by DIGITAL field service, manufacturing, training, and This first volume useful summary of Each of systems. processor specific; compilation of of the VAX Maintenance Handbook system information that applies the other that processor 1is, volumes data it making provides that a up series is hardware and this highly supplements provides a to all VAX compressed software information available from such sources as manuals, print sets, microcode lists, and program tabulations. CHAPTER 2 INSTRUCTION SET DATA TYPE REPRESENTATIONS BYTE WORD 16 [ LONGWORD 31 C QUADWORD 31 00 J FA 07 00 J A 00 ] 00 A At+4 63 OCTAWORD 31 32 00 A+4 : A+8 : A+12 127 96 TK-8350 DATA TYPE REPRESENTATIONS (CONT) F_FLOATING D_FLOATING 15 07 06 s| 00 EXPONENT 15 FRACTION S 07 06 FRACTION FRACTION 31 16 G_FLOATING 15 14 S FRACTION 0403 00 FRACTION | : A EXPONENT F FRACTION H_FLOATING FRACTION A+4 1514 . A+6 S PACKED DECIMAL STRING (+123) 04 03 1 48 00 EXPONENT A FRACTION . A+2 FRACTION . At 00 -2 FRACTION T A . A+6 - CHARACTER STRING (XY2) 07 RACTION 63 : A+2 FRACTION 07 00 EXPONENT FRACTION : At+8 FRACTION . A+10 FRAGTION A+12 FRACTION . A+14 00 llxll :A oy A+ VARIABLE-LENGTH BIT FIELD P+S P+S-1 S-1 P P-1 00 00 A=ADDRESS TK-8351 SUMMARY OF VAX-11 ADDRESSING MODES A A A A d d A K AR A AR R (ug) a.1 (uy) a.1e juswaoerdstp paombuof paiiajsp Al uy 0TC¢E q a1gej3o1padun dsS ¢dTqexapul oVaS€0Z1ITTT1Tq86 pp9pspap82iaai3iwj3Iio44oioeno1mqqmmNjMIababop3ujusa9SaajooqwAAeAatpgaeWTpIT3T}33IRP98eRTTAAITS®TT®®13131eeTT9®11A 1s_gIsM1s9ap3sasTiiiqp1Spsiupp2eapaej1s__peedM1_pugy9eoo KAS AS AS As As Aj As 1I j3‘aAsApwpspjeuSsruIeTaryTassaegirnq1i1awklpebieelIieoJlMsoiapuoio1osrswegatgbeiSAleipoapesd8xsotam1SsdaaioTaIbpodedeoi33uaueuupo0itk1nne0nrsqpRoi)sTsb11ei0u0a3po3rdsueurbpxtauseaiinpsspbauprioeewppsu1ieessp3p3Ioneauesfw31sqjbpneooxwpsupeuse)sepIaas1e3qJT193uso1rb3er1sod+3z1s193ea1buey3z(z¢ W Y O0Ud HILN OD ONIS IHA VY SUMMARY OF VAX-11 ADDRESSING MODES (CONT) od Q- I od od od od od 10 od [ © SR P ] Xn NMHE 32O D> I VAX-11 SPECIAL REGISTER USAGE Conventional Register Hardware R0 Results Use of Software POLY, Results CRC; length counter in character and decimal instructions Result R1 of counter decimal R2, R4 Length POLYD; character and and on (not saved procedure status or call) Result of functions (not saved or restored on procedure in functions, services restored address in character instructions counter of Use of call) Any decimal instructions R3, R5 Address counter character and instructions R6-R11 None AP Argument FP (R12) (R13) in Any decimal Any pointer saved Argument pointer and loaded by CALL, restored by RET address Frame pointer saved and loaded by CALL, used Frame pointer; signaling and restored SP (R1l4) Stack PC (R15) Program by of Stack counter pointer Program 1 list) condition RET pointer (base argument counter L ay1o AYAOWavHsnd T€oa6s39¢v2ZPHcsMTgdS21dqAaadsaOK|ddqWaa|yvvl||)££9£WMTogJd1Day4dadaWWg9OaOdvvvgTMsOz2y227Wad4a1O4NddDd8OHngnO0NSssWs5£d1T9£M£1€00LdaI413Igd08dnnnsssZCgdZL2TMo4.THAadsY7LIIi1od0DnNA0dWuDWE€gE€M0dT0HT1da3LI8NTI1SN4WNN4LWWna¢IdZZMT4ssILAOdeAANdIAIIIQDdd€d14M€£0TOW5Add3oIp0IAAdAldI0laI¢aQdCc¢o4£gTMs0d7Oa4mHS3g1Ad1ado0s5LLdvSdNAA1IWDDdd|£s£MMMoOd4€HJSAm0115EAdgLdl41SLDNsAddIAIWDdODd9|2OTSnT¥d7HdNAJLo1O.ZdVLIio0LOAAWd1oSDD4ddKW|£H0TMnTyO€7AE4dHJNd1QBaSVH0HZWdNL1LSgdd4AAODDW||A2ZSHQTJd9OWSALgW74.dAHLDHdLOYDA0AHODXDW|4£AdTdaST94OHWZAMMH49OdHdLLS04uXDANAV0WDDXd£TdSTHnOaAdYLOWT1oA3IHLXIaOoNDAdANHsWDdWdgT§aIO1AgT3ENWdsZYR5LSsoHiVAoO1SvXYO)O830NdW ava4LSsTJmA2ASaONaNIWy||£1daTE4MmOWwaVDdvJS[Z4OMITEN1KN8SW0V|adOE€LIMsSTELNEiSOY|CEd01l4M4a9f7Teo1I)dw80Nicd0W)8|EdaHSMxXLI17DNo08WdOS|Jd€C9a1MLALAIADdDMELTMALIAQDTIZd8HMHYSSQY1YdOd£6HETSMLVSAYIDdZS¥TTM0IOWV3IOd£SAdTEIIMdVOdYIDd0AIoyM4H¥YXO1US0ONXI|OEIaAMoTHsOUdSWNXI|OMAIC|VDTYRvEHAUOKNWAY|IMd0d341vs0¥0HS5vWSdY3NOYd VAX-11 INSTRUCTION SET BY OPCODE GEL s0Tn1odaNg 12 o o 0. O 0 =) L Q O 2 = 2 72 Tl o > O Tl o Z 7p] Ll o op D|Mg€Z£2dO49DTv£ZoO2d0TM91IUaLNAodIAsnKyDd}SHW H|£EZMtH9T€£ZLdOHETAI.LdVNaAIvsDN¥YQSW O(0YOLAvHO2SHN4Wd 281 £ HALAD HOLAD I6LAL-OMLS3d0d045:9.0.¢ HALAD94LAD gsH42T[4£4S9dHLADLQH.LAD86¥do}aK|d ><X /] T [4 8 13 ¥ d o a d LSB MSB TWO-BYTE OPCODES XXFF BUGL BUGW VAX-11 INSTRUCTION SET BY OPCODE (CONT) = i o~ TM < n 0] ~ [+ o < 14 m @] [a) 3] 9] VAX-11 INSTRUCTION SET OPERAND SPECIFIER NOTATION specifiers are specified in the following manner: <NAME> .<ACCESS Name - Suggestive TYPE><DATA name for TYPE> operand in the context of the instruction Access type - Letter denoting operand specifier access type: A - Calculate the operand. Address the actual is reference. operand This given operand. by <DATA of a the specified longword Context which of is address TYPE>. specifier 1is a is given by 1is read, potentially modified, and not an indivisible memory operation. written. of Operand branch branch TYPE>. is is read Operand is write - Letter only. only. denoting Byte Double floating Floating | in displacement Size Operand type address returned calculation <DATA ITIOmou w is No Operand Data effective instruction displacement. oo Operand G floating Hfloating Longword Octaword Quadword Word 15 the data type or the operand: TT48 1€49O4Vav aaddvv¥AHlYXI9WO€d DANAVNYV¥3dHOOoNWME ONOT a1o1e99yc7 M=<€ZJ£gJ44aVda‘gdqvyav-y°-aad1dddvy¥¥vavyyvJOYS‘7NVNga9IIY¥ynLLI°-0VYWOzdOO0dD11add€9 vANa¢O €YNWaYMNAA¥NH°SN3YOWYI¥gNN¥d3MVS30dYd0OoQYOM Bg>WNSs 2g=WNnSs OHNIOIVLON1IdMOTOJTIJHIYAIOAO 2)M WoddgSW ‘addgvyVsSTZ,95Addaaygv¥yv°-*Qa‘OadoN¥vYyILW9wOnNYWsS"SOWNTdNgIdWSL°YO1dZANVY3d0 @g>>WuNNSS @Bg==WWNnNSsS HOSINDIILLVNOITL4MOTOJTHIIYAIOAO 2)M 2M WOodgSW ‘‘L“L‘JJOTIIT4y¥HWHWy-°°-I"°ILaTTarIta‘Wvv‘HIMvUTYYWWN‘N‘‘SJSSaHTMy¥UHY-TA°-"zWWAgAaAaAYvYv“‘XXAIOIMWAAW°*NN"NIIXSI‘‘ATDMNYWWIMMEEg8°T°11ddSSIIAdQA|g@2BBg>>>>XWXuW3NdIAnNASaAsSNNII P@Pg#@====KXXWWHdJN3andISAssANNII OSHHHONMISIINOODILIILIVLLVONNNOTITI1dILMMMOOMTOTOJTATIJHAIYYIHIHIAIAAOAOCOOooD])M )]WOo¥dgSW VAX-11 INSTRUCTION SET JH4aAUOLVNdV0AeWYVvO9ED AdI8MNYOdV¢0OTIAYTIVSLMINYI »A23dZN7V4Yd9VN3d0vd0 o‘MgHPLdO=I>T°WXOyJ1'WI¥H}yXLaAI°SNAIaTOd°NvI oMS‘"#@XEONQL>=°IT¥X1LAd°3WHV)SdNIO1WTIdOLv¥JdOHFAaNO4IYNLdVW9yOHVv10EDd% OHI9AaNYOIVNdLAVOaWHvVIYDyd OHFdaNOIEYaNLdVOWvV1oEDd 16 e = 1 A¥¥VD HLIM 4OV OMA¥ 8a ANYNEd07QYoMadv ZMav Xt 18 a NO0TI LNI AND0THALNI aadovd V ¥ V Y I D Lv€Ka|33 s0sIdsoDdgdgd HHHHOOOONNNNwVVWWYHMMddEYNNNNOOOOL1LILIIId9ddLdL¥¥YI33SS3TI1TADONYAANNVdVddLvTI30ST10 [aa9A1t3C| sos1Iosgdgsdg HHHOOONNNVVWHHMYYESNNNOOOXAI1H¥IYHg9VYYDD13SLdIYSEATNVO L3IS €1 1044 HONvVHd NO 1Ynd3 U O T I T P U O ) S 9 p P 0 ) 868L4L OdTHHHSSSYYY‘€Y¥°DODIINIIDLLLIIIWWWNIHHHTILIOIHNHYYYYSJ‘LIIMJJJIIAIHHHSSHSAQgaONVvNOOnYTNd1Sa‘agvN°noy 1S3d oodgd HHOONNVVYHdg NOO LLI9g ¥¥VVYY3dI1DD AN A suor3ionijys°g‘‘‘“°°‘u1TdTTsgla¥1°Y1do4YN°°s¥ud1°SS°ndsI0s‘SSosooN0T01Idgdy4dDda4‘‘9‘‘‘dg09dgTAdAA°NH-*°3°3°3d3DId0sSaSSd1sv¥sVvvsL¥YSVYdgEddAOTgg°g‘M€819€99°°dy°°L7S11sdS1IsddaA¥dQSSSIdIIgaqYAA€AddLSAd"gY NNNN9LgNs>d1sa#>9NIHLS zVZyyVlgZAAAs=d1saP=9NIHLS AAAATAZ HVIYDWILDNAIMOTJIHYIAO VAX-11 INSTRUCTION SET (CONT) VAX-11 INSTRUCTION SET (CONT) AINDISN 19 (A DaNg HONVMH NO LON TYn03 8886vd0 ZMZ€MS1SsdI1ISg9gIgL1III1Iggd9 LL133d4SSS WdNVOOY1MOT0dTQ ¢9 €O dgANNSVYYN¥4I¥3V3dLd0S0JHOM 6££d6 1M€aEL51I4dgd L1lLligg 11J1SSd33dllLYYdONo1oOA1MdT€Q A d 6SaT7d n0o03dI1114ddg HHHOOONNNVYVYHMYdYNNNOOO SSMOAE1TTL¥I¥00d1TdV¥Y¥nNdd0130dINOSISN 6a11 n8NS1s41g HHOONNVVMNEd NNOO SS IATT AINOISNA gd°1ds1a N z o) s84uorjonsidj1s€ggd‘gNd°“u‘IDSdTM4SMTloV1gSYd°HSY4YsN*°K1V°SKW1M0WdW‘HdyNsTOSd‘‘SM14s1TNMTYYUddVW8Hg1€ddTM°‘T“8SD0WT°YIH¥°NH*1aSOO*°LdHDgSMOSH4gIMAY¥d9SO1MT1MI°*dLSdLA3S NNBg#@N>>1dL1HWs8OLad<EDMSYW zzVBPZEgZAA=R=d1LHW8seOdlUd|LaoT<3ZITOp>PAuSUoYOW)Sapo)Y¥O<T>MSYW ooooo))D])}))H0<@>ISYW VAX-11 INSTRUCTION SET (CONT) 20 INAWIOVIdSIA (1AT ngOddANg HHOONNVVYHHEYHNOLIMLONIJLTX¥EYNI0NdAWQIIONVOYDTIISdNSNIQ VAX-11 INSTRUCTION SET (CONT) INIWIOYIdSIa dIJILNAI TL‘gygI°"yHWO-UoldILDsT3AvIgS 21 ovaL 4911DD ¥Y¥HIV¥dDT19D OONNIOLTV0OTd avaodLddooLL fM0Ho]YY4IT1(1IoD}DDt H¥¥VvvvAaadIi1IDoDDQaQHu vIonOOMdNMIYLLVDY0OTd aads SAWWHHDD FIOONNVVHHDD IJAAOOWW OOLL JdAOISLINAD¥AAXTNS davo MTIdASSV°“YDMHDYO°L-DdIHISS0TYYLADDOSIaTOIdIN8SoOMT‘‘MTMY-c3dSsVvEd LLIIWWIITT ‘‘MTY odb6gd gNM4WW1HH0DD dFIvOO¥NNdVY1HHDDOdLJJAGA8OOWW O0LL Td4YNSYnIAN ovaL JaYy110o ¥HvV¥I3I1DD @4 OONNIILLVYO0T1dd suoTj3oniajsIOHXLO°°*‘usMM33°*l*d*QdQda°-010Llo*Ia1LDDsS‘MsaM°*dMEaYdY°-[{g_@]1_dsS1Iq[LIWIT]1]d1SdISAIddMg° /)2)d]])WdalS81T7LIWIT1TTT2 T2 T) T] )12 T2 @] 2] d21 ZN ]WdlLUOT1730T3IPLUIGW)ITSapo) o0)ooo/2d9@)])]}W3lLNST1LIWIT > < X D = = 2 - oo > Q - o = N L - e e = = 22 aLz aSdOwdWoD FFHUYYAIWWOODDdHALOONVIYLHYVOH0DTd§ ANYY3Id0 1SL¢aE TB€FddWdWOD FFAUYYAIdWWOODD aO3NaIOdNToOvVd €¥ ANYH3Id0 °1d MAWONITFDUYVUYSIW‘OMYD dH4AoMYTOUS49V °NITZOHS‘MY S3I1=0ST) NYHL 1aaod]ddrttesSJHA35AddDddWoWWWHODD“D‘¥N‘MaOMy0Y-Sv°=NJFFTzSIHUYUD1o1YYHYSdIIII)sWWWWdOOOOgMTaDDDDyYd°(vO94ZHH dIN01oIdOOdOdYSNNIsN¥LIIdI‘SLLL9YYYv-OOOTTTddd"¥avZodsSGY 1ZSSo>YSO>NO1INYoILUMSLsS 1So,dsT,=S1=J94NSIMLS{ONIYLS2Z B TgouSNSSs1ZodS S6u2UoT3loN€II2jDdsHW‘NN‘u‘‘NDgqlI9TJHTOIygT¥IyYHTS4uIH°"°=‘I°-ZT°JMS11DTD0oyU0oHDH4°UdudVSYHSssSSA)"WMd‘‘OJagMa°HgYTZYD¥y¥YO°°-°*(ovZYJZzYSZdOi0D¥ZaOoHNAOdSHodAIUIs9¥dvSYaSsSSO4syLVVzSIH‘‘o4OVgdaNAHvsS°D"d.9d"S¥y€VVaYEAavN7e1YTzHdo1Id°4sdO0HgVSyN¥Z“T¥Z"JZ¢H3oOUoSo3IHYLI>d¥¥lSSLS"A>>d>4OaMTT1T1gNWZOIod0ZoHILNO8LH4LdNUHSSSsLS°S¥*“"ZZTT3H¥¥UooSoaU33YHY4dLL=¥sSS=SlZd8==T=gg"KS1TT1TgW1=Z00d2Y0LD944LL4I3NSSSSLLISSYLS|ONIYLSA)g4 2Z [)Z gJ ]/ o*1“NNg)Z d%)) Tg] g@ ))s¥1¥oSWSoA3YlsuLLS1TSggNaT48NSNT3HS3SSd1LS1SLS11S44o2Z44Z4OS1O3d¥1S°S5 16 adwd FY IWOD JLA9 VAX-11 INSTRUCTION SET (CONT) (QINODISN USuoaT3pIToPU)O 23 VAX-11 INSTRUCTION SET (CONT) 1NgaiSIsaSIyday MO3AHD ‘1QFAaIUZN3IVLdXA1ITW-0O3HDIZ MTdYHvd°DN1HIOTIUdNLlIS 24 dOHL8€NY1dILlXAVL9YNAOT8Dd OSaJHdNIAILYAzLVONYA0Oe1D Y9 TALAD LYIANODdOSNILVOT1d OL ONOT VAX-11 INSTRUCTION SET (CONT) 25 aaddrgedsv MdHHOILAADD LHHIYAIANNOODD9L HI HI OSNNIILLVVOYTO1TddOO0LdddqLdAodOO9NdMILVOTd a949des dMIH1ILAADD ILIYLHHIIAANNOODDHSNOSTNILOVLOTd1dLAO9N0ILLVQYdOOTMd ZJ3HI.DNImSBImHedImYHmNmI LLSSAd JQg33aILNNIISSIIddIY3TdM NNII LLSSAQd dJ33ILLNNIIsSTSHdAIdYlTyM NNII LLSS dd33IILNNIISsIYIAd3IYaTyM NNII LLSSAA qILNISIHdIH NI LSd JdILNISITHdIYTM NI LSA saaaddudoov9vgrLdysj3oniJTO1HSjTHOHiIIIHsLLA°D;0*°DuAAoDYmugDDHd¥U¥SYss4.S*"w‘‘mLHH94HHUYMw"4YYIIIAAANIMNMLNsOmOMSOt*DdaDDT*i®LIsLSg9I HI sHI HI M9L dS*daMa®OOSONNNIIILLLVVVYVYOOOTTTIdddOO0OLLL94JHY_O _d _a _H YOOOMOMNNNOIIDINLLNLVVVOOOTTTIddd9¥g2pgN>>1L1LSsSLsdsdad @Pgpp2PgA==11LL58SSuss0dodl3lIpuo)dS8apo)DAy D2Ju4ud¥dYSSLLOONNNNVVYYDDd3d349d889 D‘71H4S°o‘7u1s48M°LSsAa _d B2>Lsda 9A=1LSsda D¥I¥ASDILONINVMYDOTAd9YIAO VAX-11 INSTRUCTION SET (CONT) 26 VAX-11 INSTRUCTION SET (CONT) 27 ada9y HOMLAD LYHIANODQU4YOMOLDHONILVYO01Td °a€ys AJ€MMLLAADDNITDLLHYHMSIIAA‘NNMYOODDHJQAUyHAYOYOMIMHSOOLL‘9Ydd4°LAO9N‘IMLYYTON0ITTdLSA ol aadovd ol aadovd gdII NNIISSAINYIdINTTMM NNII LI11SSdd gQI3INLINSIISHIdHIITMH NNII LLSSAdd dg33LLNNIISsISYIduIdTaHy NNII L11SSdd a INISIHdIYTM NI I1Sd u o r 3 T p u U O ) S 3 a p o ) gaadJ%aadgy9 TITHADUHHIUI‘LLA9AAD4DD°DOLIL0OuLLYHlsHIIIAAQ9ANNIYNNOOOMOODDT°MDLODSNddQAOIIITAAANNNAOOOYYYOH4__OOONNNIIILLLYYYOOOT0T1Tddd g>rsd 9=1sd DY¥S LONVDa9 H69¢0Z ddSLIIAAd‘DDMaHYY°v*NLILIsLYYTHSaIIIAD"AUNT4NSOYDD‘9OOYNN°II-ATHVIAIVTIYLIHFSLJVDHI°YHNAIdWTINLSSAJI‘MMIYAWN 1SL4#>ONIYLS #JISsdP=9NIH¥LS TYWIDJAANYMOTAdNIAO suor3onijysu*‘°‘‘M¥MlJDYadu¥H-°d¥S°*DD°vYD‘YDiUuMsulsYSsSsdgTa4MMMy*°°L1LLSSSdAAQ_H _O _d _ 2#Ngg>>>111LLsssdddaa ##pgpPZ===1L1Lsss4ddd ADDTDHuuM¥YISSSWAIDDLLILOOAONNINNVVYMYYDDODTaAgdg999YIAO VAX-11 INSTRUCTION SET (CONT) 28 ‘‘‘9ad¥ydY--¥YyaT¥¥UYAnAAIiIIdadda‘dOJwWW¥--°o0AnNddIdAM°0ON0ggg>>>ooonnndddg8gg===000nnn000SOOOSHNNNIIILIIVVVOOOTTILdLIMMMOOOTTTJJAIAHHYIIIAAAOOCH4¥HO002]) LMdadM‘‘a‘DgqWgHQy*¥Uy-°dT-d1UIdAAdNAIIICdddWAIH‘ad‘gDWAO¥I-¥°Ao°danAAd‘IIya¥ddoMaaOMmMm-*-o0oNnn0dd 9ggg>>>aooo30nnnaddd1d ggg===d0004nnnd10d0d HOHHMINIOIDAILIIDLVLNONI1TIdIMMOOMTOTTJIIJYHIIIYHAAIOOAO¥400¥O0M/2[)}oudodOLNIgSW DadoyZ9OAaTIWYA°S"JdI‘1dMdAYIAIIMA°L9SASNILVO1d¢ANYH3d0 g>1adsd1da g9p=1daS4d10d HYIADOIALINIMOTIJYHEIACO M@M mouyduodOLNIgdSW 9adyary Z€£J9A5AIIQd AQIIAAIIAdd9d 4J SOSNNIILLVVOO11dd Z€ AANNYYH33Idd0O zLa6E Tg1I0Md3LdAD IILLNLYANWFIAWTNIMOWUDDIQAH¥JOOLMNXO9TOdL SNOT 9L98 Z€Z9AAIldd JIAAIIAAIIAd dJ 1LXASdgNILZd €J V0AN1VdYZ3d0oANVY3d0 L9 €dA d Add O O £ ¥ (AIT-P=¥)A>Q (A4T-g=Y1)A>IQ (A4T-g=H1)A>IQ 29 AA)) ---->> TT AA1I ((g@==4¥AAIIQQ VAX-11 INSTRUCTION SET (CONT) A€S4L3NAIYAHVYIOd10Qd VAX-11 INSTRUCTION SET (CONT) ‘HYAIA‘HY°AIAHM*0ONndg>ondg=0n0OHONILVOTIMOTJAYIAOd02 2 MOTIYIAO HIOINI g=0nd g>ond IMWA ‘TIM0ond ‘0YW°AId “‘TH HAIC H0M)dOg‘NWTnI=>YJL"Y0HoO*I¥dTnALOI0A 1MHg“TOIW=>OdJ0I-]oYLHInNAIOd (A3T-g=Y1)A>IQ (A4T—8-=1¥)A>Id aqdaLeroeg €ZHAILQA IJAIAIAH3 H3 ONILYO1d €ZaANVYH¥d3d0 ‘JUCHTIOW‘EYXHTINW‘JH°QINW‘IMTINI ‘A9TdZNA1VIYO2A3IdOA A£€L9dN1JYdI¥ADO3IdT0d N9IYT-M¥HAAIYAQIA gN‘9YIV°T"MLHOAydYVSdOHS JQaAIlINALIaIXdQA 30 TM°SOdaNId)1IdJIONgaNnod)4] 9d TONI INIWIHONI ONOT1 Eaa33| AJA0ZLSLXd3X‘3T1Q83°ALLSO¥OOVIWdYSHLdIIHlYXVXLI3SOLddI1‘AI3gNIYyId*LLdIXZSIIITSA-0‘HdIAZ°dgS7vY3dI4 v2960d LsgdTONVIH‘TH°SaLLNOINIdVIJLHWYIVHLOSN’IId‘ddLy1A°39dSdZILSIg9‘gA°3aSvYd aaaYd4dLdaypLs HTdFODQNAoSOWOsWIdWH3IIdI3dQAQII¥IIAAASNNNIII3IYLLLXXXIHTO0LANTNITIdIYNINLALAIOOOIDWWNIWA9S HS OONNIILLVYYOOTT1dd H9ad4 0M4ONISIONdAWNALIO‘NNDHIIYWdIIM‘Y°LMOSYNH°TIIOH4UYAT4I¥ONOWM31D‘"OH4YL"IddINW ) 1IdgIONaNnod )) suotrjlonAiIj¥s¥‘‘Mdu1l)IToWnMHd*m°°WWILsN‘SNo1S‘NId47I4OH‘‘¥d0‘MgySTY*°1°L3ddOZ°d2V2aoIHI0SdSnHWd/‘Ld‘dIATANTH°V3"3YSaSdvdYvdE(LITOYMMH°°"gLLoSS¥AAddN9#gg9N>8>>/1>L§WaL1sLNodsvSadyddPZ@pppgz====/W0L1a1nossSdavysdyd AH2HA]I/ADADDIDILLINNIIMOOTTJAJYHHIIAA0OCo9M 2M D24 ]0) ol/0WOHdgSW VAX-11 INSTRUCTION SET (CONT) 31 gWOMHPTAI=o>DSJWIdHLNIWASI0 INATI0E0 ‘MY THA VYLdo gy ) XdA‘NTI¥°1XgdaINHNODI0OTSHHdNALSLNNdIW‘OTDY°MOT HOIH ‘TY a834s0 IAALSNONOSISNNII AIIJIIM¥HAIIANSSSONNN0IIITHaOOA1LLL3NNNIII1daInnaanndd 7I¥l o9l1 aIsHhOSINAI0DddI0WHaArS‘lNgIvO°AO¥LIINNNIITL4A0HOa3YInEA0NVS¥d‘HavdV )O =Z4LNT(p+XYINT) ) YzZ6za€6dE DET2M€J0WWWHOOOO1DDZLWWNWYIWDHFFdFTALHAOAVSOLOO¥WVWW"DW0‘1MAJQYSIIAHYLLIYINNzNALIIyILOWdWWOVaIIIYHyTTToYAIIYyHWWWHsDODOODDD"4JJOyYLNAOO9TM )a p=pY 9 ‘3“A‘‘ITdYd9gHHI0Hd°°ND¥-DJG°dVYIDOYUZ‘ySHIs9SDv‘°4‘ggTNMNvIHId°°X°T3LAJSyS¥‘I0aIAMdNN-ZdI¥‘g“"y¥¥Ta°3Yd*IdQyJVTZvMIdHSy°OLVNgOAX°3ASYNdI #2Pp)g >+>ILXsNYdOIXNIIA>NAIHLNG =2) p9=9A=+=0HL1A4LsNUNaOLFXNII(A=pNX+ZIYALHNIINT) oo22A2])HINGNS1 TMyH°DYHsSIM*®1Ad g#1a gprd 1°*s1dsdgayv N yVA o) m9cofiuUSXH1u0mdcdH1lAv¥01S$830ddIXAILNODNNyzA oo}] VAX-11 INSTRUCTION SET (CONT) dLwWTnre 32 VAX-11 INSTRUCTION SET (CONT) LON 93¥ 1sd) O J A A V4 Z N N suorjoniysul 33 26 a€ aL 8¢ oc¢ 34 8d adacs ‘ay-ousdM*LSa ‘OvDSDus -‘MY TIMM°°LLSSda ‘doHNOg0yS°=oNIdTsIDgUMST1HSLdONIT B>Lsa g>1sa g>Lsda g>Lsa #>18d P=15a #=1Sd #=55d #=1sd ades aanis 8s 2L UOT3ITPUO)Sapo) NTSFNA2DOOHOAIINOWN‘‘‘NLLOWMqAYYISyuTNNM=*-DII°NdNFILLIIySAST1AsOIIILOW‘sAWDAMdYa=H=aMSNaNYA°IId1LT1HO"VLONLLAHLsIVISSaOauHLAAaNYVS)v)OIYldT4HOsSVDT((ddHH‘L‘LSg9VOO"¥gNN¥AV3IdNTTAYYH1LI1SdTdO‘ggY9 NITLSA>NITIDUS NITLSA=NITDUS IdNAJOOHIWNLOYSN=INFLIASOTIWOAU=SN4ITOHNLOISNLAJV)IOTT1(dHLONZT OTHAAAOOOWWW‘°DHYS°DJJJ‘YOAAATSOOOMWWWHOMDHO*NLOOOTSNNIAaILLYVOOTT1dd OdAAOOWW‘‘°NoTIYd1°°d0IJ‘uuMAAssYOOWW¥OTAMMQdQ**aHVLLdO¥sSoMOddvYUSdLO‘Y gY"HA YLSAd suo13oniHEOM4DjVAYAOsANOuOWWlW FJJIAAAOOOWWWSdYLISAILdYHOAVAHYYHDJ40€davAOnNMdYIdO g>1sa 8>1sd 8>Lsd 2>Lsd g=15a g=1sda P=1sa g=1sd g=1sa #=15d NITOYS NS T VAX-11 INSTRUCTION SET (CONT) NE1L8d 9>1sd |42 > < X D = = 2. - o - O - O = 72, LLl - ) O = = ) MOTIHIAO OHNILVYO1J g=aoyd p=aoud g>aoyd g>dodd am-aodd ‘gy-y1nwu dWw*®aoy¥d ‘qu-yTInW va MOTJYIAO HIOILNI HdILSIDIY HOSSIOOHd OL JAOW HdIW g6 ] QYoM 01 ALAE JIANILXI-OHIZ FAOW MHZAOW 35 ‘OuqvyY°o‘u3y4384930‘MYHAaQVvT1dlL"gY 28>04d #=0p4y ONILVYOT1AdMOTIJYIAO 5aSAdy%9asvy EZ€Z££94J451II0nN0NWWW AAARXIIIJdd4IIdILLLIIINNNWWW9©d4dOOONSNNIIILLLVVYVOOOT111ddd€T€T€AAANNNYYV¥YH3I33dddO0O a/SS9dTO]asvg9 dEZEZ£ITHTNIIIWNNN0IWWWTHTXAAdAI11I11Od44Wdd1dILIIL‘1LLMInIIYNNNNWWWWHAaHNNOdOOYT1oSENvIId¢9 €O NLYVW0AAONONT1YVYdHHY‘33€¢IdNd0IOAOTNAYTYI3NWd0‘MY [SS5ALVS' ZEJdMMXAII1N0KWdW XAI1L1VddNIIILLVYIIANNZTWWTIQHVHOIOMWMON€A TQ ATAAONNdYYHH3dIOIN7ddI8OOLnV0YdOTd s19uorjonidjOyNs°-‘‘¥d-H¥‘udYTI9aIJla1ddNYaNyII°°WvnWN-"HWOdy11INi‘I‘n‘‘OTKHMnJNTWHYWYwHWNMO-QI‘AMQTHO‘d‘LIIgIWJWaWvY°NYN°N"Yy"°WWQWda°a3QodOo¥°oYId‘"¥u‘I¥‘NNOMnddNdYOIYWWTAMI0HDdaMdMMM*°°*°*QQQa‘d0oOoMooYd¥¥ddd*¥advaodgYNgpdgg@gN@>o>>>aydqaaooooyuyyduyddd2>9NIY¥LS ypgdg#g#ZA=o===a¥aaaqodoo0o01yyyudyYpddddgu=o9)NCIONMLUSsSapoDATYHOHSAOVINSIHAYINONDWLIAIVLLDOVLNITNOAI11JddMMOOMMTTOOAJITTJ1JYHYId4AIIHYYAAIIOCOAACOO VAX-11 INSTRUCTION SET (CONT) 36 VAX-11 INSTRUCTION SET (CONT) "0¥Dous 37 AINO0TYILNI I‘OMV°-HdA3dVvYiH daMO0THALNI 38 NO01 a TIvd D01 g31Ivd Jaa[4d4’€) IIYMHH3YHSyHSNSNANdddNHHHiSSSnNNNddLdIHSSOs¥NSY3OWdIToYlAdLSV¥IYnNdOJ4I0LdqyIoOMXmd HO I n 3 n d i A L d W T O N i X H I N A O L J A O W I Y I H L O N d I A O W I Y Z X Y V Y A N O D I S i ~ 4 3 L N I dJgs IInLOOWW-aAaYNvHdHIJFA‘A0OO¥WWAIHIHM°WA¥HYaOIdNvIyInWaondddAndN0LYfTIVL an3ndiALdW3 ONiIHIAOMNINIA3OILAOJWAIOYWIY AYUVYANODIAS|-YALNI 06 1 0y 3JLYLIOY DNO1 uVao5 1TTITYH3YYAOyAAWOOO‘MMDTDIWS9WWYYYIVVISSAYHNNYYHNH4VW"°°YN"FLAM$A11$dY1IIOLNNNNWYJIJdISSSYHISILIAINWMAADDIoYDIHOIODQdNNNNASSSIYNNdAdWOTHIJVdDIJnUINnQ0IA1DY0Ud‘QV3H'7<PNA@#}}8E+I>>>A0(AdTY4V4AsLSsWN)LI1>SXdHL<N€A> <FA2gpAZa=+==>d2A((14ApYddSvdy3LosssK+AIN)W43VIL31IY=ASpVXudHYUH)IOIH<)N)ZdA>S3po)<PPT]) d2g )+T=ICX>TA€A1dVUdWSIWLNL1IS=dXHL<NTJ> <)XooT0Ay d)@ T1 ]))@3Y>IITANdVISNWLN1SSs41<@> S@4sydguINYDNLI‘HTH°WO¥oDdSdTINMI*LLNSOAY¥YANS N#81sd A=sa AV )g oo)) VAX-11 INSTRUCTION SET (CONT) ‘MOy¥r-°NaIn1sy_dOaWd"yJd‘I4gavdadvildgl‘dv°MSYWY'g)>d1agp=p41d]ONILVOTLMOTIHIAOg) g€2dMdds¥VHDdI9NySHNIIATLO‘VMHYYHgDY°4ady ') 2=04 ) 2 ‘€8 €494n1sd-49LnOsVvdTlWda"nJsIddLA€€ANYd3d0o #>341d p=a31d HIDILNIMOTAHIAO MmoudodWOH¥dgSW JILVYIUD 6p{dd4L oO03MNIeVOsDE€S0S LNIVoO¥vVDddSlldd4nn0s4sHJIINIOLMOVANAVYYHVOHYDONVYE NO YaLvIHO YO TYN03 oB‘>MHXPgIO9=A°TX31OAd]HWI4ANLSAIOd°NI OZS4lTzNOYodIv¥Ld3VylIOnd1sOd A€1O4NLYO3Io¥Lv8dVIlOnd170sdO AZaS91NLOV5dIYlL€HIzV3HnOEd1ysd0S adey €95dns LOoVYyldns9 ONILVYO1d ZANY¥3Id0 ><x < (72 = oc ) O b= = < 7] LU - e O < - 39 LBXILDdASHAVSSHD0HdIXIINODNyAAo) ‘[€40L]za7L1sdl‘‘Hy‘gon°*L1THsYAMoDMa41YsYHSUyY°4°-sSYy*"v4-€4€N194LnaaJHnNOInNSYiSVssWS3aHLL‘J‘_gMNEHT9WVIIdNW-VYYd__Wn"J°°sOdJNTN‘N4IWIMDIQIWLYWNTdYOJOTHIIM0MMA1°*°¢dJJdJ‘IIMIAAYdNQdYYd3advOdIq"gY8pg§JJg@Bg96>>>4>>a343Id10d14d344iS4d11sSddaaP@>>99ONNII¥HLLSSPgggJJPg#@dd=====J44d413D20II1444ddd111SsdddP#==55ONNII¥HLLSS OSHIHH2)NIYIVIAIOWOWOLAIIIIVLLDDONNAAN1IIQIdMMMOOMOOTTOTTJJTAJII4J¥YHYNYYIIIA3YAAAIOO00OA0O MM)2M M]122)OomoouuddYd¥ooodddWWWOOOoooHd¥dddgdgSSSWWW 1a%deL JHLLsSLL 1LSS33lL JH OONNIILLYYOO0TTdd a1(3A%sd04)zeo <€€vZ£dH7AdL4EnN0NsSISTANL1SLOOVoVvvd‘HdMlLlIYgddEnnNssHSAHL HI NYaOEd7SNno1OIvsNLd€S IYL‘OY9A¥a 0OY1NdYANH‘YM3¢9 €O Yd3°OGAdNN0IYoT¥J3IIdA0 €ST6 9adLSn1‘sMdc°L1OSIod1vL4dnlsLJdLnX‘s9gvaVI°NdaIdVvIdUaInsWNNI9AWNVY‘dMdY0o VAX-11 INSTRUCTION SET (CONT) AZdI[1NMDAOYE¥NO"l3dsNM4nS0s A£QI€DNOMYVYdH3oVLndEMNs0S HLa9NISdLYISeOTLsd 40 > < X D = = 2] - o ) O - © = 72 LLl - e Q = = ANY¥3d0 £ 9NO1 HO-3AISNTOXA £THOX an 41 4aaaa2addd4doa1iedandLsss dd00Sss4dd =««&«==¢««JCddQddQQQ3IIIIIAAAAAAMHYYHUHYEIIIIIISSSSSSIIIIHIIYYYYYYOOOOOOLLLLLLTTTIIYYYVYVLLLLLLIIIIIIODDDDODIIIIIIAQAAAA¥T #¢I ¥#¥¢¥¥T »»+ vie JY H A¥T U O T 3 T P U O ) S 8 p o D aadLes « dIAHY¥ISHIY OL TYLIODIA ¥ ages «JIAHISIYOLYLIODIQ¥T aqvs « d3IAYISIEY OL ITVYLIDIQA ¥ aaaaddsLLLe =««« QCdQIIIAAAYYHIIISSSIIIAYHY OOOLLL ITYYYLLLIIIOODIIIAAA ¥¥I # v JY D ¥ aSadduqaUtoeT3oNIo3s3ul ««a dAJIAAYYIISSIIYYOOlLTTYYLLIIDDIIAA¥» > < X D == = 2, = o - &) - o = %2 kLl fem e o 2 = «¥aQTOIYdALYaILDSsIYA 42 =dIAJIYAIYSISHIEY¥04OLTITVYLIdDWILA ¥ suoI3oNaIjsul=«JIAYISTYOLYLIDIA¥T adsad agsd CEE d444 VAX-11 INSTRUCTION SET (CONT) USOTa3IpTPoUO) 43 BRANCH CONDITIONS Opcode Conditions BGTR N or Z =0 BLEQ N or 2 =1 BNEQ Z =90 BNEQU Z =20 BEQL Z =1 BEQLU Z =1 BGEQ N =20 =1 BLSS N BGTRU Cor zZ =20 BLEQU Cor Z =1 BvC V=2 BVS V=1 BGEQU cC BCC C=20 BLSSU c =290 =1 BCS 44 CHAPTER 3 "EXCEPTIONS AND INTERRUPTS INTERRUPT AND EXCEPTION DEFINITIONS Interrupt An event jump, changes than or the an exception, call branch, instruction that execution. normal flow Interrupts of instruction are generally external the executing the Exception other case, An to interrupt event process when occurs. detected by hardware other than an interrupt, jump, branch, case, or call instruction that changes the normal flow of instruction execution. An exception is always caused by the execution of an instruction or set of instructions. There ® Trap An are three exception end of the would Fault A The PC saved the next normally have been that instruction and memory allows the ® Abort that on at the caused the the stack 1is that instruction executed. in the leaves the middle of registers 1in a consistent state that instruction to restart and give correct been cleared An exception results or instruction memory may prohibit in an an once the fault has eliminated. that an and 47 occurs and exceptions. that occurs of condition an of instruction exception. the address e types condition occurs and in leaves the the indeterminate instruction middle of registers state restart. that SYSTEM CONTROL BLOCK dOLD3A LANHYALNI LdNYIHTLNI LAdNYILNI LdNYILNI NOILd3OXH /Sayd L1y4dISv L1ndvaSd OET-001x OLT-0V1+ Od1-68Tx 2d1-8D1« MWHD dWHO NWHD x8d xod ¥IMOd TI¥d BTx dDIAYAS NI 1g0M LINVYA 48 ddIlx PT 2s 8o o0 89 o6 m | | *ATuo @8L/TT-XYA = ado AYOWEW ‘d0S8S83D00dd UOT3TPUOD GITVYA LON MOVIS T1INYAM ‘MDIHD INIHOVW ad l7=x 6d iT=x Ld T1x 9d¥dTIx Sd Tls d4dIx OT INTERRUPT PRIORITY REQUESTS 49 EXCEPTION CONDITIONS Condition Machine Kernel Vector check stack Reserved not DEC privileged g4 valid opcodes instructions Reserved customer Reserved operands Reserved addressing Access control Translation 28 and 10 opcodes 14 18 modes 1C violation not 20 valid 24 Trace trap BPT 28 opcode 2C Compatibility Arithmetic mode trap 30 trap 34 CHMK opcode 49 CHME opcode 44 CHMS opcode CHMU opcode 48 4C 50 a. oc o O L L %2 & ) p = oo O = a0 e O Q X 7y 0TY oc+ oY 8E+ 0T+ 51 CHAPTER 4 MEMORY MANAGEMENT VIRTUAL AND PHYSICAL ADDRESS SPACE VIRTUAL ADDRESS SPACE 31 [ 0 32 ADDRESS BITS J N FFFFFFFF g RESERVED £0000000 44 | SYSTEN VIRTUAL : BFFFFFFF 16 SYSTEM SPACE CONTAINS PROCESS PAGE SPACE TABLES FOR ALL PROCESSES S0 SPACE ON SYSTEM 80000000 1 /FFFFFFFyg _ ) CONTROL SPACE CONTAINS INFORMATION MAINTAINED BY SYSTEM INCLUDING USER P18 40000000 44 | STACK PACE | PER PROCESS 3FFFFFFF ¢ VIRTUAL SPACE PROGRAM SPACE CONTAINS PROCESS IMAGE CURRENTLY EXECUTING PO SPACE 00000000 16 4 TK-0036 PHYSICAL ADDRESS SPACE 29 0 30 ADDRESS BITS VAX-11/750 VAX-11/780 FFFFFFg 3FFFFFFF1g 1/0 SPACE F000001 ¢ EFFFFF1g 14 20000000 g 1FFFFFFF PRIMARY MEMORY SPACE 000000 00000000 45 TK-0037 55 PAGE TABLE FORMATS AND PAGE TABLE ENTRY FORMAT PAGE TABLE FORMATS SYSTEMREGION PAGE TABLE PAGE TABLE ENTRY FOR VIRTUAL PAGE O (FIRST ENTRY) SYSTEM BASE REGISTER PTE FOR VPN 1 (CONTAINS THE PHYSICAL ADDRESS PTE FOR VPN 2 OF THE FIRST ENTRY OF THE PAGE TABLE) SYSTEM LENGTH REGISTER (CONTAINS THE NUMBER OF PAGE TABLE ENTRIES, N) PAGE TABLE ENTRY FOR VIRTUAL PAGE N - 1 (LAST ENTRY) PER-PROCESS PAGE TABLES SYSTEM REGION PAGE TABLE CONTROL REGION BASE REGISTER PAGE TABLE ENTRY FOR VIRTUAL PAGE 2*22-N PTE FOR VPN 2%22-(N-1) (CONTAINS THE VIRTAUL ADDRESS PTE FOR VPN 2*22-(N-2) OF BASE OF THE PAGE TABLE) PTE FOR VPN 2*22-(N-3) CONTROL REGION LENGTH REGISTER (CONTAINS THE VIRTUAL ADDRESS OF THE FIRST ENTRY IN THE PAGE TABLE FOR VIRTUAL PAGE NUMBER 2**22-N, WHERE N IS THE NUMBER PTE FOR VPN 2*22-1 (LAST ENTRY) OF PAGE TABLE ENTIRES) SYSTEM REGION PAGE TABLE PROGRAM REGION BASE REGISTER PAGE TABLE ENTRY FOR VIRTUAL PAGE O (FIRST ENTRY) PTE FOR VPN 1 (CONTAINS THE VIRTUAL ADDRESS PTE FOR VPN 2 OF THE FIRST ENTRY IN THE PAGE PTE FOR VPN 3 TABLE) PROGRAM REGION LENGTH REGISTER (CONTAINS THE NUMBER OF PAGE TABLE ENTRIES, N) PTE FOR VIRTUAL PAGE N-1 (LAST ENTRY) TK-0732 PAGE TABLE ENTRY FORMAT 31 30 V| PROT M 00 21 20 27 26 25 MBZ TK-0714 56 PAGE TABLE ENTRY PROTECTION CODES Code Meaning K E S U @ 7] 1) ") * * * * g 0 0 1 Unpredictable 8 g g 1 @ R/W * * * 1 1 RO * * * 1 0 @ 1 1 @ R/W 0 g g 1 g 1 1 9 g R/W R/W R/W * * 1 1 RO RO * * ¢ 1 R/W R/W RO * 1 RO RO RO R/W RO R/W 0@ R/W @ 1 8 1 R/W R/W 0 8 1 R/W 1 @ RO * R/W R/W RO RO * * * * 1 ¢ 1 1 1 1 1 @0 1 1 @ R/W R/W R/W RO RO RO RO RO 1 1 1 1 RO RO RO RO K E ¢ @ 1 1 R/W R/W Kernel Executive S Supervisor U User * No RO R/W Read Read access only write ] (09) Kernel 1 (21) 2 (19) Executive Supervisor 3 (11) User Mode 57 4H70L4O=NIT400d )0d30VdS AVYHON . 400440404V2 h NdAL+N fo—oO]Nd.A[ 444444489 44444444 EYNEREL IVNLHIA ssavaav 30vdS 0000 .ONdA | Y (0d) 0 0 0 0 . Z+N.NdA 10HLINOD 8 0 0 0 0 A d N 0 WILSA°S 4444444¢ V4=Y3WH¥03LWIOLSNd01AI3SdTSv.dS dNA Z NdA < 58 J NdA L NdA Z ZNaA d4Ad=N =N 3T9VNdLHFIAV3H9SVdH3HIGWGNWNN L-NdN Ndd € Ndd ¢ Ndd 1 Ndd 0 viva NSNOILVYJ01 IYIN AHOWIW EXAMPLE OF PAGE FRAME ALLOCATION (RELOCATION) STLO-AL VIRTUAL AND PHYSICAL ADDRESS FORMATS VIRTUAL ADDRESS 3130 29 00 09 08 ~ BYTE @ VIRTUAL PAGE NUMBER 0 PROGRAM REGION 01 CONTROL REGION 10 SYSTEM REGION 11 RESERVED 0 PHYSICAL ADDRESS (VAX-11/780) 313029 28 < PAGE FRAME NUMBER 000 MEMORY ADDRESS 001 I/O SPACE ADDRESS " > WITHIN PAGE 00 09 08 ><4——WITHIN PAGE TK-0734 59 pradpdzZo©e0e©¢e—]=Em—o0o©oeopdEOao”0.0-eoeo=2wQ-AA 7 |: Z oa 151s2 8-¥y[ZLoLE R B e|e <>0 Qgr oeVSi>|*=ovFEQoWlxoeo|o-o=-oQP.000opl3-|0a|0aE%0xMR2001“6.la0l0el©2EA®)a=.<QOSHAMDH%DIo2a9O]-=W Vo L 75 -O [ 60 w a |2[=SBlE53z2lE LL el /_ TK-0035 SYSTEM VIRTUAL-TO-PHYSICAL ADDRESS TRANSLATION, EXAMPLE Eoz __ ; ; __ ; P_ P_o_o_o_ __F_ __o_o—o_o_o_o_o_o_o_o_o_o_o_o_ V.1va 40 SS3HAAY 1VIISAHd | O 3_ € 3 94£3008VASILSAS g AN R e 3 3 a B0000 S £0000030000 _ | _ o] [o]e]o]o o[ [o o +] [e o]: [e[o] [o[ ]o[]o[t]o] | [olofo[o]o]o]o]o _ 1tOFLBBE92SC¥Z€2£2IO6Z161ZL8L51b1£F24L101608009050v0€[0DZ0(06 L_ sinasnoEoOv6aTByTouTL]9IESoOT]FEY6LZoBT]ZL.oZ192oOSZobZoLE£2LVZoL]G0LZOJLZo6I[1BoL]1EoZL]o19L]0SLo1V0oL2o08ZJEL0oEVLJ0YoLO[SoO6BJL0oL[0oB]O.6LGo0O9+0JL5o0JYoOJ€o0]FeZ0JoL0[0o]zoo0ov , :3LON¥XNdASI03SNOLGHOMONOTNOITY$31d r— I E O F 6 Z 8 2 L T 9 Z G Z b Z € 2 Z 1 Z O Z 6 1 8 L L 1 9 L G t b 1 E L Z L L L B O G O L 2 5 0 0 9 0 ¥ 0 2 € 0 0 1 0 0 nI avLEOF6TBZCLE9TTSLTVZi\_oLL£BZL£EL2SOTCZLZT9LZLELY:L.SC:L1LLZ0B102L0¥£0£¥10S0910OLL06800B)6O0£LT0l5owz£m_b\uz0oub~. PROCESS VIRTUAL-TO-PHYSICAL ADDRESS TRANSLATION, EXAMPLE BOL-NL . 62 . . 008008= H80d Pty 0 1020 £0 b0 S0 90 Z0BO GO OL L CLEL PLGLOZL BL 61 OZ 12 Z EC VT ST 92 LT BT 62 OE IE CO0LVS9B¥1EPZLCLF0ETLO08B06G0OE 204l fi8_0 "w L TSO0H3L0lNODV 0\ oi |_ttLEsn_Jo8]6—o0|[[ XdHE L_ —— T3VoOIVSAHd ! 10HLNOD S3ld| vd— A|w|1oud ]nad[ |e.xooow:nw_v1a||.]||tnnVa5AnS|RoNa[_|A]e-|Loyd[w]VA]|NNaa|gd[|o8{f—Jvd|||wjioudA|aH]OW3aIW|Nd[Ale{w]Lod|Nd[ LIHFded¥d-SIATIHLIY ADDRESS CALCULATION FOR A TB HIT DURING A MISS MICROTRAP 3TOVNY34I3D4I3HO H4MVS31O4vI14N3 ‘WO8H14 " ZEO-ML | r 0 CHAPTER 5 OPERATING SYSTEM VMS BOOT PROCEDURE VMB loaded is the in BOOT58 control into physical memory and gains from CONSOLE, instruction boot block JMP a via or @ on the boot device, START BOOT. routine If the software VMB begins by creating and initializing an SCB. bootstrap control flags specified a bootstrap breakpoint, VMB then executes a BPT instruction that transfers control to XDELTA. After the XDELTA breakpoint, initializes VMB structure, that is, a restart parameter block (RPB) a system data that allows a The RPB holds the system reboot after a power failure or crash. bootstrap input registers, the boot device's CSR and bus configuration register (CR), the address of the RPB, and pointers to a primitive device driver. VMB, the primary bootstrap, also identifies all physical memory in the configuration by creating a bit map in which each bit represents one page of physical memory. In the process of testing all memory, VMB determines which NEXUSes on the system bus are attached to adapters. For every adapter present, VMB records the adapter type Finally, VMB default, by in the RPB. a chooses boot flag secondary settings, bootstrap by or image - either a soliciting by file VMB uses a minimal driver for the specification from the user. bootstrap device to 1load the secondary image into memory and transfers control to that bootstrap. The secondary bootstrap - usually SYSBOOT.EXE - uses the minimal driver device. VMB from VMB has to read and write such as to from and Thus, SYSBOOT is device independent. CPU dependencies system bus the bootstrap addresses, memory controller registers, and bus adapter register formats. VAX Therefore, VMB consists of common code that applies to all one implementations, and CPU-specific code that applies to The current version supports the hardware implementation only. following ® ® e CPUs: VAX-11/780 VAX-11/750 VAX-11/730 Inputs: RO <31:4> MBZ <3:9> boot device type code Y] MASSBUS device (RM@2/3, RP04/5/6/7) 64 Console block storage device 1 2 32 R1l RK06/7 RLO1/2 RSC on CI Boot device's bus address 11/789 <31:4> MBZ <3:8> TR number 67 of adapter VMS BOOT PROCEDURE (CONT) 11/750 <31:24> <23:8> R2 MBZ Address of the device's boot the 1/0 page for adapter UNIBUS: <31:18> MBZ <17:8> UNIBUS : address of the device's CSR MASSBUS: <31:4> MBZ <3:0> Adapter's <31:8> MBZ <7:0> HSC controller/formatter number CI: R3 R5 Boot device Software Bit g unit boot port number (station address) number control flags Meaning RPBSV CONV. Conversational boot. At in various points the system boot ©procedure, the bootstrap code solicits parameters and other input from the console terminal. RPBSV DEBUG. Debug. code If this for the system page RPBSV INIBPT. Initial set, flag is XDELTA tables of the breakpoint. VMS after VMS maps a into running If executes immediately set, debugger system. RPBS$V DEBUG BPT enabling the the is instruction mapping. RPB$V_ BLOCK. Secondary boot from boot block. Secondary is single 512-byte block, bootstrap whose LBN is a specified in R4. RPBSV_DIAG. Diagnostic boot. image Secondary bootstrap [SYSMAINT]DIAGBOOT.EXE. called is RPBSV BOOBPT. Bootstrap and breakpoint. secondary breakpoint Stops instruction memory. 68 the bootstraps before primary with a testing VMS BOOT PROCEDURE (CONT) Meaning HEADER. RPB$SV Image header. Takes secondary boot file. the transfer address bit of in the memory from secondary bootstrap image the of If header. image file's that transfers set, not is RPBSV HEADER the of byte first the to control RPB$SV NOTEST. Sets a Memory test inhibit. page each for bit map PRN Does present. the memory. test not RPBSV_SOLICT. VMB prompts for the name of a File name. secondary bootstrap file. RPBSV HALT. before instruction to 10 the secondary transferring PFN intended deletion to a HALT control bootstrap. RPBSV_NOPFND. No Executes transfer. Halt before tell VMB (not not to implemented; read a file from the boot device that identifies bad so that VMB reserved memory pages, or does not mark these pages as valid in the PFN 11 bitmap). RPBSV MPM. SpeciFies that multiport memory is to be executive memory total the for used No local memory is to be requirement. used. This is tightly for coupled multiprocessing. 12 RPB$V_USEMPM. Specifies that multiport memory should be as memory, 1local to addition 1in used of though both were one single pool pages. 13 RPBSV_MEMTEST Specifies that a more extensive algorithm for used when testing main memory be hardware <31:28> uncorrectable (RDS) RPBSV TOPSYS errors. SpeciFies the top level directory number for system disks with multiple systems. 69 VMS BOOT PROCEDU (CONT) RE The hardware registers or after a the CONSOLE system crash R10 - halt PC R1l1 - halt PSL Ap - halt code SP - <base address + Implicit inputs: When VMB diagram: gains control, program sets or failure: power "X200> physical of up 64KB memory of looks the next good memory like the three following SP-"X200: Restart Parameter Block (RPB) SP: Primary Bootstrap (VMB) Outputs: R19 - base address of region containing secondary bootstrap R11 - address of SP - current stack pointer - system control block PR$ SCBB Implicit outputs: When transfers VMB restart control memory is to laid parameter address the out block secondary as in the bootstrap, following physical diagram: RPBSL BASE: Restart Parameter Block (RPB) base+"X200: Primary Bootstrap (VMB) PRS SCBB: System Control PFN Block (SCB) Bitmap PFNMAP+ "~ X800 : Stack SP: Secondary The design for the than four pages of Bitmaps that allocated the pages address do not fit in good pages are actually one (SYSBOOT) PFN bitmap has been extended to handle more bitmap equal to eight megabytes of memory. contiquous plus Bootstrap the good, megabyte. If four-page in the a higher reserved memory. bitmap page in area are Assuming now that is placed at the RPB that area is bad, the enough is where compatibility, the the next contiguous run of pages that 1is big bitmap will be ©placed. For backward RPBSQ PFNMAP descriptor in the RPB points at the preallocated bitmap, which is correct for the low eight megabytes of The real descriptor for the bitmap is passed in the four-page memory. argument list. 70 (3Tned) YyiIma9yl:3ewio mm L & uotjeTora y3zbusy WIS 10 ‘¥ITd ‘¥10d = T ¢3dnisjur L91qIsadoel D Uuo13TpuUcH $$$$SSSSAAdAIANNQOAALLLLTTTTdIdddd TbbbueuuiwrrjijjzdeeeoosoTllpldd/dbuMMmiooojrTrJeFjioIislsaadppuuonndp3PI3TInA{eTnJPej S33SUUuUoOoOONNNN ($(dS3eTanyeA)qI)QL1ddcUBOuuITolJIrjO3ieNOdoINsTJIodSJxUSsTUmLToT3spF1®yI@J3il1As0juuonrojddussox4+asyabaunnooiNieya3jsz:9*1L19e.L2Z€ SUMMARY OF EXCEPTION CONDITIONS (CONT) u/ToesatRjUOeudTsIeaTwItAuPTnedYbLxiyNg dLIe=d1l3j (deig) 72 $ANVS¥d0oYd $T1ISVAS (3Tned) $S ONYENS uoT3TPUO) $((S33TTnnee¥dYd)A)qUOVYd 3Tnes (peTqeus SUMMARY OF EXCEPTION CONDITIONS (CONT) (3Tned) 73 (3Tned) PROCESS PRIVILEGES Privilege Definition CMKRNL May CMEXEC May SYSNAM May GRPNAM May ALLSPOOL May DETACH May change change insert insert mode to kernel. mode to executive. in system logical name table. in group logical name table. allocate spooled device. create detached processes. May diagnose LOG_IO May do GROUP May affect ACNT May suppress PRMCER PRMMB X May May create create DIAGNOSE PSWAPM ALTPRI SETPRV TMPMBX WORLD OPER EXQUOTA NETMBX devices. logical I/0. other processes accounting permanent permanent in same common event mailbox. change process swap mode. set any priority value. set any privilege bit. May create temporary mailbox. May affect other processes in the May perform operator functions. May exceed quota. May May PHY IO BUGCHK May May make bug check log entries. create permanent global sections. create system-wide global sections. May SYSGBL May MOUNT May execute PFNMAP SHMEM May map May create SYSLCK world. May PRMGBL SYSPRV cluster. May create network device. override volume protection. May do physical 1/0. VOLPRO group. message. to mount ACP functions. specific physical pages. global sections and mailboxes in multiport memory. May access objects via system protection. May allow user's process to lock system-wide resources. 74 SYSTEM ERROR LOG FORMATTER (SYE) UTILITY SYE The reports utility the a is contents of automatically writes named file log events following system tool management an error 1log file. messages to the selectively that The VAX/VMS system latest version SYS$ERRORLOG:ERRLOG.SYS whenever an of error one of the is detected: Errors - Device errors, machine checks, bus errors, soft error correcting code (ECC) errors, asynchronous write ® errors, or hard ECC errors ® Configuration changes - Volume mounts and dismounts ) System events - Cold startup, warm startup, crash startup, message received from the send message to error logger ($SNDERR) system service, or a time stamp All SYE reports are 72 columns wide, so they can be displayed at SYE reports are primarily intended to assist the terminal. DIGITAL field service personnel. In some cases, however, they can assist in system management by identifying recurrent failures that indicate outside attention is required. Additional details about error 'logging can be found in the VAX/VMS System Management and Operations Guide. SYE KING AND TERMINATING INVO The following command invokes the SYE utility: $ Only RUN users the error SYS$SYSTEM:SYE with log the SYSPRV privilege or a system UIC can access file. SYE normally runs to termination and 1issues a successful To request completion message on the device SYSSOUTPUT. You can additional SYE reports, you must reinvoke the utility. interrupt SYE at any time with CTRL/Y. SYE PROMPTS SYE displays a series of prompts to which you respond with a value The or take the default by pressing CTRL/Z or the RETURN key. prompt ends with a question mark and indicates the default within A list of prompts and types of valid responses square brackets. follows. The responses are described in later sections. Prompt Valid Response [SYSSERRORLOG:ERRLOG.OLD] INPUT FILE “OUTPUT FILE [SYS$OUTPUT] [ROLL~-UP] OPTIONS Input-file-spec output-file-spec Report-option _BEFORE DATE [LAST ENTRY] Before-date-spec "DEVICE NAME [<CR>] ([FIRST ENTRY] :AFTER DATE 75 Category-type After-date-spec SYSTEM ERROR LOG FORMATTER (SYE) UTILITY (CONT) VALID RESPONSES TO SYE PROMPTS This section describes the responses SYE prompts in the proper order. you can enter to each of the If you do not specify a file, but simply respond by pressing RETURN, SYE the highest version of SYSSERRORLOG:ERRLOG.OLD by default. uses Input-file-spec The file specification for the input log file. The file specification may be any valid VAX/VMS file specification. Wild card characters and logical names are allowed. You may also error use log request. the special entries as However, use file they of specification occur the on the MAILBOX MAILBOX, system, feature of which reports in the form you SYE requires the user privilege DIAGNOSE. The fields you omit default to those for VAX-11 FORTRAN wunit 1, that 1is, the highest wversion of SYS$SSYSROOT: [default-directory]FOR@@1.DAT (SYE is written in FORTRAN) . Output-file-spec The file specification SYS$SOUTPUT, If you which want to it with identify is for direct any allowed. Omitted 2, that is, output your the valid fields the [default-directory] the usually output file report file; the default is terminal. to a specific specification. default to highest those for version file, Logical simply names are VAX-11 FORTRAN unit of SYS$SYSROOT: FORP@2.DAT. Report-option Any one of the following the type of report option, which is the B (brief) change, C - and brief - A report of being of the report is only requested. meaningful when represented (rollup) error S - and hexadecimal report be - each accept error, to request the default configuration error A full report system event being 76 the device occurred. registers The with no explanations. on a totals (either requested). of errors providing requested can (standard) change, A report in (to contents device categories abbreviations reported. particular R time report event a are the A system (cryptic) at single-character you want, or RETURN rollup report). a This of for single is the each reported. values This single device each category category or are of all default. error, configuration SYSTEM ERROR LOG FORMATTER (SYE) UTILITY (CONT) Category-type Either the or else a If you that name of to device whose review. by respond Details device errors you want follow on how to RETURN, pressing reported specify these. in the Device name - Valid VAX/VMS-supported device names appear device name The asterisk table specify the of errors on the DR*, you obtain A of your DR controller A. device name logged on all DR devices; on 7 unit For example, DRA7 of report a extracts errors only complete a device; for the particular DR Previously This is a change from earlier versions of SYE. Now could request reports on all DR devices by specifying DR. You should must specify DR* to obtain the same report. specify an underscore () with the device name; however, you specify a colon 1f errors of if you specify DRA*, you obtain a report controller specification of device VAX/VMS Command Language User's Guide. wild card character 1s allowed. (*) you in all of report a receive you every device). every category and (for errors a qualifier that requests particular categories of errors you want you you not can (:). In addition, you can specify other DIGITAL-supported devices that may be on your system that were not provided with the VAX/VMS system. That SYE accepts a minus sign (-) as a prefix for a device name. , the SYE report covers all devices except is, if you specify -DR the DR disks. the any one of several of these Category type qualifiers - You can specify Note that following category type qualifiers. qualifiers qualifiers, described. separated accept you by can a Specify commas. device-name specify one multiple Use a or specification. more device-names in asterisk single For as device-names, these just parentheses, (*) card wild character as the device-name specification to request a report of (You can also all the errors of that category on all the devices. use the asterisk wild card character in the device specification, as already described.) /BU[=NO_ORS] can You entries. bugcheck All request that the operator-requested shutdowns be omitted by specifying /BU=NO_ORS. /CO=(device-name(,;...]) /CP Configuration mounts Machine errors, changes due <checks, applicable volume applicable interrupts, uninitialized SCB vector (on a VAX-11/788 only). 77 to and volume dismounts. Dbus and interrupts SYSTEM ERROR LOG FORMATTER (SYE) UTILITY (CONT) /DA=(device-name[,...]) Device attention entries. These device errors can occur even when there is no I/0 request outstanding such For example, on the device. /DE=(device-name([,...]) errors can are on run occur a Device error diagnostics : bit(s) set entries. /DT=(device-name[,...]) Device /ME Memory errors detected by interrupts scanning code and the and fatal memory machine check the /SY I/0 when TU78. timeouts. errors code. logged by System events, such as system new fails, power system startups, error log file creation, system power fail restart, time stamps, operator and messages, receipt SSNDERR network messages qualifier messages, from the service. This errors. device Unknown /UN of system requests a report of non-DIGITAL all on found errors devices and all drivers not supported by DIGITAL. It also covers DIGITAL-supported drivers the have may that last released been release of SYE. since When you request information on the unknown devices, the report is developed on a "best try" basis, because SYE cannnot fully interpret errors on these devices. You can also specify a minus sign (-) as a prefix for any of the qualifiers to indicate you want all the errors in every category except this one. However, you cannot combine the minus sign on the qualifier with a minus sign on one or more of its device names. After-date-spec Time on format: error log dd-mmm-yyyy after which reporting hh:mm:ss.cc 78 begins, in the following SYSTEM ERROR LOG FORMATTER (SYE) UTILITY (CONT) This is the almost the in given format User's Guide for the absolute time format. you cannot the You log. SYE starts with the entries can field and (yyyy) 1If you omit the entire time specification by the hour field (hh). pressing RETURN, The only difference is between the year (:) specify a colon VAX/VMS Command Language omit obtain certain defaults. time the of portions at the beginning of and specification Refer to the description of the $BINTIM system service in the VAX/VMS System Service Reference Manual for the rules and examples of the defaults. Before-date-spec log before Time on error in ends, reporting which the following format: dd-mmm-yyyy This is almost hh:mm:ss.cc the in given format the User's Guide for the absolute time format. you cannot specify a colon (:) VAX/VMS Command Language The only difference is between the year field and (yyyy) If you omit the entire time specification by the hour field (hh). pressing RETURN, SYE includes all entries until the end of the 1log You can omit portions of the time specification and is reached. obtain certain defaults. Refer to the description of the $BINTIM system service in the VAX/VMS System Service Reference Manual for the rules and examples of the defaults. ERROR MESSAGES SYE rarely issues error messages on incorrect input; most often it A few error messages originated by SYE have a simply reprompts. facility code of SYE or some other system component such as RMS or SYSTEM. The VAX/VMS System Message and Recovery Procedures Manual lists these messages and provides explanations actions. report, you If any should other rerun type SYE of to error and message eliminate the suggested user appears error. error messages are reported as VAX-11 FORTRAN messages. in Most the SYE If you receive a recurring error message that does not disappear when you rerun SYE, you should submit a Software Performance Report to DIGITAL. (SPRs are described (SPR) in the VAX/VMS System Management and Operations Guide.) 79 TYPICAL SYE UTILITY ENTRY $ SET $ RENAME S RUN SYS$SSYSTEM:SYE SYE DEFAULT VERSION _INPUT OUTPUT ERRLOG.OLD/NEW VERSION X.X FILE: FILE: _OPTIONS: _DEVICE NAME: _AFTER DATE: BEFORE SYSSERRORLOG ERRLOG.SYS DATE: [SYS:ERRORLOG: ERRLOG.OLD] ?<CR> [SYS$SOUTPUT] ?ERRLOG.DAT [(CR)] [FIRST ?<CR> ?<CR> [ROLL-UP] [LAST ?R ENTRY] ENTRY] ?<CR> SPRINT ERRLOG.DAT 80 RUNNING THE SYSTEM DUMP ANALYZER (SDA) When the operating system crashes, the kernel routine writes the contents of the error log file, the processor registers, and . With the physical memory to a contiguous file called SYSDUMP.DMPparts of the help of the SDA commands, you can analyze and display Or, you formatted system dump file on a video display terminal. can create hardcopy listings. Any user may run SDA by typing the DCL command: $ RUN SYSSSYSTEM:SDA When you issue this command, SDA will prompt for the name of the system dump file you want to examine. Enter name of dump file > the most recent system dump, 'To examine prompt: Ppress RETURN at the Enter name of dump file > SDA will search the system directory [SYSEXE] (logical name SYS$SYSTEM) for the SYSDUMP.DMP file. To examine an older system dump, enter its file specification. Enter name of dump file >DBO. [EYSEXE]SYSDUMP.OLD SAVING THE SYSTEM DUMP FILE Wwhen the kernel routine writes data into SYSDUMP.DMP, it todestroys make a the previous contents of the file. Therefore, be sure copy of the file under another name. Use the VMS copy command or the SDA copy command to save the file. $ COPY SYSDUMP.DMP SAVEDUMP.DMP or SDA>COPY SYS$SYSTEM:SAVEDUMP.DMP 81 SDA COMMANDS Command <{escape COPY Function key> Repeat Copy last dump command file DEFINE Define EVALUATE Perform computations EXAMINE Examine memory EXIT Exit FORMAT READ Copy symbols from Format and values locations display data blocks object module SET OUTPUT Set output to SET PROCESS Set to current the their or utility symbols device or file process CRASH Display crash SHOW DEVICE Display SHOW PAGE Display I/0 data structures system page table TABLE SHOW PFN DATA Display SHOW Display Display SHOW POOL PROCESS information PFN data base dynamic memory specific process SHOW STACK Display process/interrupt SHOW SUMMARY Display SHOW SYMBOL Display process summary symbol table Three help files within SDA will provide specification context SHOW information stacks explanations. e HELP<command-name> Briefly explains a e HELP Briefly explains e command HELP format Briefly explains the utility SDA 82 command SDA FILE TRANSFER UTILITY (FLX) HELP FILE FLX Extensions Qualifier File Type /IM (Image Mode) TSK, OLB, SYS, SML, ULB, EXE OBJ, STB, BIN, LDA All others /FB (Formatted Binary) /FA (Formatted ASCII) For making a file copied to a /CO (Contiguous) disk contiguous. Before entering the Files utility (FLX) you must mount the floppy: $ MOUNT/For CSAl: To enter FLX> running under VMS type: $ MCR FLX (Note: The $ is the prompt for VMS.) The proper response to $MCR FLX should be: FLX> If the floppy has never been used and needs to be initialized to RT-11 format: FLX>CS1:/RT/ZE To copy from disk (Files-11 format (RS)) to floppy (RT-11 format ) (RT) FLX)CSl:/RT=FILENAME.EXT/RS/IM or FB or FA To copy from floppy to disk; FLX)/RS=CSl:FILENAME.EXT/RT/IM or FB or FA To copy from floppy to disk and make the file on disk contiguous: FLX)/RS/CO=CSl:FILENAME.EXT/RT/IM or FB or FA To delete one file on floppy: FLX>CS1:FILENAME.EXT/RT/DE To obtain a directory of the floppy: FLX>CS1:/RT/LI To copy SR@EBOO.CMD from floppy to disk: FLX>/RS=CS1:SRPBOO.CMD/RT/FA To copy CONSOL.SYS from floppy to disk: FLX>/RS=CS1:CONSOL.SYS/RT/IM 83 FILE TRANSFER UTILITY (FLX) HELP FILE (CONT) To copy DR@PBOO.CMD from disk to floppy: FLX>CS1:/RT=DR@B0O0O.CMD/RS/FA To copy ESSAA.EXE from disk to floppy: FLX>CS1:/RT=ESSAA.EXE/RS/IM To delete a file from the floppy: FLX>CS1:DEFB0O0O.CMD/RT/DE copy ESSAA.EXE from floppy to disk contiguous: FLX>RS/CO=CS1:ESSAA.EXE/RT/IM To make a using RTB, $ Then ASSIGN invoke $ The file bootable, you enter the following MCR SYSSDISK: RTB must use the utility assignment using DCL: TR by: RTB correct response should be: RTB> Then perform the following: RTB>CS1:=FILENAME.EXT Example: RTB>CS1:=CONSOL.SYS To exit either FLX> or RTB)>, type 84 CTRL/Z (7Z). RTB. Before TERMINAL FUNCTION KEYS return.) (Carriage RETURN system the to line terminals, the RETURN Before (On some processing. key is labeled CR.) 1login initiates session, terminal a current the Transmits for sequence. Control characters Define functions to be performed when the pressed are key another and key CTRL "~ simultaneously. All CTRL/x key echoed on the terminal as “x. CTRL/C are command cancels entry, command During sequences processing. Before a terminal session, initiates 1login sequence. CTRL/I CTRL/K Duplicates the function of Advances the current next the to 1line stop. tab vertical the TAB key. feed. CTRL/L Form CTRL/O Alternately suppresses and continues display CTRL/Q CTRL/R to Restarts terminal Retypes the that output suspended was by CTRL/S. the line. CTRL/S terminal. the of output current terminal Suspends line input the at positioned cursor until output leaves and of the CTRL/Q 1is end pressed. CTRL/U CTRL/Y CTRL/Z Cancels the current line and discards Interrupts control Signals end-of-file the DELETE or command returns to it. program execution and the command for data interpreter. entered from terminal. Deletes the terminal and terminals, last character backspaces the DELETE entered over key it. 1is the at (On some 1labeled RUBOUT.) ESCAPE TAB Has special uses in particular commands or programs, but generally performs the same function as RETURN. (On some terminals, the ESCAPE key is labeled ALTMODE.) Moves the printing the to terminal terminal. Most element or tab next terminals have cursor on the stop on the tab stops every eight character positions on a line. 85 at EDT VERSION 2 VT100 KEYPAD GOLD HELP FNDNXT DEL L FIND UND L PAGE SECT APPEND DEL W COMMAND| FILL REPLACE | UND W ADVANCE | BACKUP | cuT DEL C BOTTOM PASTE UND C | TOP WORD EOL CHNGCASE| DEL EOL | SPECINS | CHAR LINE SELECT OPEN LINE RESET ENTER SUBS BACKSPACE GO TO BEGINNING OF LINE DELETE DELETE CHARACTER CTRL/A CTRL/D CTRL/E CTRL/K CTRL/T COMPUTE TAB LEVEL DECREASE TAB LEVEL INCREASE TAB LEVEL DEFINE KEY ADJUST TABS CTRL/U DELETE TO START OF LINE CTRL/W CTRL/Z REFRESH SCREEN RETURN TO LINE MODE LINEFEED DELETE TO START OF WORD TK-8976 86 EDT VERSION 2 VT52 KEYPAD GOLD HELP DELL | UP UNDL | REPLACE PAGE ENDNXT | DELW DOWN COMMAND| FIND UND W SECT ADVANCE | BACKUP | DELC | RIGHT UNDC | SPECINS BOTTOM | TOP WORD EOL cuT LEFT CHNGCASE| DELEOL | PASTE | APPEND LINE SELECT | ENTER OPEN LINE RESET SUBS BACKSPAGE DELETE GO TO BEGINNING OF LINE DELETE CHARACTER CTRL/A CTRL/D CTRL/E COMPUTE TAB LEVEL DECREASE TAB LEVEL INCREASE TAB LEVEL CTRL/U CTRL/W CTRL/Z DELETE TO START OF LINE REFRESH SCREEN RETURN TO LINE MODE LINEFEED CTRL/F CTRL/K CTRL/T DELETE TO START OF WORD FILL TEXT DEFINE KEY ADJUST TABS TK-8977 87 CHAPTER 6 DIAGNOSTICS 1 oo o O o« g = & o (@) LU 2z > < X @] < O = ) 72, - = (= 3UON SUON 9uoN SUON 3UON SUON SUON 9UON uorjejuaundsog Hoo01d 3ood PSL/TT-XVA ¥/N AYN03 5tk 0)avM0d gWADd vJadaod vyd0d MJdaod 44d03 4 P 1% £ £7€ PBSGLON XVA DI3SOUbRTIPOIDTIW PSL/TT-XVA DIN OT13SOoubeIpOIdTIW Wdd O13soubei1polIdTIW #SL/TT-XVA 103 TUOW DI3SOUBRIPOIDTIW PSL/TT-XVA @S5L¥d L4V 9pPODOIDTIW I13peOT PSLUd sauTyoewWoTIS PGLHd SUTYUDRWOIDTIW 91 047Zs4d O9YZSH '049z2s40vzZsy O'qVaZzSsda‘‘aovdzzssdd oosgaoo¥vHD3vga¥Ja0v4¥dy¥AdXxJvr1d9g4vdsa19dN0dOaaaoo3a8SSgssss5ds4a4sHyddiddodube1q bbY4z€£d4rz€e43€1£€de/9N491 @TP@SXW@gXgy¢@@X9yU8v8UVggEY8g8V1OYVO,LLA.OL/vLLA3-AK//yyu-TYIY1THTTdaaI1dd14DWWglUsV3T0EHI-nOAE1--3o/OTSETTT49YdWN31aXuXDHD01pebIBent1ToV9VYAUdPSuIu-e0i0A(RONWHoo3dydTlgTs¢DMIor1iaeIs3OTWtl8oleTyu1dp3(I(iIUILOdod@e3t9ToMseSTPDlHPDruoeudAW8aNIkY8‘sjRnndLML1d)rWsTaWUzVqgYgs12ydJ9OOYsa8NdyN14DTAjoOu1a))3SO999rI1ins1IdXrSATe7SArgo134O23T8OdiSTT9awSsU(A1IiL3S1exIlaNo9d30(Is-iuUXy0G7Qw19uri‘3Qo3ssO9-Ze1b3S-uJoITX)p8oT0Od10esb1uj3WieUo2ero9®b¥tO3I)je--nArsSequob(TZ€3yjH291q8rUbpTTiAoa7qAN1eINsT31gTLPTWrj19OyUeIuqIXIMOdQlgOQoxD)War1gT1y1III330WwSSsil1s3e99o1eoiLLdu9ubb8oee¥dO7Vitrdgg||‘d'V0a2c4o44vDA4dhql5€96Lc889v,€86¥died24zzvzZ272AW72ZzsskA5s5SS85354So44ckds43Hyd13dd!t’ag'‘’dogcvdzzssaad VAX DIAGNOSTIC PROGRAM CODES (CONT) 92 adzsd adzsd 93 adzsd VAX DIAGNOSTIC PROGRAM CODES (CONT) a44254‘dazdsz3sid‘’ddagzzssd4 g0d4a4Ja’T19Ivs1YvVoLisAsSaA4DddZ3d ZY 4o €£bg H€¥£ez JMTVP@MS-I-ILTMdTSAAIV¥aSddpOYTIA13P1de]8iI0@naYQToO3Id1/awdWDqp0wVds3LPIeayI@AODllO1[Ts-D89OqW1pAInNI3e0suAdD1we3udT92oRI0IOrAeIWA/jUi8edDIr0bUu1ldDooS39jriH0s1TuedoI1i3a3utjgdJuebD¥Inl11de0dj33sar1ousyTdqg8aUoDw]lunbdeogrg ¥zag4'as/Gyv9z2dzZNd2S2ssg43sydd’d9'd9zvZzSs3d VDavdgJY4I3vaAIdAOaaniTdT dZ€e DXTzDA-IYVdeTAz11QddYvZUTAHyd/o9Z1O13Tmt2Ws@3Ied1TA4ZeLiOdU3aDe/8OWSyqdb1TsU8uMa3yNt/usia1TIuWdnlaO1ItudsUlenO1Nt97dyDg04o1iS8s39nadpXsso7daiW1Teu9exO21LT0XDYgA39wlasT17yd3‘ios37T08uIbo1]sh3eia,odkIl1s0r[gT3NWs311o9euoxdbT9e3TrsdTqoIu3bIeNrWg|Do¥dv0Vo4v€6Lz2zZsSS34avd oYavOvg0V9v1adalYYoo3nALAAsssls3Tdddodube1q¥d1dd14v ¢7zz/z2eeN491XSZBUX3@vgV£OLO1VzMAST3ALdA/13TO9oOS1N1IPTUT>H[3ITOuU9is3ADOao9SOiE7uUIomH1b¥1]DwEDe8Is¥3ruWiz1DqpU9dgIuurSe3TduiToseeYadrOouiSjw1uoImjeD9Qebrsp1jXOiedj3uugo1nopsQudwooIOungpungbN1uUdgSe.or9wlHgpoEu)ewOw9uo7m)1oc4m9m1.._4naYdgda‘Aaz€a/€dc22zvzNzsszsso44isddtdad3ga‘avzsd VAX DIAGNOSTIC PROGRAM CODES (CONT) 94 ¥62Sd VAX DIAGNOSTIC PROGRAM CODES (CONT) 95 08Zsd OWYvYJA¥OWaSJWdAdNATaOdXVaxnL1XIsL1QVY0D1da4YdUo3OOOooWO00AsAAnAAnAaAnodTHYdzTdTYTTHzdube1qgYv¥Y¥vvZ€/YY4¥ZW 1€£4Y /9//N4NNNa97]XX©XVa@oaSS98dXS®o©@dYYV@]T1V1T[T1TVYu1LYI[gqQAgqqAgqAOAN3oTgeeeTe-L1lpppp4e893XT/4FTLReee9pe@‘S8RdoooouIOdOGNLNOTT-T’qSUTAW'We]]LL]9S]EdH/lI0/P]@SsfIs1I1I1N1XIwTe89s3A8d9S99La1Y3uNAA32TAI30A/1/oL/I1jdi1T3T1T9T1WrS/31sIedI1IsIIT19djU90wQQoQAAIgQlO/TsdTiu9L0qIIM-obQA/uDI11I11nA/genTaE000g0L€ddt133JO33JFFF0/Q1deQW0E1doLPTW3LL8gT8GCVTbCdt9a1T8AO1-LW@Iod@e/T(I916yIL3DONN4XLT7ddSaAO@SNW9TTYLLsW0dQ¥9A/AdLNDI¥M/oA/yPveTddTOAMT9u/MWs@8OlIQHddEqTSbT-XIQ/ISdRe)TXTLrYPT-WgHWeaEAAud2€odPtW3LidoungdV4v‘ad00d¥0‘av¥AYdA0¥a89€1W19¢sY€611yceZL6£g6d927Az£zZvgZ2z12zzd22s38zSAZSK2SsSso8s3ss8s4!435833ddd3td3da’L’44’‘/'a440vd'dvd089YEav211L€1Y€Zc122ZS2z2s8SsS84s84333dd43dd VAX DIAGNOSTIC PROGRAM CODES (CONT) 96 VAX DIAGNOSTIC PROGRAM CODES (CONT) ¥y zSd V¥ 3ded ‘or3soube1d TT9d¥ XVA 3 vduAd 97 PRIVILEGES AND QUOTAS NEEDED TO RUN DIAGNOSTICS ON LINE Privilege Quotas GPRNAM CLI:DCL ALLSPOOL ASTLM: 1000 DETACH DIOLM: 1000 DIAGNOSE WSDE LOG_IO PCRCLM: 100 GROUP PIOLM: 1000 PRMCEB FILLM: 100 PRMMBX WSQUOTA: PSWAPM PRI TMPMBX TGELM: WORLD PGFLQUOTA: PHY IO 98 FAULT: 256 512 1000 40 DIAGNOSTIC SUPERVISOR COMMANDS SET LOAD COMMAND <CR> SET LOAD <device>:[directory] the The SET LOAD command establishes the storage device from which supervisor will load diagnostic programs. The default loadSETdevice LOAD Use booted. was r is the device from which the superviso when you wish to load diagnostic programs from a different device. Use the SET LOAD command in combination with the LOAD command or the RUN command. DS> SET LOAD DMAQ@: [SYSMAINT] DS> LOAD ESDXA DS> SET LOAD DMA@:[SYSMAINT] DS> RUN ESDXA SET LOAD Command NOTE The directory name, Example and the square brackets around it, are necessary in the SET LOAD command. SHOW LOAD COMMAND SHOW LOAD<KCR> command causes the supervisor to display the storage The SHOW LOAD device from which diagnostic programs are to be loaded when the LOAD command is given. DS> SHOW LOAD DMA@: [SYSMAINT] DS> SHOW LOAD Command Example LOAD COMMAND LOAD <file-spec><CR> the specified file into main memory from the This command loads The default file extension is .EXE. The default load device. is the device storage device from which the program is loaded that you need established on the previous SET LOAD command. Note supply only the five-letter code that identifies each diagnostic program for the command line argument <file-space>. 99 DIAGNOSTIC SUPERVISOR COMMANDS (CONT) LOAD ESTAA LOAD ! Load ! diagnostic Command the local terminal program. Example ATTACH COMMAND ATTACH The <UUT-type><link-name><generic-device -name>...<CR> operator diagnostic devices testing Every designation first several to define ATTACH each commands, unit unit and a under test is under the ATTACH uniquely <link-name>, is is linked to the linked to a DWn. of the SBI; a Tu45 is You must attach SBI) before you the linked each can to third the parameter supervisor is the the generic particular GGan for name (alphabetic); a is controller; an n is a number of the it is device the specifying Use n supply the or device the a only must supply TR for a TM@3, and you do not necessary, In the and generic decimal unit some for vector, will as an and and a link in a DZ1ll (with in which tested. an the generic range of device. You hardware to of device. BR For the for information, a controller. the letter n is a decimal generic device name range that device. If is 100 @-255 may be any two you number information it, from A to Z number in the must enable example, controller UNIBUS but for the the @-255, to the form device specifying the is the identifies Use to you of ATTACH respect RH780, prompt piece hardware name, be types the the MTa; of character, applicable additional it number address an two-character with for of most cases through For example, an RH78¢ to to alphabetic numbers CSR, a designation of TE1l6, and DZ1ll are name device unit is are each hardware name: a a to supervisor is 1s BR the include the GG information program a .?? if additional diagnostic name. you for a in piece use command. The by a the hardware TM@#3, hardware that 1links the unit under test, intermediate links, to the main system bus. exception If command defined link. parameter, starting (UUT), and supervisor. parameter, second before test the <UUT-type>, is the under test. For example, RH780, designations. the unit hardware The use program, that link it to the SBI, for several units at once, repeat device. The must letters DIAGNOSTIC SUPERVISOR COMMANDS (CONT) DS> ATTACH DW780 DS> ATTACH DZ1ll CSR? 3 Attach the DW780. Attach the DZ11 TTA. The supervisor prompts for information not 4 760120 320 VECTOR? BR? SBI DW@ DW@ TTA 4 supplied line. in the command DS> ATTACH Command Example SELECT COMMAND SELECT <generic-device-name>[:],-<CR> !ALLKCR> [<generic-device-name>[:]...] The operator command, must after each select attaching unit it. appropriate generic device name. time the diagnostic program DS> be tested each with wunit, the SELECT supply the SELECT adds the specified device to the list of units to be tested. next to For is The command takes effect the started. TTA: SELECT DS> SELECT Command Example DESELECT COMMAND DESELECT <device>[:][,<device>[:]...]!ALLKCR> Use the DESELECT command to remove the name of one or more devices from the units list of to be tested. DS> DS> DESELECT DESELECT TTA: ALL DS> DESELECT Command Example SHOW DEVICE COMMAND SHOW DEVICE The SHOW characteristics terminal. the <device>[:][,<device>[:]...]<CR> DEVICE command of the causes the specified supervisor devices If you omit the device name, characteristics of all attached . example) 101 on to display the the operator's the supervisor will list devices (see the following DIAGNOSTIC SUPERVISOR COMMANDS (CONT) SHOW SELECTED COMMAND SHOW The SELECTED<CR> SHOW SELECTED command causes the display of information in the same format as the SHOW DEVICE command. However, the information is shown only for the devices that have been previously selected. DS> SHOW DEVICE _Dwp 6000600606 TR=3. _DMA RK611 _Dwa 6013FF208 CSR=000808777442(0) VECTOR=00000000218(0) BR=5. _DMAQ RK@7 _TTA DZ11 _DMA _Dwg pe000000 6013E@58 CSR=00000760120(0) VECTOR=00000800320(0) BR=4. _DWg 6013E@58 CSR=00@907606120(0) VECTOR=000000800328(0) BR=4. DS> DW780 SHOW NUMBER=0. SELECTED DS> SELECT DS> SHOW _TTA BR=4. TTA: SELECTED DzZ11 DS> DESELECT DS> SHOW TTA: SELECTED DS> SHOW DEVICE and SHOW SELECTED Commands Example START COMMAND START . [/SECTION:<section-name>]-<CR> [/TEST:<first>[:<last>!/SUBTEST:<num>]]-<CR> [/PASSES:<count>]<CR> The START to the command causes initialize the routine thus beginning Each diagnostic program program are grouped sections, in diagnostic in is If START command is tests in default the setting tests the for that the SECTION have default been or organized according whether the is not given in to there without section. DEFAULT. designed section. supervisor diagnostic to pass control in memory, program execution. times, and interaction. run the by Default The the discrete tests. The tests their functions, execution 1is need operator a switches, 1In the program other words, supervisor diagnostic section for tests the calls only engineer to do not will initial those run in require operator intervention. When a section is selected in conjunction with the START command, only the tests that it contains will be executed. 102 DIAGNOSTIC SUPERVISOR COMMANDS (CONT) If the The TEST switch is used in two distinctly different ways. supervisor the specified, are arguments last and first sequentially passes control to tests first through 1last, test and SUBTEST the If the first argument is combined with inclusively. switch, program execution begins at the beginning of the terminates at the number. subtest the of end first If the SUBTEST switch is used in conjunction with the PASSES switch, the In this operator is provided with a loop-on-subtest capability. case, only the subtest named in the command line is executed, once looping begins. section of be the the highest program. the highest is If only the first argument is is assumed to the last argument specified with the TEST switch, to named In other words, the default for TEST is TEST a through TEST n, where TEST n numbered test in the section. default the tests within all is not specified, If the TEST switch section of the program are executed. test numbered the within selected If Tests are run only if they are included in the section named. Test and the PASSES switch is not used, the default value is 1. The 1. is passes for value minimum The pass numbers are decimal. maximum value is @, which means infinity in this context. example: DS> START | Start execution of the DS> START/SEC:MANUAL ! Start execution of the manual | diagnostic program in memory. of section the Some in the manual section. tests may not be executed unless section the Run tests 6, DS> START/TEST:9/SUBTEST:5 Run DS> START/TEST: - START/TEST:6:12 4, test 9, is is specified. 7, 8, 18, 9, subtests 1, 11, 2, the last through n, test in where n the default section. START/PASS: Run 3 passes of the default [9%] DS> section. DS> START/TEST:9/SUBTEST:5/PASS:g ! Execute test 9, subtests 1, 2, t ! 3, 5 START Command 103 12. 3, 5 Run tests 9 O DS program. Run tests 32 and 33 if they are DS> START/SEC:MANUAL/TEST:32:33 v For 4, and then loop on subtest indefinitely. Example DIAGNOSTIC SUPERVISOR COMMANDS (CONT) RUN COMMAND <file-spec>[/SECTION:<section is equivalent command switches to are a LOAD and identical START to command those in sequence. the The command. START e ESTAA/SEC:MANUAL Load - RUN ESTAA terminal diagnostic. Load local diagnostic and run manual section. 33 in the terminal run tests the manual tem and terminal 32 S tem Load the local diagnostic and local section. — ESTAA/TEST:6:12 the Load the local diagnostic and terminal Load terminal diagnostic and subtests 1, 2, run tests P RUN ESTAA/SEC : MANUAL/TEST:32: 33 the run b DS> RUN and tem DS> e - DS> RUN e DS> b example: ESTAA/TEST:9/SUBTEST:5 - RUN b ESTAA/TEST:9 RUN the B last section. ESTAA/PASS: 3 local run 3, test 5. 9, 4, Load the local terminal diagnostic and run tests 9 through n, where n is the S b b RUN Load test the in the local diagnostic and default terminal run three passes. ESTAA/TEST:9/SUBTEST:5/PASS: 0 Load b RUN b DS> b= For name>]-<CR> [/TEST:<first>[:<last>!/SUBTEST:<num>]]-<CR> [/PASSES:<count>]<CR> o RUN RUN RUN Command 104 the local diagnostic, subtests 1, loop on test 9, indefinitely. Example terminal execute test 2, 3, 4, and subtest 9, then 5, RUN DIAGNOSTIC SUPERVISOR COMMANDS (CONT) SUMMARY COMMAND SUMMARY<CR> This command causes the execution of the program's summary report Note that this code section, which prints statistical reports. command is generally used only after running a pass of a However, the summary command can be used at diagnostic program. any time, and would be wuseful, for example, when the Disk Type CTRL/C first to return control Reliability Program is run. to the interpreter line command Then (CLI). type SUMMARY to CONTINUE may be typed obtain a statistical report on the program. at this point, if the operator wishes to resume program execution. CTRL/C Normally CTRL/C returns control from a diagnostic program to the command interpreter 1line diagnostic the in supervisor. The supervisor then enters a command wait state and displays the DS> The operator may then issue prompt on the operator's terminal. CTRL/C 1is the only diagnostic supervisor any valid command. When a command that may be issued while a program is running. diagnostic program is running in conversation mode, CTRL/C returns control to a command within interpreter the program for the conversation mode. CONTINUE COMMAND CONTINUE<CR> This command causes program execution to resume at the point at This command is used to proceed which the program was suspended. from a breakpoint, error halt, summary, or CTRL/C situation. The following example shows how CTRL/C, SUMMARY, and CONTINUE can be used together to obtain statistics on the program run and to then resume execution. ...Program is running... ~C DS> SUMMARY ! Operator types CTRL/C. ! ! ! Supervisor prompt. Operator requests statistical report. Statistical Report ! Supervisor prompt. DS> CONTINUE ! ! Operator requests resumption of program. ...Program”is running... Example of Use of CTRL/C, SUMMARY, and CONTINUE Commands 105 DIAGNOSTIC SUPERVISOR COMMANDS (CONT) ABORT COMMAND ABORT<CR> This command returns state passes control and displays operator may issue example shows how CTRL/C and control to the the to the program's supervisor, supervisor any the command ABORT which prompt, except command SUMMARY. ...Program is DS>. code a At CONTINUE. can be and then command wait this point The used the following together with running... e DS> cleanup enters SUMMARY ! Operator ! Supervisor types CTRL/C. prompt. ! Operator ! statistical requests report. Statistical Report DS> ABORT ! DS> Example of Use of CTRL/C, Supervisor ! Operator ! cleanup ! Supervisor SUMMARY, and prompt. requests program and termination. prompt. ABORT Commands SET FLAGS COMMAND SET This [FLAGS]<arg-list><CR> command results in by arg-list. specified a string of flag the setting of the execution control flags No other flags are affected. Arg-list is mnemonics from the following table, detection. separated by commas. HALT Halt on detects error When the this flag is command wait state a failure and supervisor enters a program set, the after all error messages associated with the failure have been output. The operator may then continue, restart, or abort the program. This LOOP flag takes Loop on program a test the precedence error. to or IE1 enter using then abort VECIFY CET the flag if over set, LOOP flag. flag causes that detects you want will control CTRL/C the this predetermined Looping returns continue, the a subtest messages. operator When the a to to flag TOR . cofm inhibit supervisor operator diees on error until The and the Set the program. el loop failure. continue command. clear scope continue, the by may or DIAGNOSTIC SUPERVISOR COMMANDS (CONT) When set, this flag causes the send a bell to the operator Bell on error. supervisor to BELL failure. the program detects a whenever 1. When set, error messages, Inhibit error messages at level IE1l this all suppresses flag except those that are forced by the program or supervisor. Inhibit error messages at level IE2 suppresses flag this information concerning basic failure. the header information message is output for each 2. and failure. When set, extended Only the (first three lines) When set, Inhibit error messages at level 3. this flag suppresses extended information IE3 concerning the failure. The header and basic for each IES When set, this Inhibit summary report. suppresses statistical report messages. flag QUICK Quick verify. messages information output are failure. flag set, this verify mode of operation. The when indicates to the program that the operator wants a quick interpretation of this flag is program dependent. TRACE Report the execution of each test. individual test When set, this flag causes the supervisor to report the execution OPERATOR [DEFALLT| each of the program as to test. that supervisor within dispatches the control flag this set, When Operator present. indicates to the supervisor that operator When cleared, the interaction is possible. supervisor takes appropriate actions to ensure that the test session continues without an operator. PROMPT [DEFfULT - T When set, this flag Display long dialogue. indicates to the supervisor that the operator wants to see the limits and defaults for all questions printed by the program. All ALL flags in this list. CLEAR FLAGS COMMAND CLEAR This [FLAGS]<arg-list><CR> command results in No other flags arg-list. separated flag mnemonics supported arguments. the clearing of the flags specified by Arg-list is a string of are affected. by commas. 107 See the SET command for DIAGNOSTIC SUPERVISOR COMMANDS (CONT) SET FLAGS DEFAULT COMMAND SET This FLAGS command The default DEFAULT<CR> returns all flag settings flags to their initial default are OPERATOR and PROMPT. status. SHOW FLAGS COMMAND SHOW This FLAGS<CR> command displays current status. one list is are clear. The following SHOW FLAGS DS> SET CLEAR DS> SHOW the execution control flags are flags that are set, the example shows how the SET FLAGS, commands DS> all The those for FLAGS can be displayed flags two and mnemonic other their lists; for those that CLEAR FLAGS, and coordinated. TRACE FLAGS as QUICK ! Set ! Clear the TRACE flag. the QUICK flag. IE2, IEl, BELL, FLAGS CONTROL FLAGS SET: PROMPT, CONTROL FLAGS CLEAR: QUICK, OPER, TRACE IES, IE3, LOOP, HALT DS> Example of the Use of the FLAG CONTROL Commands SET EVENT FLAGS COMMAND SET This EVENT command [FLAGS]<arg-list>!ALL<CR> results in the setting by arg-list. No other event string of flag numbers in the ALL may Event be specified flags are supervisor. variety of instead flags range of of status posting bits programs can functions, event flags specified arg-list. Diagnostic signaling the are affected. Arg-list is a of 1-23, separated by commas. maintained use event including by flags VMS to communication and the perform with a the operator. CLEAR EVENT FLAGS COMMAND CLEAR This EVENT command [FLAGS]<arg-1list>!ALL<KCR> results in the clearing of the event flags specified by arg-list. No other event flags are affected. Arg-list is a string of flag numbers in the range of 1-23, separated by commas. An optional ALL may be specified instead of arg-list. 108 DIAGNOSTIC SUPERVISOR COMMANDS (CONT) SHOW EVENT FLAGS COMMAND SHOW EVENT This command flags The [FLAGS]<CR> causes the supervisor to display that are currently set. following example shows how the SET a EVENT list of FLAGS, the event CLEAR EVENT FLAGS, and SHOW EVENT FLAGS commands can be coordinated. DS> SET DS> CLEAR EVENT FLAGS 2, EVENT FLAGS DS> SHOW EVENT 9, 6 15 FLAGS SET: EVENT FLAGS 1, 15, 1 9, DS> Example of EVENT FLAGS CONTROL Commands SET BASE COMMAND SET BASE <address><CR> This command loads the address specified into a software register. This number is then used as a base to which the address specified in the SET commands is referencing BREAKPOINT, added. code in the BASE SET diagnostic should be set to the base address the command program is DEPOSIT and wuseful when base listings. The numbers provided (see the program 1link map) Then the referenced. program section EXAMINE, BREAKPOINT, CLEAR The PC of in the listings can be used directly in referencing locations in the program sections. example: E@0 Sww SET BASE tmm Pum S=w DS> aw For Set the base address to the beginning of the psect the routine under examination. DS> SET BASE Command Example NOTE Virtual address (normally) turned when = ©physical memory off. 109 address management is of DIAGNOSTIC SUPERVISOR COMMANDS (CONT) SET BREAKPOINT COMMAND SET This BREAKPOINT command program this For causes counter command. within the <address><CR> control to:- pass to the points to the <address> A maximum of 15 simultaneous diagnostic supervisor previously when specified breakpoints can be the by set program. example: DS> SET BREAKPOINT 30 1 Set ! ! at 30 ) SET BREAKPOINT Command a breakpoint an offset of from the base address. Example CLEAR BREAKPOINT COMMAND CLEAR BREAKPOINT <address>!ALL<CR> This command clears the previously set breakpoint at the memory location specified by <address>. If no breakpoint existed at the specified address, no error message 1is given. An optional argument For of ALL clears all previously defined breakpoints. example: DS> CLEAR BREAKPOINT 30 ! Clear ! ! ! at the location which is offset 30 from the base address. the breakpoint DS> ' CLEAR BREAKPOINT Command SHOW Example BREAKPOINTS COMMAND SHOW BREAKPOINTS<CR> This command For example: DS> displays SHOW CURRENT all currently BREAKPOINTS defined breakpoints. ! Display ! currently BREAKPOINTS: (X) POPBBE3D DS> SHOW BREAKPOINTS Command 110 Example breakpoints set. DIAGNOSTIC SUPERVISOR COMMANDS (CONT) SET DEFAULT COMMAND SET DEFAULT This and command deposit data ‘length qualifiers <argument-1ist><CR> causes setting of default qualifiers for commands. default are defaults are <argument-list> radix default they are separated HEX and LONG. Default and/or present, one default qualifier Initial The is specified, argument the examine consists of qualifiers. If both by If only a comma. the other one is not affected. qualifiers are: Data Length: Byte, Word, Long Radix: Hexadecimal, Decimal, Octal For example: DS> SET DEFAULT BYTE, DECIMAL 1 ! ! Set the default data length qualifier as byte and the default as qualifier 1 radix ! decimal. DS> SET Example- ((MLWE e yidTual | OFFUINE = Fiy ;WE EXAMINE COMMAND EXAMINE DEFAULT Command [<qualifiers>][<address>]<CR> The EXAMINE command displays the contents of memory in the format described by the qualifiers. 1If no qualifiers previous default The applicable qualifiers are described in the default qualifiers set by a are specified, command following are the used. table. Examine Command Qualifier Descriptions Qualifier Description /B /W Address points Address points Address Display Display Display Display /L /H /D /0 /A to a byte to a word points to a longword in hexadecimal radix in decimal radix in octal radix in ASCII bytes When specified, the <address> argument is accepted in hexadecimal format unless some other radix has been set with the SET DEFAULT command. Optionally, <address> may be specified as decimal, octal, or hexadecimal by immediately preceding the address argument with <Address> may also be one of the $D, %0, or %X, respectively. following: R@g-R1l1l, AP, FP, SP, PC, 111 PSL. DIAGNOSTIC SUPERVISOR COMMANDS (CONT) For example: DS> EXAMINE 30 Display of is the 0P0GPE3Q: the contents the longword which offset 3¢ from base address of E@0. DE513DO1 DS> EXAMINE DEPOSIT ([<qualifiers>])<address><data><CR> command specified Example COMMAND DEPOSIT This Command accepts by data <address> in and writes the format it into the described memory by the location qualifiers. If no qualifiers are specified, the default qualifiers are used. The applicable qualifiers are identical to those of the EXAMINE command The described <address> some other Optionally, hexadecimal in the argument previous is table. accepted in hexadecimal format respectively. For unless radix has been set with the SET DEFAULT command. <address> may be specified as decimal, octal or by immediately preceding <address> with %D, %0, or %X, example: DS> DEPOSIT/W/H POOOOE3G: 30 0901 ! Deposit ! ! in the word offset 30 from 1 the base 0001 DS> DEPOSIT Command 112 Example 9001 (hex) address. DIAGNOSTIC SUPERVISOR COMMANDS (CONT) NEXT COMMAND NEXT [number-of-instructions]<CR> command This the causes supervisor to execute one macro- NEXT, the I1f you specify a number (decimal) after ons. The structi supervisor will execute that number of macroin on and the supervisor displays the PC of the next instruction of each instruction. contents of the next four bytes, after executi instruction. where you Use this command to step through an area of a program unless you have suspect a problem. Do not use the NEXT command stopped the program at a breakpoint. For example: DS> NEXT 0p0gg@gE31l: D@513D01 | Execute the next instruction. DS> NEXT Command Example b CHow Helr DEdile piBs FgEst ) CRATTRLY 113 ONF sl } DEVICE NAMING CONVENTIONS UUT-Type | Link Generic Parameters AAl1lK DWn ??an CSR VCT BR AD11K 770460 DWn 350 ??7an CSR VCT BR CR11 DWn 770430 CRa XXX CSR VCT BR 777160 230 CSR 760050 XXX Typical DL11 DWn ??a DMC11 DWn XMa CSR VCT BR DMP11 DWn XDan CSR DMR11 VCT BR DWn XMan CSR VCT BR VCT BR DR11B DWn VCT BR DR11K DR11W 772410 DWn 124 ??a CSR VCT DWn BR ??a 767770 CSR XXX VCT BR ??a DR788@ SBI DUP11 DWn XJa CSR DV11l VCT DWn BR XVa CSR VCT BR 775000 DW750 CMI DWn BR BR EIA/20MIL|760100 DW780 SBI XFn CSR DWn TR BR TR BR DW788@ SB1I DWn TR BR DZ11 DWn TTa CSR VCT 3 4 4 4 (#1 (#2 UBA) UBA) KA750 CMI KAn G H TOY WCS NO NO XXX YES KA78¢ SBI KAn G H AcCC BR NO NO ] ACC KMC11 DWn XMan CSR WCS VCT KWI11K DWn ??7a LA34 CSR TTa VCT TTan BR 770404 XXX LA36 TTa TTan CSR VCT BR 777514 200 BR MPM 770460 350 764200 170 LA38 TTa TTan LA120 TTa TTan LA18@ LPa LPan LP@5 LPa LPan LP@6 LPa LPan LP11 DWn LP14 LPa LPa LPan LP25 LPa LPan LPA11K DWn LAan CSR VCT MA780 SBI MAN TR BR MBE RHN MBn DRIVE CMI MSn BR MS780 MS750 SBI MSn TR PCL11 DWn ??a CSR PORT # VCT BR RH750 CMI RHN RH78¢0 BR SBI RHnN TR BR RHn 8 5 (RH®) TR BR 9 5 (RH1) CSR VCT BR 7774490 210 CSR VCT BR 774400 160 CSR VCT BR 777170 264 RH780 SBI RK@6 DMa DMan RK@7 DMa DMan RK611 DWn DMa RL@#1 DLa DLan RL@2 DLa DLan RL11 DWn DLa RM@3 RHnN DRan RM@5 RM8Q RHnN RHnN DRan DRan RP@4 RHN DRan RP@S RHn DBan RP@6 RHnN RP@7 RHnN DBan DBan RX@2 DYa DYan RX211 DWn DYa TE16 MTa MTan TM@3 RHn MTa DRIVE 5 # 114 EIA ) DEVICE NAMING CONVENTIONS (CONT) UUT-Type | Link RHn TM78 Generic MFa Typical Parameters pRIVE # TS11 DWn MSan CSR VCT BR 772520 224 5 TUS8 DWn DDan CSR VCT BR 776500 XXX X UBE DWn UBan CSR VCT BR MTa TU45 MTa MFa TU77 TU78 VT59 TTa VT55 TTa VT52 TTa vVT100 TTa Note: MTan MTan MFan TTan TTan TTan TTan The typical column is only a partial list because of the great number of possible configurations. a = alpha character. n = numeric character. Brir 52 1156 CHAPTER 7 /O OPTIONS RK611/RK711 REGISTERS BIT CONFIGURATION © REGISTER 1 ROL AND STATUS CONT REA RKCS1 15 14 07 13 05 0t 04 DCT 11/780 11/730 UBAO 11/750 (OCTAL) (HEX) uBo 00 l F1 l GO| 777440 2013FF20 FFFF20 WC | WC| WC | WC l 02 l o1 . 777442 03 2013FF22 FFFF22 2013FF24 FFFF24 2013FF26 FFFF26 RDYlIEl 0 IF4 L l bt ]PARI | 06 UNIBUS ADDRESS CFMT CERR OCLR WORD COUNT REGIS RKWC 15 07 WC | WC | WC | WC (12 113 114 15 wC |wC| 07 |06 | 05 wC | wC |04 BUS ADDRESS REGIS RKBA 07 15 lBAlBAIBA‘BA 15 {14 {13 [12 BA | BA| BA | BA {06 |05 | 04 07 | A 777444 DISK ADDRESS (TRACK & SECTOR) REG RKDA 15 Lofefe]o 07 00 0]777446 3 ] 9 ] SA1 |l SA SA | SA| TK-0767C 119 RK611/RK711 REGISTERS BIT CONFIGURATION (CONT) UNIBUS 11/780 11/730 CONTROL AND STAT FUS REGISTER 2 ADDRESS UBA O 11/750 RKCS2 (OCTAL) {HEX) uBo 15 08 IDLTIWCEI UPE!NED NEM‘PGEIMDSIUFE ORIIRI l DS 1 |! DS 0 l777450 2013FF28 FFFF28 I 0 |DR4 777452 2013FF2A FFFF2A ]NXF] SKi l ILFI 777454 2013FF2C FFFF2C 2013FF2E FFFF2E IBAI | SCLR DRIVE STATUS REG STER RKDS READ ONLY 15 l 08 lSDA' PIP l 0 WRLl 0 l 0 ‘DDT [l | or SVAL DROT | L ACLO SPLS ERROR REGISTER RKER 15 14 13 12 1110 DCKIUNS} OPI IDTE WLE| 09 08 06 05 COE i 1 | IDAE 04 | DTYE | DRPAR HVRC ] FMTE ATTENTION SUMMA RY AND OFFSET RKAS/OF 15 14 13 12 11 10 09 08 IATNIATN’ ATNlATN ATNIATN,ATN ATN 7 6 51 4 3 2 1 0 06 05 04 OF}OF 5 4 0 ] 777456 l OF TK-0767B 120 RK611/RK711 REGISTERS BIT CONFIGURATION (CONT) DESIRED CYLINDER REGISTER UNIBUS RKDC R/W 06 o08]o7 09 10 12|11 13 14 15 03 04]j 05 02 00 01 ADDRESS (OCTAL) 11/780 UBA O (HEX) 11/730 11/750 UBo FFFF30 UNUSED free wwr TT T LTIl TT T T [T FFFF32 DATA BUFFER 08 | 07 15 |o1 l 777464 o8 | 07 | 06 Ios 04 11 |1 13 |12 | DB|DB|DB|DB 15 l14DB | DB|DB| RKMRT I [fii l T rRo | T eccw l I I | |pca 08 | 07 | | merp | I l |minD | | FFFF34 00 R/W flfl %f] flslMS |777466 I 2013FF36 FFFF36 pmp PAT MSP MCLK MEWD PcD| l I GATE WRT 2013FF34 . MAINTENANCE REGISTER 1 15 DB DB | DB|DB| GATE ECC POSITION REGISTER RKECPS I l0 l 08 03102 01|00 ]| 777470 ECC PATTERN REGISTER RKECPT 14 15 13 12}11 | 0 [ 0 | 0 [ 0 06 10 09 08] 07 10 (09 {08 J0O7|06| 09 08 07 04 RO 103 02 01 05|04 03| 02 01 02 01 05 15 14 13 12 J 11 10 06 05 RO 04]03 MAINTENANCE REGISTER 3 RKMR3 15 14 13 12411 00 10 CEETT 09 08 107 06 LT T 05 RO 04103 T 02 - 2013FF38 FFFF3A 2013FF3C FFFF3C T e o FFFF3E 01 I 00 I 777474 00 TK-0767A 121 FFFF38 2013EF3A IEPTIEPTIEPT EPTlEPTIEPTlEPT EPTIEPTIEPTIEST]777472 MAINTENANCE REGISTER 2 RKMR2 00 RO I 11 l IOQ 08 EPS EPS |EPS [EPS | EPS EPS EPS EPS EPS EPS | EPS | EPS| EPS H(53dL)INVEYdJ%owo51o6wo.,ovsS|owo©n|wx~uo|aDl3IM4|oD)3IW4|gDau4|vD3ug|QuvGdO|HaVvdN3|d3O0LSD|HY1H91O|HYioH1O|93N|g3N|vAN (boy(443Sn4Da)4ytn)g|[wVvaIeinVavQla|wov8eiYavNle3|vwweiv3avurad||8wvvuSeiNvav3dlaE|Swv|ei&av%law|w2xo]eia4vnsaA|wgXauHnavm)a|oivXsyu)gm|y|@48NlnYaNdI||B39gd0UnvN8N3y3||a58dA0vVnNNe33y|83v4VNne3y|gA£4ynN83Y|83z4YansN83Y|@AtdaVnNog3y|0dN8anYGIeN|Sy3 aE(gsJNdoT¥.SoLp{HoopiRHNwaLHoiSw)L3nw1WvsVa)NsLiOSnBswDTv|1u1aXAwo0oodLuQM31umywgY1_SN|||_gXMy9woo1oI0vy8uyMNY2l1sGR_||4Wo_Augweo0ooos5€evM2y|uYylav1||_[oa_nWvwAo0oqs_HuovZ2yH|mw1Yy1eINY_||/a_A£o9so0oo£wumu2mYN|mgA|||voAX33zwo0aoo4uML2yNLyHueSll||_|aX3g>Lo0oo16S!uM2NYywy0a|4||1_oIAvX0No30oa81NwMsYyd0IeST1[||_La4[9XhSoon3noH1NiNM0eYYyOuLN4G[||4_o94WXAOaooInYNn8NMyyue0tiILd-r|||o_N415sOauoVnosNnSyOiayMvt0dSLi(||44|8vb4Oa_VoonNoNv3Muyiy801gL0|LA||[£4OaoNoNoN£nIy0m8tIuuVYLW||-|4o¢4zaOv4NuooN7Mi8IYy0&L/||A4!oOLaoNNnN1o0iI8My%yY14||-o/04OaoNo0~n04My-I48isH1L4 L«20109L 122 «+90109L 9v0344d yv034 «+80109¢ [AEE! «+$0109L «+ZY03E102 ¥P03EL10Z <2 +-9Y03€10C «+9Y03E10Z CPOIELOZ-+ ».0P03E10Z 08L/14 ovan (X3H) 0v034 +«20109L «.00109L SNaiNN ss3avaav (Av.120) 0L1EL/ 0S4t 08N 1SHI4L1 20 ATNO VEN O MY MY 8oSyW My od| My oy oH oHyOIH|MoYO My MH 81 ov59L M oM oM oM 0Lz€ oM oM 9L OM oM OM oM oM oM 01z£¢5 oM I.3H4LV.ILSHOIONIHHLQ33SSLNAS8HIL4HIA0M3Q3HYHL4LH3VO4IL3N4OVZ1OV'lQSaN3)OHIT1LVJYONIWHIL(AQV3HONV3HLYSW o N = = o w (&) 2 b= L oc aa = O @) = L o > o < = = < 9v034 SNLO MASSBUS DISK DRIVE REGISTER ADDRESS CALCULATION CHART 123 om_doMo.W?.<SAsoM?WP»wo] - w > - e 7] 2o p—o-|—v]q|B2-2(]S|8T5 =1w)E—E2|] |el|se)|© =82[] loae]Z obTg z8oZ| lisol eo< oeww—)l >ex-t <el S8[3= 8&] 3- &>Q w &Q &o I%nol|ubw =|Z s8 o2 o2o<<P 3o« 3 2< g¢88] )Z°LLowoo=cb-aTt|aomB4ml_S.amu[)&l3])m[=o-©e5]]—u%mw2mx)]|-0%o)QQlSMQ.u)o<52q]l}].O_I3X.—rS7CvhwwLO]-1Wzo[<Zl~uZoa2Z1Z<zg—.Ds-<y==leoWz[Qai)=]Q-eOooo«Q-xol_MoO=<<-ooUw5:bPg¥4—ooa2=.><n\—lu%<<.oooo=<l—&o2<<«8[oia©-o)ll wP©=oo[=~)=-o=2a2a=wo3=88s]o)t-[@=Wo]vu=)})@M2[@zIgzo=}o<=<oo<b5))[]as]d1a@==oav]]sa<|0oW|~?eooa3a[nW.~=©bRRza3SnZ2ao~<=loWa2"[}i=g}2QSWW=[oo&u]<)[ooa<Q1%2)z-=a[o~}<=.])Mw[<wg<mmmo2&.v]o©9An=WMu--[ooo=|P-]vodowucwTL2ooo---pO|]laW [ o ) « mW&w=o«;E@co ojgZ8~ag~d 1[o-0=—<]~= 7o2} - <£ 0 o[ o 124 —— = L'4 b4 —|] wo T RP05/RP06 REGISTER CONTENTS <O TK0722 S w= Iwx T€¢ ——4ZVJHAOIWWHH‘16‘18G11:8Z8L A08TWNYOSATOBTWNYHO SOWY.ATNO S3LON.‘L—VAWH18:L08/SOWYATINO 1531uig 1L oMs3 o403OJUI INOD 203 Y 0z RMO03/RMO05/RM80 REGISTER CONTENTS 30d4al L S3HAQAVY JINOWINW Lo . 13dsOdW TSE1oA5RAz7ER8ED 125 RP07 REGISTER SUMMARY SNA s31d 126 TMO03 REGISTER CONTENTS ADDRESS REGISTER OFFSET (HEX) MNEMONIC CS1 15 [ I 14 l 13 I 12 11 10 leKl _ [ 09 I 08 I 07 06 l 05 04 J N 15 14 13 12 11 10 PTA!ERRI PIP IMOLIWRLIEOTI 09 08 14 13 12 11 10 09 01 0 J FUNCTION CODE 07 06 05 04 lDPRIDFMISSC] PES[ 03 02 01 0O 03 02 01 00 I lDBl TM IBOTISLAJ 4 SDWN NOT USED 1 02 2 DEFINED BY MASSBUS CONTROLLER DS 03 ] F/5 | F/4 l F/Bl F/2 l F/1 lg%/l 08 07 06 05 04 « LTI TP PP TPl ]]e ] | | i | I | ‘ UNS | DTE l CS/ITM | NSG I NC/VPE I FMT l RMR | ILF N COR/CRC OPI 15 13 14 12 11 PER/LRC FCE NEF 10 09 08 07 I 06 05 ILR CPAR DPAR 04 03 02 A 01 00 R MDF38 I MDF6 [MDF4 | MDF2 ’ MDFO l MC I MOP2 ‘ MOPO MDF7 MDF5 MDF3 MDF1 SWC2 N ) MAINTENANCE DATA FIELD 15 MOP3 SWC 08 07 AS MOP1 —I\ 06 v ) MODE OF OPERATION 05 04 03 02 01 00 ATA|ATA[ATAJATA|ATA|ATA|ATA|ATA . 7 6 07 06 51 4 3 2 1 0 05 04 03 02 01 00 |FC |FC|FC]|FC 10 J Y NOT USED 15 FC 14 13 12 FC|FC{FC|FC 15 {14113 |12 10 09 08 |FC|FC 11 |FC |FC|FC|FC |11 |10 |09 |08} 07|06 |FC|FC [05{04 |03 [02]01 )00 14 TK-0717 127 TMO03 REGISTER CONTENTS (CONT) ADDRESS REGISTER MNEMONIC 0 15 14 13 12 11 10 09 08 07 06 05 04 or [safrarjvoerforajsen] | | ] ] NOT USED 03 02 ] ] ] 01 OFFSET 00 ] ] ] (HEX) e TMO02/TMO03 Y J Y FORMATTER/TRANSPORT TYPE (0-8) CcK 15 (NRZ 14 l 13 12 l l 11 10 ’ 09 I l 08 07 06 05 04 03 02 01 00 ]CRCICRCICRC'CRClCRClCRClCRCICRCICRCI FORMAT) PAR]|7 6 5 08 06 4 3 2 1 c 0 J —~ NOT USED 15 (PE FORMAT) I 14 I 13 12 I ] N— 11 10 ’ l 09 07 05 04 03 02 01 00 ! l IDTPI DT7| DTel DT5,DT4] DT3lDT2|DT1 ]DTfl J Y NOT USED 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 SN 20 SN15 ISN13 [ SN11 l SN9 ] SN7 I SN5 l SN3 l SN1 l SN14 - SN12 SN10 J\L Y 4TH DIGIT 15 ef 14 13 | 12 11 10 i SAC FCS SN6 I\ NOT USED EAODTE | 09 SN4 SN2 —J\ Y 3RD DIGIT LT ACCL SN8 Y 2ND DIGIT 08 07 06 05 SNO J Y 1ST DIGIT 04 03 02 01 0O PP PP TP PPl DEN1 PAR DEN2 [ 1 | FMT seL3 | DENO | FMT seL1 FMT SEL 2 FMT SELO | EV s81 SS2 SSO TK-0716 128 TM78 REGISTER CONTENTS * - = = = T = = e e * * T T o TM T T N N 08{H Y 129 TM78 REGISTER CONTENTS (CONT) Byte Description Command code Interrupt Failure being code code executed from from last last on last error error error Hardware register read path write fail bits Hardware register read path diagnostic bits Hardware register read path status Hardware register read path command Hardware register AMTIE Hardware register RC 10 Hardware register illegal 11 Hardware register Mark 2 12 Hardware register End Mark 13 Hardware register RC 14 Hardware register postamble 15 Hardware register data 16 Hardware register CRC 17 Hardware register corrected 18 Hardware register ECC 19 Hardware register channel Y TIE bus 20 Hardware register channel 1 TIE bus 21 Hardware register channel TIE bus 22 Hardware register channel TIE bus 23 Hardware register channel TIE bus DONE PAR 5-to-4 bits det data status 24 Hardware register channel TIE bus 25 Hardware register channel TIE bus 26 Hardware register channel TIE bus 27 Hardware register channel TIE bus 28 Hardware register TIE 29 Hardware register 194; bus AMTIE 130 loop TM78 REGISTER CONTENTS (CONT) Byte Description 30 Hardware register 110; 31 Hardware register 114; read data 32 Hardware register 24¢; 33 Hardware register 241; CBUS status 34 Hardware register 3¢00; 35 Hardware register 320¢; WMC status 36 Hardware register 321; 37 Hardware register 322; TU select 1 38 Hardware register 323; write data 39 Hardware register 324; byte counter <7:8> 40 Hardware register 324; byte counter <15:8> 41 hardware fegister 325; PAD counter <7:8> 42 Hardware register 325; PAD counter <15:8> 43 Hardware register 326; ECODE counter <7:8> 44 Hardware register 326; ECODE counter <15:8> 45 Hardware register 33¢; DDR/MBD A 46 Hardware register 331; DDR/MBD B 47 Hardware register 332; WMC errors 48 Hardware register 34¢; 49 MIA register @; TU78 status 50 ,A‘ MIA register 1; MIA status A 51 MIA register 2; MIA status B 52 MIA register 3; PORT status CAS status DBUS status TU select @ interrupt status serial NR A 53 MIA register 4; serial NR B ‘54 MIA register 5; TU diagnostics 55 Retry counter (RETCNT). This byte is the count of retry interrupt requests given for the tape unit. When this count is zero, the tape unit is not in a retry sequence. 131 TM78 REGISTER CONTENTS (CONT) Byte 56 Description Retry control microcode only when to the Bit 5 - Set direction. Bit 6 - Set TU retry when Bit # - initial last (byte command retry is It 55) command used is by the meaningful is not zero. moved in the reverse in opposite was a read. requested (TUx). was This the tape drive. a DATA SECURITY when byte command. status about This recovery. counter initial Set error initial when software information (RETCNT+l). when Bit 7 - Set direction of 57 bits control byte ERASE contains command is in progress. Bit 1 - Set when a Bit 2 - Set when tape Bit 3 - Set when a a MASSBUS Bit 4 - port Set REWIND is command is exists and unit NONDATA in when TRANSFER in progress. power is command on. issued from progress. tape was last moved in the reverse direction. Bit 5 - Set when last tape operation involved writing on tape. 58 Bit 6 - Set when last record Bit 7 - Set when last MASSBUS Transfer control Bits 59 control word was command (XFRCTL). a tape came This mark. from port byte - Write Read clock Bits 3-5 - Bits 6 - PLO bypass Bits 7 - Low read contains suppress clock select select threshold and format control (XRETRY). This contains the contents of the left half of the register, which contains the retry suppress bit, and 60 skip Keypad the B. information used by DATA TRANSFER commands. @-2 Retry seen byte MASSBUS format, count. enable keypad is flag (ENAON). enabled. 132 This byte is not zero when CHAPTER 8 MISCELLANEOUS CONVERSION TABLES HEX ADDER <9 fry o — N TM < n Vel t~ o o] (o) < m O o] €3] =3 €3 e o — o~ TMM < n Xe] ~ e o JENe ) + + <C m &) -] (=) (] 23] e3 o + — + o~ + TM + <3t + Tp] + Xe) + ~ + (eo) + (o) + <C + m + EF’ &) &) ] 3] (o9 o — + -+ N TM < n o~ + + TM (o)) < m m m Q ] m x4 o — o~ (28] < n Vel ~ w0 (=) «C < << m @) O @m @ © e~ N M < N W O~ 0 O o)) o) <L m Q o 3] fxy o ~ o m + + 0N W ~ (eo] 0 @0 o <L a1} U Q 3] x o — N TM < un O t~ ~ r~ o (o)) <L m Q 0 €3] = o — o~ TMM < T O Vo) Vo) o~ o] N < m O & 3l fxy o —t o~ TM <3 wn n wn 0 r~ los) o) <L om &) (@] 3] e o — o TM <t < < " Vo) r~ @ N < m Q & =3 fry o — N TM TMM TM <t N Vo] r~ @ o) < m &) (] = fxy o — o~ o~ Q) TMM < el Ce] ~ © (o) < a1] O O 1e3] 7 ? : ~— ~— o~ TMM <t LN 0 ~ (oo} o < m QO o] 3] fy (-l? o o — o TMM < wn O ~ o) o) < m &) () €3] xy o — o~ TMM <t wn Vo] ~ ® o) <L m & o] =] <) + + + + + + + + + + + + + + + + + + + + + 136 + + + + + + + + + + + + + + + + + + + + <+ + + + + + + + + -+ + + + + + + + + + + + + + + + -+ -+ + + + + + + + + + + + + <+ + + + + + + + + -+ + + + + + + CONVERSION TABLES (CONT) HEX SUBTRACTER o fze [xy (31 () &} m < N loo] ~ Vo) n < TMM o — = m A U mM &€ & o ~ YW n T m N -~ o (=] (] &) m L (o) foo) r~ O Te} < TM o — o oy o) 8 &) m < o)) fo o) ~ Vel Tel < TMM N — o r,‘_. S I | | | | | | | & < o)) ® ~ Vo] n < TMM oTM — o fi.'.¢ [TJ c') S m =) N o t~ Vo) wn <r TMM N ~ o C}-a tx‘J t'D L') om < ® (e o) ~ O Vo) <t TM o — o cz'.. tx'J 9 c') c.P < o ~ ~ 0 Tal <T TM o~ ~ o :x'.. r_;q c') (I) a|3 fig o'\ ® Vo) Vo) Vs < TMM g\, —t o [T L;J c|3 LI) tI|] <'t: clfl o|o ~ Ty LN <p TM o~ — o txl.. [x'J L|3 L') cln <'t 0|\ 0? ~~ Vo) < <t TMM o — o f €3] (o) @) m <C o © ~~ el n TMM TM o~ — o e [x3 & &) om <L o (o] ~ Vel Vo) < N o — o [e9) 5] ) @) m <L (o)) ® ~ w Te} < m —t — o (o9 =1 0 &) m < ) (s} ~ Le] Vol < TM o~ =) o <9 3] (N | | m <C o ® r~ o) n < TM N — o — o3 TMM < Vol Vo] ~~ 0 o <« m o (&) 53] e | | | | | | | | | | | | | | | | | | | | | | | | 136 | 1 | ! | | | i | | | | | | | | | | | | | | | | | { | | { | | | | | | | | | | | { | | | | | | | | CONVERSION TABLES (CONT) 00T4€7S9L86011[€TIA!Q1 HEX/DECIMAL CONVERSION 137 0Oo||00Oooov0v9JT9vttzoZEzZ€eET]l]|{[jO|{Oo0o00Oov008d6dd9zw9YDLaoST17ITT1182Ov12ZbOI91T7904T9zyezZ¢ET1Z32<g¢2<¢<TZ¢C9ZTc0b92PzOOZe9zze€4E4TvEZ€€€€¢gT29v€0v09€0€Ev1922ZZ€€3€TE®©#wW©©P©Bv¥29HII¥O9O®¥OCHw9yEZE1bTZZE4SGSSSGGgS29TPSSI90¥OOvTT9TEvZZ€ESSzE99999v2209C%090vZTzEyZf€9E9z£LLLLLT9O¥TLO9LOYZz9TZELyEELTOO00O0€L€TOEO0LTSTSSLZTfzE¢8TST€T1TT1EIEILIL1ST€TZEgETL€TS96z€€tTTZ2€2T<¢TETLTESg2LSSIEvLZTETzSEZE€€€€€€L€TSLS€9LETTzT5gEEPbP¥¥¥Iv¥p®»%EeE®Lg#ISssLSIz¥»TT)E€eLTGSGSSG6TL€SESLTSS&5EIE9LaTZTSET€t999996€L€9T€SL9ST¢ZL¢TETz5Ea€€LLLLLEELEISLTLTSSETETzETSE| CONVERSION TABLES (CONT) HEX/OCTAL CONVERSION 138 CONVERSION TABLES (CONT) OCTAL/DECIMAL CONVERSION 139 CONVERSION TABLES (CONT) HEX/ASCII CONVERSION HEX ASCII HEX ASCII HEX ASCII HEX ASCII Code Char Code Char Code Char Code Char /X' NUL 20 SP 49 @ 60 ) g1 SOH 21 ! 41 A 61 a g2 g3 STX ETX 22 23 " # 42 43 B C 62 63 b c g4 EOT 24 $ 44 D 64 d @5 26 ENQ ACK 25 26 % & 45 46 E F 65 66 27 g8 BEL BS 27 28 ' ( 47 48 G H 67 68 e f g h 29 HT 29 ) 49 I 69 i BA LF 2A * 4A J 6A 3 PB acC @D gE gF 10 11 VT FF CR 10) SI DLE DC1 2B 2C 2D 2E 2F 30 31 + ! . / @ 1 4B 4C 4D 4E 6B 6C 6D 6E k 1 m n o 51 K L M N 0] |2 Q 12 DC2 32 2 52 R 72 r 13 14 15 DC3 DC4 NAK 33 34 35 36 37 3 4 5 6 7 53 54 55 S T U 73 74 75 76 77 S t u v W 18 CAN 16 17 SYN ETB 4F 50 56 57 A4 W 6F 70 71 P q 38 8 58 X 78 X 19 EM 39 9 59 Y 79 Yy 1A SUB 3A 3B : H SA Z 7A Z 1C FS 3C < 5C \ 7C RS us 3E 3F > ? SE 5F ~ 7E 7F 1B 1D 1E 1F ESC GS 3D = 5B 5D 140 [ ] 7B 7D { | } ~ DEL NOTES L 141 NOTES 142 NOTES 143 NOTES 144 NOTES 145 NOTES 146 Readers Comments VAX MAINTENANCE HANDBOOK: VAX SYSTEMS Your comments and suggestions will help us in our continuous effort to improve the quality and usefulness of our publications. What is your general reaction to this manual? In your judgment is it complete, accurate, well organized, well written, etc? Is it easy to use? What features are most useful? What faults or errors have you found in the manual? Does this manual satisfy the need you think it was intended to satisfy? Does it satisfy your needs? Why? Please send me the current copy of the Documentation Products Directory, which contains information on the remainder of DIGITAL's technical documentation. Street City State/Country Zip Name Title Company. Department Additional copies of this document are available from: Digital Equipment Corporation Accessories and Supplies Group P.O. Box CS2008 Nashua, New Hampshire 03061 Attention: Documentation Products Telephone: 1-800-258-1710 Order No_ EK-VAXV1-HB — T i . R s e S G SR GO S —— — S S R T O G S D o G .S s e G e W S S s Fold Heres o com o o e Do Not Tear — Fold Here and Staple e es e w—— v e co o e No Postage Necessary if Mailed in the United States BUSINESS REPLY MAIL FIRST CLASS PERMIT NO.33 MAYNARD, MA. POSTAGE WILL BE PAID BY ADDRESSEE Digital Equipment Corporation Educational Services/Quality Assurance 12 Crosby Drive, BU/E08 Bedford, MA 01730 . s, \ 2 0 . 1 . ; L " . I - > ) ¥ f . | i . 3 - . 2o - & ; L] ) » -~ & Digital Equiprnent Corporation « Bedford, MA 01730 t
Home
Privacy and Data
Site structure and layout ©2025 Majenko Technologies