home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 28 / amigaformatcd28.iso / -in_the_mag- / under_the_bonnet / scsi / scsi17b / scsi17b.txt < prev    next >
Text File  |  1998-05-02  |  522KB  |  9,712 lines

  1. .pl 66
  2. .mt 5
  3. .mb 5
  4. .hm 2
  5. .fm 2
  6. .po 11
  7. .cw 10
  8. .uj off
  9. .. To set ruler line, position cursor on the next line and type ^OF--!--!--!--!--!--!--!--!--!--!--!--!-----------------------------------------!
  10.                                                              BSR X3.131-198_
  11. NOTEº  Revisioî 17B consists of changes made by the          X3T9/84-40 REV 1B
  12. X3T9.² task group at their December 10, 1985 meeting.        X3T9.2/82-2
  13. These changes were made in order to make the X3T9.2          REV 17B
  14. draft proposed standard consistenô witè thå ISÏ/TC9·/SC1³ 
  15. drafô proposal®  Seå pagå 1.± foò á changeä pagå list.
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.                                 draft proposed
  24.                           American National Standard
  25.                           for information systems -
  26.  
  27.  
  28.                     SMALL COMPUTER SYSTEM INTERFACE (SCSI)
  29.  
  30.  
  31.                               December 16, 1985
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39. Secretariat
  40.  
  41. Computer and Business Equipment Manufacturers Association
  42.  
  43.  
  44. Abstractº  Thió standarä defineó mechanical¬ electrical¬ anä functiona젍
  45. requirementó foò attachinç smalì computeró witè eacè otheò anä witè low- t
  46. medium-performancå intelligenô peripheraló sucè aó rigiä disks¬ flexibl堍
  47. disks¬ magnetiã tapå devices¬ printers¬ anä opticaì disks®  Thå resultin砍
  48. interfacå facilitateó thå interconnectioî oæ smalì computeró anä intelligenô 
  49. peripheraló anä thuó provideó á commoî interfacå specificatioî foò bot蠍
  50. systemó integratoró anä supplieró oæ intelligenô peripherals.
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57. POINTS OF CONTACT:
  58.  
  59. William E. Burr (X3T9.2 Chairman)      John B. Lohmeyer (X3T9.2 Vice Chairman)
  60. U.S. Department of Commerce            NCR Corporation
  61. National Bureau of Standards           3718 N. Rock Road
  62. Technology A-216                       Wichita, KS 67226
  63. Gaithersburg, MD 20899                 (316) 688-8703 
  64. (301) 921-3723
  65. .paŠ.he Small Computer System Interface        X3T9.2/82-2 - Rev. 17B         12/16/85
  66. .fo                                       1.1
  67.                               CHANGED PAGE LIST
  68.  
  69. Aô theiò December 10, 198µ meeting¬ thå X3T9.² tasë grouð madå á numbeò o栍
  70. changeó tï Revisioî 1· oæ thió document®  (Revisioî 17Á waó distributeä aô th堍
  71. meetinç proposinç somå oæ thå changes» thå remaindeò oæ thå changeó werå mad堍
  72. aô thå meeting.©  Thå primarù reasoî foò makinç theså changeó ió tï keeð thió 
  73. documenô consistenô witè thå ISO/TC97/SC1³ SCSÉ drafô proposal®  Thå pageó 
  74. that have changed since Revision 17 arå listeä below:
  75.  
  76.    Page                                  Change
  77.   -------  -------------------------------------------------------------------
  78.  
  79.      1     Changed revision number and date.
  80.    1.1     Replaced changed page list.
  81.      2     Editorial revisions to the foreword.
  82.   7-7.1    Revised the Table of Contents to reflect the document changes.
  83.      9     Added description of the contents of appendixes D - G.
  84.     12     Moveä sectioî 4.3.2¬ Shieldeä Connectoró intï Appendiø D®  Merge䠍
  85.            sectioî 4.3.1 intï sectioî 4.3.
  86.  12.1-12.2 \
  87.    17-19    \  Deleted pages 
  88.  19.1-19.4  /  (Information moved to Appendix D).
  89.  21.1-21.2 /
  90.    20-21   Deleted second line of Table titles.
  91.     24     Redrew figures 4-5 through 4-7.
  92.     26     Redrew figure 4-9.
  93.     3·     Clarifieä thaô multiplå messageó maù bå senô durinç á messagå phase.
  94.     38     Clarification to the MESSAGE OUT phase error handling.
  95.     41     Redrew figures 5-1 and 5-2.
  96.     43     Editorial clarification.
  97.     49     Deleted "immediately".
  98.   50-50.1  Clarifieä thaô uniô attentioî conditioî ió oî á peò logicaì uniô 
  99.            basis.  Also clarified "other" command is other than REQUEST SENSE.
  100.    65-66   Added ISO version field to the INQUIRY data.
  101.    93.1    Reviseä Tablå 8-14.± tï referencå thå latesô X3Bµ documenô numbeò 
  102.            and to refer to Appendix F for additional standards.
  103.    94-99   Editorial clarifications to the RESERVE and RELEASE commands.
  104.    113     Clarifieä whicè statuó codeó arå tï bå returneä oî SEARCÈ DATÁ 
  105.            commands.
  106.    119     Clarifieä thaô REAÄ BLOCË LIMITÓ returnó thå target'ó capabilitù aó 
  107.            opposed to its current setting.
  108.    132     Added code values 0BH through 0DH to Table 9-14.1.
  109.  132.2-133 Editoriaì clarificationó tï thå RESERVÅ UNIÔ anä RELEASÅ UNIÔ 
  110.            commands.
  111.   147-149  Editoriaì clarificationó tï thå RESERVÅ UNIÔ anä RELEASÅ UNIÔ 
  112.            commands.
  113.  174-176.2 Revised Appendix A to make the figure legible.
  114.   182-183  Redrew figures C1 and C2.
  115.   184-192  Addeä Appendiø D¬ Recommendeä Shieldeä Connectors®  Most of thió 
  116.            information was previously in section 4.3.2.
  117.   193-194  Added Appendix E, Conformance.
  118.   19µ-196  Addeä Appendiø F¬ Additionaì Mediuí Typå anä Densitù Codå Standards.
  119.    197     Appendix G was previously Appendix D.  Editorial clarification.
  120. .paŠ.pn 2
  121. .fo                                       #
  122.                                    FOREWORD
  123.     (This Foreword is not part of American National Standard X3.131-198_.)
  124.  
  125. Thå developmenô oæ comparativelù inexpensivå VLSÉ devicå controlleró hav堍
  126. recentlù changeä thå economicó oæ interfaceó foò smalì systeí storagå devices® 
  127. Wherå expensivå controlleò logiã waó oncå shareä amonç aó manù deviceó aó 
  128. possible¬ iî manù caseó iô no÷ makeó economiã senså tï builä á controlleò i
  129. eacè device®  Thió ió particularlù truå foò higè-performancå storagå devices¬ 
  130. wherå thå intimatå interactionó oæ thå recordinç medium¬ thå recordin砍
  131. mechanism¬ anä thå recordinç codå causå intersymboì interferencå anä erroò 
  132. recoverù problemó thaô arå highlù specifiã tï thå choseî technologies¬ anä ar堍
  133. besô resolveä withiî thå devicå itself®  
  134.  
  135. Moreover¬ thå numbeò oæ typeó oæ storagå deviceó foò smalì computers¬ anä th堍
  136. industrù thaô buildó them¬ havå growî dramaticallù iî thå pasô fe÷ years®  I
  137. particular¬ thå emergencå oæ physicallù small¬ buô comparativelù high-capacitù 
  138. anä high-performancå fixed-mediuí magnetiã disë deviceó (virtuallù non-
  139. existenô iî thå latå 1970s¬ buô á multibillioî dollaò businesó iî thå mid-
  140. 1980s© haó driveî thå developmenô oæ smalì computeò systemó anä causeä á nee䠍
  141. foò otheò classeó oæ devices¬ sucè aó streaminç cartridgå tapå drives¬ foò 
  142. backuð anä datá interchange.
  143.  
  144. Becauså devicå interfaceó arå verù specifiã tï devicå types¬ manù devicå leve젍
  145. interfacå standardó woulä bå requireä tï servicå alì smalì computeò devic堍
  146. types®  Becauså backplanå buseó residå aô thå centeò oæ computers¬ anä hav堍
  147. dramatiã performancå effects¬ manù differenô oneó arå needeä foò differenô 
  148. systeí requirements®  Tï connecô everù backplanå buó tï everù devicå interfac堍
  149. througè á controlleò woulä requirå aî almosô unboundeä numbeò oæ specifi㠍
  150. controlleò products®  
  151.  
  152. Iî addition¬ iî manù systemó today¬ iô ió noô thå computeò whicè ió "central"¬ 
  153. iô ió thå storagå facility®  Thaô is¬ onå or twï largå capacitù storag堍
  154. subsystemó servå severaì computers®  Aî interfacå adapteä tï thió realitù waó 
  155. needed®  
  156.  
  157. Bù 1982¬ alì thå needó giveî abovå werå widelù recognizeä iî thå industrù an䠍
  158. bù thå memberó oæ X3T¹ anä itó Tasë Groups®  Á commerciaì smalì systeí 
  159. paralleì bus¬ thå Shugarô Associateó Systeí Interfacå (SASI)¬ generallù meô 
  160. thå smalì systeí requirementó foò á device-independenô peripheraì oò systeí 
  161. buó anä haä enjoyeä significanô markeô success®  Iô waó offereä tï X3T9.² aó 
  162. thå basió foò á standard®  X3T9.² choså thå namå Smalì Computeò Systeí 
  163. Interfacå (SCSI© foò thaô standarä anä begaî worë aô itó Apriì 198² meeting®  
  164. Thå presenô SCSÉ dpANÓ ió á formalizatioî anä extensioî oæ thå SASI®  Manù 
  165. existinç SASÉ deviceó arå SCSÉ compatible.
  166.  
  167. Sincå Apriì 1982¬ X3T9.² haó helä plenarù sessions¬ aô twï montè intervals¬ 
  168. pluó numerouó informaì workinç meetings®  Thå originaì SASÉ haó beeî extende䠍
  169. iî á numbeò oæ ways¬ including:
  170.  
  171.   (1©  Á differentiaì electricaì optioî haó beeî addeä tï allo÷ uså oæ longeò 
  172. cableó (uð tï 2µ meters© iî environmentó wherå commoî modå noiså ió á concern®
  173.  
  174.   (2©  Á synchronouó transfeò optioî haó beeî developeä allowinç maximuí 
  175. transfeò rateó iî thå ³ tï ´ megabyte per seconä range.
  176.  
  177.   (3©  Aî optionaì "extended¢ commanä seô haó beeî added¬ allowinç foò verù Šlargå capacitù storagå deviceó (á blocë addresó spacå oæ 232” blockó versuó 221” 
  178. foò SASI)¬ anä Inquirù commandó thaô allo÷ self-configurinç driveò software® 
  179.  
  180.   (4©  Commanä setó foò magnetiã tapå (botè start/stoð anä streaming)¬ 
  181. printers¬ processors¬ opticaì disks¬ anä read-onlù opticaì diskó havå bee
  182. addeä tï thå proposeä SCSÉ standard¬ iî additioî tï thoså foò magnetiã disks®  
  183.  
  184. Althougè iô mighô havå beeî prematurå iî Apriì 198² tï claií thaô SASÉ waó 
  185. theî á då facto“ standard¬ thió surelù ió thå caså foò SASI/SCSÉ today®  SCSÉ 
  186. compatiblå hosô adapters¬ controllers¬ anä peripheraì deviceó arå no÷ widelù 
  187. manufactureä arounä thå world®  Hosô adapteró arå availablå foò mosô smal젍
  188. computeró witè accessiblå backplanå buses®  SCSÉ controlleró arå widelù 
  189. availablå foò alì thå då jure“ anä då facto“ standarä magnetiã disë anä magneti㠍
  190. tapå devicå interfaces®  Smalì high-capacitù fixed-mediuí magnetiã disks¬ 
  191. rigiä removable-mediuí magnetiã disks¬ high-capacitù Bernoulli-effecô flexibl堍
  192. disks¬ anä otheò closed-looð high-capacitù flexiblå disë products¬ aó welì aó 
  193. opticaì disë products¬ arå alì availablå witè integraì SCSÉ controllers®  SCSÉ 
  194. subsystemó thaô integratå botè á rigid-disë anä á streaming-tapå drivå intï á 
  195. singlå packagå arå alsï available®  SCSÉ interfacå chipó arå available¬ an䠍
  196. somå disë controlleò chið setó alsï providå SCSÉ support.
  197.  
  198. Sincå á largå numbeò oæ companieó havå implementeä anä testeä thå SCSÉ durin砍
  199. thå developmenô oæ thå proposeä standard¬ nï separatå tesô prograí haó bee
  200. deemeä necessary®  Aô thå Februarù 198´ meetinç oæ X3T9.2¬ representativeó o栍
  201. thå followinç companieó stated¬ foò thå record¬ thaô theiò companieó ha䠍
  202. implementeä anä testeä SCSIº  Adaptec¬ Adaptivå Data¬ Datá Technologù Corp.¬ 
  203. Fujitsõ America¬ Inc.¬ NCÒ Corp.¬ anä Shugarô Corp®  Thió ió noô á complet堍
  204. lisô oæ companieó implementinç productó usinç SCSÉ noò ió iô á promiså bù 
  205. theså companieó tï offeò SCSÉ products®  
  206.  
  207. Thå SCSÉ filló aî urgenô need¬ provideó foò thå future¬ anä ió consonanô wit蠍
  208. actuaì commerciaì practice®  Mosô important¬ thå timinç ió right®  SCSÉ 
  209. catcheó thå floodtidå oæ new¬ high-performancå storagå deviceó foò smal젍
  210. systems¬ anä promiseó tï brinç á measurå oæ needeä ordeò tï whaô woul䠍
  211. otherwiså bå á chaotiã anä fragmenteä market®  
  212.  
  213. Thió standarä specifieó thå mechanical¬ electrical¬ anä functiona젍
  214. requirementó foò á smalì computeò input/outpuô buó interface¬ anä commanä setó 
  215. foò peripheraì devicå types¬ particularlù storagå devices¬ commonlù useä wit蠍
  216. smalì computers.
  217.  
  218. Suggestionó foò improvemenô oæ thió standarä wilì bå welcome®  Theù shoulä b堍
  219. senô tï thå Computeò anä Businesó Equipmenô Manufactureró Association¬ 31± 
  220. Firsô Street¬ NW¬ Suitå 500¬ Washington¬ DC 20001.
  221.  
  222. Thió standarä waó processeä anä approveä foò submittaì tï ANSÉ bù America
  223. Nationaì Standardó Committeå oî Computeró anä Informatioî Processing¬ X3®  
  224. Committeå approvaì oæ thå standarä doeó noô implù thaô alì committeå memberó 
  225. voteä foò itó approval.
  226. .fo                                       2.1
  227. .paŠ.pn 3
  228. .fo                                       #
  229. Aô thå timå iô approveä thió standard¬ thå X³ Committeå haä thå followin砍
  230. members:
  231.  
  232. TÏ BÅ DETERMINED
  233. .paŠSubcommitteå X3T¹ oî I/Ï interfaces¬ whicè revieweä thió standard¬ haä th堍
  234. followinç members:
  235.  
  236. Delbert L. Shoemaker (Chairman)
  237. Ron Tranquilli (Vice Chairman)
  238.  
  239. Bob Bender                         G. Atterbury (Alt)
  240. John Blagaila                      Charles Brill (Alt) 
  241. Fred Ciechowski                    William E. Burr (Alt) 
  242. George Clark                       Roger Cormier (Alt) 
  243. Stephen W. Cooper                  Hank Dorris (Alt) 
  244. Louis C. Domshy                    Thomas A. Fiers (Alt) 
  245. Robert Dugan                       Henry Ginter (Alt)
  246. Ross H. Jaibaji                    William J. McClain (Alt)
  247. Patrick Lannan                     William Mosenthal, Jr. (Alt)
  248. Gene Milligan                      Kirk Moulton (Alt)
  249. Tom Morrow
  250. Mike Newton
  251. Gary S. Robinson
  252. Arnold John Roccati
  253. Floyd E. Ross
  254. Holly S. White
  255.  
  256.  
  257. (Noteº Thå namå listó oî thió pagå anä thå followinç pagå arå incompletå an䠍
  258. they wilì bå updateä upoî finaì approvaì oæ thió standard.)
  259. .paŠTasë Grouð X3T9.² oî Lower-Leveì Interfaces¬ whicè developeä thió standard¬ 
  260. haä thå followinç members:
  261.  
  262. William E. Burr (Chairman)
  263. John B. Lohmeyer (Vice Chairman)
  264.  
  265. Ezra R. Alcudia                    Keith Amundsen (Alt) 
  266. J. L. Amstutz                      Karen Anneberg (Alt) 
  267. Bob Bender                         Charles Brill (Alt)
  268. John Blagaila                      Larry Boucher (Alt)
  269. Tom Briggs                         Paul Clement (Alt) 
  270. David T. Cornaby                   George E. Clark (Alt)
  271. David F. Craft, Jr.                Steve Cooper (Alt) 
  272. Jay Cunningham                     Gary Crowell (Alt) 
  273. Willard S. Davidson                Jon Ericson (Alt) 
  274. Terry Dawson                       Tom Fiers (Alt)
  275. Phil Devin                         Stephen Fitzgerald (Alt) 
  276. Louis C. Domshy                    Marty Francis (Alt) 
  277. Norm Dornseif                      William Homans (Alt) 
  278. Alan Ebright                       J. V. Howell (Alt) 
  279. Anita  Freeman                     Skip Kilsdonk (Alt)
  280. Abe Gindi                          Jim Korpi (Alt)
  281. William A. Horton                  Lawrence J. Lamers (Alt) 
  282. Frank Krulc                        Keith Mueller (Alt)
  283. Patrick E. Lannan                  Don Nanneman (Alt) 
  284. Daniel Loski                       Doug Nolff (Alt) 
  285. William C. Mavity                  Richard Reiser (Alt) 
  286. Gene Milligan                      William H. Roberts (Alt) 
  287. Bob Mortensen                      Floyd E. Ross (Alt)
  288. Gary S. Robinson                   D. Michael Robinson (Alt)
  289. Don Rodgers                        Jay Seashore (Alt) 
  290. Arnold J. Roccati                  Chuck Spatafore (Alt)
  291. Jack Schiffhauer                   Jeff Stai (Alt)
  292. Ralph H. Schultz                   Paul Stavish (Alt) 
  293. Moshe Segal
  294. Delbert L. Shoemaker 
  295. Tim Slaton 
  296. Robert N. Snively
  297. Adrienne Turenne 
  298. Norm Zimmerman 
  299. .paŠ                      T A B L E   O F   C O N T E N T S 
  300.  
  301.   1. Scope...................................................................8
  302.  
  303.   2. Referenced Standard.....................................................9
  304.  
  305.   3. Glossary and Conventions................................................9
  306.      3.1  Glossary...........................................................9
  307.      3.2  Editorial Conventions.............................................11
  308.  
  309.   4. Physical Characteristics...............................................11
  310.      4.1  Physical Description..............................................11
  311.      4.2  Cable Requirements................................................11
  312.      4.3  Connector Requirements............................................12
  313.      4.4  Electrical Description............................................22
  314.      4.5  SCSI Bus..........................................................25
  315.      4.6  SCSI Bus Signals..................................................27
  316.      4.7  SCSI Bus Timing...................................................30
  317.  
  318.   5. Logical Characteristics................................................31
  319.      5.1  SCSI Bus Phases...................................................31
  320.      5.2  SCSI Bus Conditions...............................................38
  321.      5.3  SCSI Bus Phase Sequences..........................................40
  322.      5.4  SCSI Pointers.....................................................42
  323.      5.5  Message System Specification......................................42
  324.  
  325.   6. SCSI Commands .........................................................49
  326.      6.1  Command Implementation Requirements...............................50
  327.      6.²  Commanä Descriptoò Block........................................50.1
  328.      6.3  Command Examples..................................................55
  329.  
  330.   7. Command Descriptions for All Device Types..............................57
  331.      7.1  Group 0 Commands for All Device Types.............................57
  332.      7.2  Group 1 Commands for All Device Types.............................76
  333.      7.3  Group 2 Commands for All Device Types.............................79
  334.      7.4  Group 3 Commands for All Device Types.............................79
  335.      7.5  Group 4 Commands for All Device Types.............................79
  336.      7.6  Group 5 Commands for All Device Types.............................79
  337.      7.7  Group 6 Commands for All Device Types.............................79
  338.      7.8  Group 7 Commands for All Device Types.............................79
  339.  
  340.   8. Command Descriptions for Direct-Access Devices.........................80
  341.      8.1  Group 0 Commands for Direct-Access Devices........................80
  342.      8.2  Group 1 Commands for Direct-Access Devices.......................104
  343.  
  344.   9. Group 0 Command Descriptions for Sequential-Access Devices............117
  345.  
  346.  10. Group 0 Command Descriptions for Printer Devices......................140
  347.  
  348.  11. Group 0 Command Descriptions for Processor Devices....................152
  349.  
  350.  12. Command Descriptions for Write-Once Read-Multiple Devices.............155
  351.      12.1  Group 0 Commands for Write-Once Read-Multiple Devices...........155
  352.      12.2  Group 1 Commands for Write-Once Read-Multiple Devices...........164
  353. .paŠ 13. Command Descriptions for Read-Only Direct-Access Devices..............170
  354.      13.1  Group 0 Commands for Read-Only Direct-Access Devices............170
  355.      13.2  Group 1 Commands for Read-Only Direct-Access Devices............171
  356.  
  357.  14. Status ...............................................................172
  358.  
  359.  
  360.                         L I S T   O F   F I G U R E S 
  361.  
  362.  4-1  Nonshielded SCSI Device Connector.....................................13
  363.  4-2  Nonshielded Cable Connector...........................................15
  364.  4-5  Termination for Single-Ended Devices..................................24
  365.  4-6  Termination for Differential Devices..................................24
  366.  4-7  Differential Driver Protection Circuit (Optional).....................24
  367.  4-8  SCSI ID Bits..........................................................25
  368.  4-9  Sample SCSI Configurations............................................26
  369.  
  370.  5-1  Phase Sequences without Arbitration...................................41
  371.  5-2  Phase Sequences with Arbitration......................................41
  372.  5-3  Simplified SCSI System................................................42
  373.  
  374.  
  375. Appendixes
  376.  
  377.  Appendix A................................................................174
  378.  
  379.  SCSI Signal Sequence Example
  380.  
  381.    Appendix A Figures
  382.      A1:  SCSI Timing Chart ...............................................175
  383.  
  384.  Appendix B................................................................177
  385.  
  386.  Typical Bus Phase Sequence
  387.  
  388.  Appendix C................................................................179
  389.  
  390.  SCSI System Operation
  391.  
  392.      C1.  Host Memory / Host Adapter / SCSI Controller Relationship........179
  393.      C2.  SCSI READ Command Example........................................180
  394.      C3.  I/O Channel Concept..............................................181
  395.  
  396.    Appendix C Figures
  397.      C1:  Snapshot Prior to Initial Selection..............................182
  398.      C2:  Snapshot Prior to Data Transfer..................................183
  399.  
  400.  Appendix D................................................................184
  401.  
  402.  Recommended Shielded Connectors
  403.  
  404.      D1.  Shielded Connector, Alternative 1................................184
  405.      D2.  Shielded Connector, Alternative 2................................184
  406.      D3.  EUROCARD Boxes...................................................184
  407. .paŠ.fo                                      7.1
  408.    Appendix D Figures
  409.      D1:  Female Shielded SCSI Cable Connector, Alternative 1..............185
  410.      D2:  Male Shielded SCSI Device Connector, Alternative 1...............187
  411.      D3:  Shielded SCSI Device Connector, Alternative 2....................189
  412.      D4:  Shielded SCSI Cable Connector, Alternative 2.....................190
  413.  
  414.  Appendix E................................................................193
  415.  
  416.  Conformance
  417.  
  418.      E1.  Alternatives.....................................................193
  419.      E2.  Levels of Conformance............................................193
  420.      E3.  Options..........................................................194
  421.      E4.  Statement of Conformance.........................................194
  422.  
  423.  Appendix F................................................................195
  424.  
  425.  Additional Medium Type and Density Code Standards
  426.  
  427.  Appendix G................................................................197
  428.  
  429.  Future Standardization    
  430. .paŠ
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.                      (This page is intentionally blank.)
  461. .fo                                      7.2
  462. .paŠ.. To set ruler line, position cursor on the next line and type ^OF--!--!--!--!--!--!--!--!--!--!--!--!-----------------------------------------!
  463. .pn 8
  464. .fo Section 1                             #
  465. 1. Scope
  466.  
  467. Thió Americaî Nationaì Standarä provideó thå mechanical¬ electrical¬ an䠍
  468. functionaì requirementó foò á smalì computeò input/outpuô buó anä commanä setó 
  469. foò peripheraì devicå typeó commonlù useä witè smalì computers®
  470.  
  471.   Thå smalì computeò systeí interface¬ describeä iî thió standard¬ ió á loca젍
  472. I/Ï buó thaô caî bå operateä aô datá rateó uð tï ´ megabyteó peò secon䠍
  473. dependinç upoî circuiô implementatioî choices®  Thå primarù objectivå oæ th堍
  474. interfacå ió tï providå hosô computeró witè devicå independencå withiî á 
  475. clasó oæ devices®  Thus¬ differenô disë drives¬ tapå drives¬ printers¬ an䠍
  476. eveî communicatioî deviceó caî bå addeä tï thå hosô computer(s© withouô 
  477. requirinç modificationó tï generiã systeí hardwarå oò software®  Provisio
  478. ió madå foò thå additioî oæ nongeneriã featureó anä functionó througè vendoò 
  479. uniquå fieldó anä codes.
  480.  
  481.   Thå interfacå useó logicaì ratheò thaî physicaì addressinç foò alì dat᠍
  482. blocks®  Foò direcô accesó devices¬ eacè logicaì uniô maù bå interrogateä t
  483. determinå ho÷ manù blockó iô contains®  Á logicaì uniô maù coincidå witè al젍
  484. oò parô oæ á peripheraì device.
  485.  
  486.   Provisioî ió madå foò cablå lengthó uð tï 2µ meteró usinç differentia젍
  487. driveró anä receivers®  Á single-endeä driveò anä receiveò configuratioî ió 
  488. defineä foò cablå lengthó oæ uð tï ¶ meteró anä ió primarilù intendeä foò 
  489. applicationó withiî á cabinet.
  490.  
  491.   Thå interfacå protocoì includeó provisioî foò thå connectioî oæ multipl堍
  492. initiatoró (SCSÉ deviceó capablå oæ initiatinç aî operation© anä multipl堍
  493. targetó (SCSÉ deviceó capablå oæ respondinç tï á requesô tï perforí a
  494. operation)®  Optionaì distributeä arbitratioî (i.e.¬ bus-contentioî logic© ió 
  495. builô intï thå architecturå oæ SCSI®  Á prioritù systeí awardó interfac堍
  496. controì tï thå highesô prioritù SCSÉ devicå thaô ió contendinç foò uså oæ th堍
  497. bus®  Thå timå tï completå arbitratioî ió independenô oæ thå numbeò oæ deviceó 
  498. that arå contendinç anä caî bå completeä iî lesó thaî 1° microseconds.
  499.  
  500.   Thå physicaì characteristicó arå describeä iî Sectioî 4®  Therå arå tw
  501. electricaì alternativesº single-endeä anä differential®  Single-endeä an䠍
  502. differentiaì deviceó arå electricallù differenô anä shalì noô bå mixeä oî th堍
  503. samå bus®  Iî addition¬ therå arå severaì optionsº shieldeä oò unshielde䠍
  504. connectoró maù bå useä anä paritù maù oò maù noô bå implemented.
  505.  
  506.   Sectioî µ describeó thå logicaì characteristicó oæ thå interface®  A
  507. arbitratioî optioî ió defineä tï permiô multiplå initiatoró anä tï permiô 
  508. concurrenô I/Ï operations®  Alì SCSÉ deviceó arå requireä tï bå capablå o栍
  509. operatinç witè thå defineä asynchronouó transfeò protocol®  Iî addition¬ a
  510. optionaì synchronouó transfeò protocoì ió defined®  Sectioî µ alsï specifieó á 
  511. messagå protocoì foò controì oæ thå interface®  Iî mosô cases¬ messageó ar堍
  512. noô directlù apparenô tï thå hosô computeò software®  Onlù onå message¬ 
  513. COMMANÄ COMPLETE¬ ió mandatory» alì otheró arå optionaì anä arå noô 
  514. necessarilù implemented®  Notå thaô somå optionó (e.g.¬ synchronouó transfer© 
  515. requirå thå implementatioî oæ certaiî messages.
  516.  
  517.   Thå SCSÉ command structurå ió specifieä iî Sectioî 6®  Commandó ar堍
  518. classifieä aó mandatorù (M)¬ extendeä (E)¬ optionaì (O)¬ oò vendoò uniquå (V)®  
  519. SCSÉ deviceó shalì implemenô alì mandatorù commandó defineä foò th堍
  520. appropriatå devicå typå anä maù implemenô otheò commandó aó well®  Extende䠍ŠSCSÉ deviceó shalì implemenô alì extendeä pluó alì mandatorù commandó anä maù 
  521. implemenô otheò commandó aó well®  Extendeä SCSÉ deviceó contaiî commandó thaô 
  522. facilitatå thå writinç oæ self-configurinç softwarå driveró thaô ca
  523. "discover¢ alì necessarù attributeó withouô prioò knowledgå oæ specifi㠍
  524. peripheraì characteristicó (sucè aó storagå capacity)®  Extendeä commandó foò 
  525. direcô accesó deviceó alsï implemenô á verù largå logicaì blocë addresó spac堍
  526. (232” blocks)¬ althougè mandatorù commandó foò direcô accesó deviceó implemenô 
  527. á somewhaô smalleò logicaì blocë addresó spacå (221” blocks).
  528.  
  529.   Sectioî · specifieó thoså commandó thaô havå á consistenô meaninç foò al젍
  530. devicå types.
  531.  
  532.   Sectionó ¸ througè 1³ contaiî commandó foò direct-accesó (e®g.¬ magneti㠍
  533. disk)¬ sequential-accesó (e.g.¬ magnetiã tape)¬ printer¬ processor¬ write-
  534. once-read-multiplå (e.g.¬ opticaì disk)¬ anä read-onlù direct-accesó devices¬ 
  535. respectively®  Thå commandó iî eacè oæ theså sectionó arå uniquå tï thå devic堍
  536. type¬ oò theù havå interpretations¬ fields¬ oò featureó thaô arå specifiã foò 
  537. thå devicå type®  Thus¬ foò example¬ althougè thå WRITÅ commanä ió useä foò 
  538. severaì devicå types¬ iô haó á somewhaô differenô forí foò eacè type¬ wit蠍
  539. differenô parameteró anä meanings®  Therefore¬ iô ió specifieä separatelù foò 
  540. eacè devicå type.
  541.  
  542.   Sectioî 1´ describeó thå statuó bytå foò alì devicå types®  Statuó ió 
  543. returneä bù targetó aô thå enä oæ eacè command®
  544.  
  545.   Appendixeó Á througè Ã providå exampleó oæ SCSÉ signaì sequences¬ timing¬ 
  546. anä phaså sequences®  Appendiø Ä containó informatioî oî recommendeä shielde䠍
  547. connectors®  Appendiø Å containó informatioî oî conformancå statements®  
  548. Appendiø Æ containó informatioî oî otheò standardó relateä tï mediuí typeó an䠍
  549. densitù codeó foò flexiblå diskó anä magnetiã tapes®  Appendiø Ç containó 
  550. informatioî oî futurå extensionó tï SCSÉ thaô arå beinç considereä bù X3T9.²  
  551. However¬ thå appendixeó arå noô parô oæ thió standard.
  552.  
  553.  
  554. .. To set ruler line, position cursor on the next line and type ^OF--!--!--!--!--!--!--!--!--!--!--!--!-----------------------------------------!
  555. .fo Section 2                            #
  556. 2. Referenced Standard
  557.  
  558. Thió standarä ió intendeä foò uså iî conjunctioî witè EIÁ RS-485-1983¬ 
  559. Standarä foò Electricaì Characteristicó oæ Generatoró anä Receiveró foò uså i
  560. Balanced Digital Multipoint Systems.1
  561.  
  562.  
  563. .. To set ruler line, position cursor on the next line and type ^OF--!--!--!--!--!--!--!--!--!--!--!--!-----------------------------------------!
  564. .fo Section 3                            #
  565. 3. Glossary and Conventions
  566.  
  567. 3.1 Glossary
  568.  
  569. byte.  In this standard, this term indicates an 8-bit (octet) byte.
  570.  
  571. commanä descriptoò blocë (CDB).‚  Thå structurå useä tï communicatå requestó 
  572. froí aî initiatoò tï á target.
  573.  
  574. connect.‚  Thå functioî thaô occuró wheî aî initiatoò selectó á targeô tï starô 
  575. aî operation.
  576. ____________
  577.  
  578. 1” Availablå froí thå Electroniã Industrieó Association¬ 200± Eyå Streeô NW¬ 
  579. Washington, D.C. 20006.
  580. .cp 56Šdisconnect.‚  Thå functioî thaô occuró wheî á targeô releaseó controì oæ th堍
  581. SCSÉ bus¬ allowinç iô tï gï tï thå BUÓ FREÅ phase.
  582.  
  583. initiator.‚  Aî SCSÉ devicå (usuallù á hosô system© thaô requestó aî operatio
  584. tï bå performeä bù anotheò SCSÉ device.
  585.  
  586. INTERMEDIATÅ status.‚  Á statuó codå senô froí á targeô tï aî initiatoò upo
  587. completioî oæ eacè commanä iî á seô oæ linkeä commandó excepô thå lasô comman䠍
  588. iî thå set.
  589.  
  590. logicaì unit.  Á physicaì oò virtuaì devicå addressablå througè á target.
  591.  
  592. logicaì uniô numbeò.  Aî encoded three-bit identifieò foò thå logicaì unit.
  593.  
  594. LSB.  Least significant byte.
  595.  
  596. LUN.  Logical unit number.
  597.  
  598. mm.  Millimeter.
  599.  
  600. ms.  Millisecond.
  601.  
  602. MSB.  Most significant byte.
  603.  
  604. ns.  Nanosecond.
  605.  
  606. one.  A true signal value.
  607.  
  608. peripheraì device.‚  Á peripheraì thaô caî bå attacheä tï aî  SCSÉ devic堍
  609. (e.g.¬ magnetic-disk¬ printer¬ optical-disk¬ oò magnetic-tape).
  610.  
  611. reconnect.‚  Thå functioî thaô occuró wheî á targeô selectó aî initiatoò t
  612. continuå aî operatioî afteò á disconnect.
  613.  
  614. reserved.‚  Thå terí useä foò bits¬ bytes¬ fields¬ anä codå valueó thaô arå seô 
  615. asidå foò futurå standardization.
  616.  
  617. SCSÉ address.‚  Thå octaì representatioî oæ thå uniquå addresó (0-7© assigne䠍
  618. tï aî SCSÉ device®  Thió addresó woulä normallù bå assigneä anä seô iî th堍
  619. SCSÉ devicå durinç systeí installation.
  620.  
  621. SCSÉ ID.‚  Thå bit-significanô representatioî oæ thå SCSÉ addresó referrinç t
  622. onå oæ thå signaì lineó DB(7-0).
  623.  
  624. SCSÉ device.‚  Á hosô computeò adapteò oò á peripheraì controlleò oò a
  625. intelligenô peripheraì thaô caî bå attacheä tï thå SCSÉ bus.
  626.  
  627. signaì assertion.‚  Thå acô oæ drivinç a signaì tï thå truå state.
  628.  
  629. signaì negation.‚  Thå acô oæ drivinç á signaì tï thå falså statå oò allowin砍
  630. thå cablå terminatoró tï biaó thå signaì tï thå falså statå (bù placinç th堍
  631. driver in the high impedance condition).
  632.  
  633. signaì release.‚  Thå acô oæ allowinç thå cablå terminatoró tï biaó thå signa젍
  634. tï thå falså statå (bù placinç thå driveò iî thå higè impedancå condition).
  635. Šstatus.‚  Onå bytå oæ informatioî senô froí á targeô tï aî initiatoò upo
  636. completioî oæ each commanä.
  637.  
  638. target.‚  Aî SCSÉ devicå thaô performó aî operatioî requesteä bù aî initiator.
  639.  
  640. us.  Microsecond.
  641.  
  642. vendoò unique.‚  Iî thió standard¬ thió terí indicateó bits¬ fields¬ oò cod堍
  643. valueó thaô arå vendoò specific.
  644.  
  645. xxH.‚  Numberó followeä bù capitaì È subscripô arå hexadecimaì values®  Al젍
  646. otheò numberó arå decimaì values® 
  647.  
  648. zero.  A false signal value.
  649.  
  650. 3.² Editoriaì Conventions.‚  Certaiî wordó anä termó useä iî thió standarä hav堍
  651. á specifiã meaninç beyonä thå normaì Englisè meaning®  Theså wordó anä termó 
  652. arå defineä eitheò iî thå glossarù (seå 3.1© oò iî thå texô wherå theù firsô 
  653. appeaò (e.g.¬ initiator)®  Nameó oæ signals¬ phases¬ conditions¬ messages¬ 
  654. commands¬ statuses¬ anä senså keyó arå iî alì uppercaså (e.g.¬ REQUESÔ SENSE)®  
  655. Lowercaså ió useä foò wordó havinç thå normaì Englisè meaning.
  656.  
  657.  
  658. .. To set ruler line, position cursor on the next line and type ^OF--!--!--!--!--!--!--!--!--!--!--!--!-----------------------------------------!
  659. .fo Section 4                            #
  660. 4. Physical Characteristics
  661.  
  662. Thió sectioî containó thå physicaì definitioî oæ thå SCSI®  Thå connectors¬ 
  663. cables¬ signals¬ terminators¬ anä buó timinç needeä tï implemenô SCSÉ ar堍
  664. covered.
  665.  
  666. 4.± Physicaì Description.‚  SCSÉ deviceó arå daisy-chaineä togetheò usinç á 
  667. commoî cable®  Botè endó oæ thå cablå arå terminated®  Alì signaló arå commo
  668. betweeî alì SCSÉ devices®  Twï driver/receiveò alternativeó arå available:
  669.  
  670.   (1© Single-endeä driveró anä receivers¬ whicè allo÷ á maximuí cablå lengt蠍
  671. oæ siø meteró (primarilù foò connectioî withiî á cabinet)
  672.  
  673.   (2© Differentiaì driveró anä receivers¬ whicè allo÷ á maximuí cablå lengt蠍
  674. oæ 2µ meteró (primarilù foò connectioî outsidå oæ á cabinet)
  675.  
  676. 4.² Cablå Requirements.‚  Aî ideaì impedancå matcè witè cablå terminatoró 
  677. implieó á cablå characteristiã impedancå oæ 13² ohmó (singled-endeä option© oò 
  678. 12² ohmó (differentiaì option)® Iî general¬ cableó witè thió higè oæ á 
  679. characteristiã impedancå arå noô available» however¬ impedanceó thaô ar堍
  680. somewhaô loweò arå satisfactory®  Á characteristiã impedancå oæ 10° ohmó +“ 10¥ 
  681. ió recommendeä foò unshieldeä flaô oò twisteä paiò ribboî cable®  Á 
  682. characteristiã impedancå greateò thaî 9° ohmó ió preferreä foò shielde䠍
  683. cables» however¬ mosô availablå cableó havå á somewhaô loweò characteristi㠍
  684. impedance®  Tï minimizå discontinuitieó anä signaì reflections¬ cableó o栍
  685. differenô impedanceó shoulä noô bå useä iî thå samå bus®  Implementationó maù 
  686. requirå trade-offó iî shieldinç effectiveness¬ cablå length¬ thå numbeò o栍
  687. loads¬ transfeò rates¬ anä cosô tï achievå satisfactorù systeí operation.
  688.  
  689.   Á minimuí conductoò sizå oæ 2¸ AWÇ shalì bå employeä tï minimizå nois堍
  690. effectó anä ensurå propeò distributioî oæ optionaì terminatoò power.
  691. .cp 5
  692.   4.2.± Single-Endeä Cable.‚  Á 50-conductoò flaô cablå oò 25-signaì twisted-
  693. paiò cablå shalì bå used®  Thå maximuí cablå lengtè shalì bå 6.° meters.
  694.  
  695.   Á stuâ lengtè oæ nï morå thaî 0.± meteró ió alloweä ofæ thå mainlin堍
  696. interconnectioî withiî anù connecteä equipment.
  697.  
  698.   SCSÉ buó terminatioî maù bå internaì tï thå SCSÉ deviceó thaô arå aô th堍
  699. endó oæ thå cable.
  700.  
  701.   4.2.² Differentiaì Cable.‚  Á 50-conductoò cablå oò 25-signaì twisted-paiò 
  702. cablå shalì bå used®  Thå maximuí cablå lengtè shalì bå 2µ meters.
  703.  
  704.   Á stuâ lengtè oæ nï morå thaî 0.² meteró ió alloweä ofæ thå mainlin堍
  705. interconnectioî withiî anù connecteä equipment.
  706.  
  707.   SCSÉ buó terminatioî maù bå internaì tï thå SCSÉ deviceó thaô arå aô th堍
  708. endó oæ thå cable.
  709.  
  710. 4.³ Connectoò Requirements.‚  Nonshieldeä connectoró arå specified®  Th堍
  711. nonshieldeä connectoró arå typicallù useä foò in-cabineô applications®  
  712. Appendiø Ä defineó recommendeä shieldeä connectoró anä theiò piî assignments®  
  713. Theså connectoró arå typicallù useä foò externaì applicationó wher堍
  714. electromagnetiã compatibilitù (EMC© anä electrostatiã dischargå (ESD© 
  715. protectioî maù bå required®  Eitheò typå oæ connectoò maù bå useä witè th堍
  716. single-endeä oò differentiaì drivers.Š
  717.   Thå nonshieldeä SCSÉ devicå connectoò (Figurå 4-1© shalì bå á 50-conductoò 
  718. connectoò consistinç oæ twï rowó oæ 2µ malå pinó witè adjacenô pinó 2.5´ mí 
  719. (0.± in© apart®  Á shrouä anä headeò bodù shoulä bå used®  Thå nonmatin砍
  720. portioî oæ thå connectoò ió showî foò referencå only.
  721.  
  722.   Thå nonshieldeä cablå connectoò (Figurå 4-2© shalì bå á 50-conductoò 
  723. connectoò consistinç oæ twï rowó oæ 2µ femalå contactó witè adjacenô contactó 
  724. 2.54 mm (0.1 in) apart®  Iô ió recommendeä thaô keyeä connectoró bå used.
  725.  
  726.   Thå unshieldeä connectoò piî assignmentó shalì bå aó showî iî Tablå 4-± foò 
  727. single-endeä driveró anä aó showî iî Tablå 4-² foò differentiaì drivers.
  728. .paŠ
  729.  
  730.  
  731.  
  732.  
  733.  
  734.  
  735.  
  736.  
  737.  
  738.  
  739.  
  740.  
  741.  
  742.  
  743.  
  744.  
  745.  
  746.  
  747.  
  748.  
  749.  
  750.  
  751.  
  752.  
  753.  
  754.  
  755.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.                 Figure 4-1a. Nonshielded SCSI Device Connector
  783. .paŠ==============================================================================
  784. Dimensions    Millimeters    Inches
  785. ------------------------------------------------------------------------------
  786.    D1          2.54          0.100 
  787.    D2*        82.80          3.260 
  788.    D3          2.54          0.100 
  789.    D4          4.83          0.190 
  790.    D5*         8.51          0.335 
  791.    D6*        72.64          2.860 
  792.    D7*        78.74          3.100 
  793.    D8*        13.94          0.549 
  794.    D9          4.19          0.165 
  795.    D10         6.09          0.240 
  796.    D11         6.60          0.260 
  797. ==============================================================================
  798. NOTES:
  799.   (1) Fifty Contacts on 2.54-mm (0.100-inch) spacing = 60.96 mm (2.40 inch).
  800.   (2) Tolerances + 0.127 mm (0.005 inch) noncumulative.
  801.   (3) Dimensions listed with asterisks (*) are shown for reference only.
  802.  
  803.  
  804.                 Figure 4-1b. Nonshielded SCSI Device Connector
  805.  
  806.  
  807.  
  808.  
  809.  
  810.  
  811. (Editoró noteº  Figureó 4-1á anä 4-1â arå tï bå combineä intï á singlå figur堍
  812. during the final editing.)
  813. .paŠ
  814.  
  815.  
  816.  
  817.  
  818.  
  819.  
  820.  
  821.  
  822.  
  823.  
  824.  
  825.  
  826.  
  827.  
  828.  
  829.  
  830.  
  831.  
  832.  
  833.  
  834.  
  835.  
  836.  
  837.  
  838.  
  839.  
  840.  
  841.  
  842.  
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849.  
  850.  
  851.  
  852.  
  853.  
  854.  
  855.  
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862.  
  863.  
  864.  
  865.  
  866.  
  867.                    Figure 4-2a. Nonshielded Cable Connector
  868. .paŠ==============================================================================
  869. Dimensions    Millimeters    Inches
  870. ------------------------------------------------------------------------------
  871.    C1          2.5400        0.100
  872.    C2         60.9600        2.400
  873.    C3          2.5400        0.100
  874.    C4          8.3570        0.329
  875.    C5          3.3025        0.130
  876.    C6         68.0720        2.680
  877.    C7          6.0960        0.240
  878.    C8*         8.1530        0.321
  879.    C9*        13.4870        0.531
  880.    C10*        3.8100        0.150
  881.    C11*        1.2700        0.050
  882.    C12*        6.0960        0.240
  883.    C13        32.3850        1.275
  884.    C14         3.3020        0.130
  885.    C15         7.4930        0.295
  886.    C16         2.6670        0.105 
  887.    C17         1.6250        0.064
  888. ==============================================================================
  889. NOTES:
  890.   (1© Fiftù contactó oî 1.27-mí (0.05-inch©* staggereä spacinç ½ 62.2³ mí 
  891. (2.45° inch)*.
  892.   (2) Toleranceó + 0.12· mí (0.00µ inch© noncumulative.
  893.   (3) Dimensions listed with asterisks (*) are shown for reference only.
  894.  
  895.                    Figure 4-2b. Nonshielded Cable Connector
  896.  
  897.  
  898.  
  899.  
  900.  
  901.  
  902. (Editoró noteº  Figureó 4-2á anä 4-2â arå tï bå combineä intï á singlå figur堍
  903. during the final editing.)
  904.  
  905. (Pageó 17-1¹ anä 19.1-19.´ arå deleted®  Thå informatioî previouslù containe䠍
  906. on these pages has been moved to Appendix D.)
  907. .paŠ.pn 20
  908. .fo Section 4                            #
  909.                                   Table 4-1
  910.                          Single-Ended Pin Assignments
  911.  
  912. ==============================================================================
  913.                             Signal      Pin Number
  914. ------------------------------------------------------------------------------
  915.                             -DB(0)           2
  916.                             -DB(1)           4
  917.                             -DB(2)           6
  918.                             -DB(3)           8
  919.                             -DB(4)          10
  920.                             -DB(5)          12
  921.                             -DB(6)          14
  922.                             -DB(7)          16
  923.                             -DB(P)          18
  924.                             GROUND          20
  925.                             GROUND          22
  926.                             GROUND          24
  927.                             TERMPWR         26
  928.                             GROUND          28
  929.                             GROUND          30
  930.                             -ATN            32
  931.                             GROUND          34
  932.                             -BSY            36
  933.                             -ACK            38
  934.                             -RST            40
  935.                             -MSG            42
  936.                             -SEL            44
  937.                             -C/D            46
  938.                             -REQ            48
  939.                             -I/O            50
  940. ==============================================================================
  941. NOTES:
  942.   (1© Alì odä pinó excepô piî 2µ shalì bå connecteä tï ground®  Piî 2µ shoul䠍
  943. bå lefô open®  Somå productó designeä prioò tï thå generatioî oæ thió standar䠍
  944. connecteä thió piî tï ground.
  945.   (2© Thå minuó sigî nexô tï thå signaló indicateó activå low.
  946. .paŠ                                  Table 4-2
  947.                          Differential Pin Assignments
  948.  
  949. ==============================================================================
  950.               Signal Name        Pin Number         Signal Name
  951. ------------------------------------------------------------------------------
  952.               SHIELD GROUND      1         2        GROUND 
  953.               +DB(0)             3         4        -DB(0) 
  954.               +DB(1)             5         6        -DB(1) 
  955.               +DB(2)             7         8        -DB(2) 
  956.               +DB(3©             ¹        1°        -DB(3) 
  957.               +DB(4)            11        12        -DB(4) 
  958.               +DB(5)            13        14        -DB(5) 
  959.               +DB(6)            15        16        -DB(6) 
  960.               +DB(7)            17        18        -DB(7) 
  961.               +DB(P)            19        20        -DB(P) 
  962.               DIFFSENS          21        22        GROUND 
  963.               GROUND            23        24        GROUND 
  964.               TERMPWR           25        26        TERMPWR
  965.               GROUND            27        28        GROUND 
  966.               +ATN              29        30        -ATN 
  967.               GROUND            31        32        GROUND 
  968.               +BSY              33        34        -BSY 
  969.               +ACK              35        36        -ACK 
  970.               +RST              37        38        -RST 
  971.               +MSG              39        40        -MSG 
  972.               +SEL              41        42        -SEL 
  973.               +C/D              43        44        -C/D 
  974.               +REQ              45        46        -REQ 
  975.               +I/O              47        48        -I/O 
  976.               GROUND            49        50        GROUND 
  977. ==============================================================================
  978. NOTE:
  979.   (1© SHIELÄ GROUNÄ ió optionaì oî somå cables®  (Implementoró noteº  Som堍
  980. shielded flat ribbon cables use pin 1 as a connection to the shield.)
  981. .paŠ.pn 22
  982. .fo Section 4                            #
  983. 4.4 Electrical Description
  984.  
  985. NOTEº  Foò theså measurements¬ SCSÉ buó terminatioî ió assumeä tï bå externa젍
  986. tï thå SCSÉ device®  Aî SCSÉ devicå maù havå thå provisioî foò allowin砍
  987. optionaì internaì termination.
  988.  
  989.   4.4.± Single-Endeä Alternative.‚  Alì assigneä signaló shalì bå terminate䠍
  990. witè 22° ohmó tï +µ voltó (nominal© anä 33° ohmó tï grounä aô eacè enä oæ th堍
  991. cable®  (Seå Figurå 4-5.©  Alì signaló shalì uså open-collectoò oò three-stat堍
  992. drivers.
  993.  
  994.      4.4.1.± Outpuô Characteristics.‚  Eacè signaì driveî bù aî SCSÉ devic堍
  995. shalì havå thå followinç outpuô characteristicó wheî measureä aô thå SCSÉ 
  996. device'ó connector:
  997.  
  998.   Signal assertion = 0.0 volts dc to 0.4 volts dc 
  999.   Minimum driver output capability = 48 milliamps (sinking) at 0.5 volts dc
  1000.   Signal negation = 2.5 volts dc to 5.25 volts dc
  1001.  
  1002.      4.4.1.² Inpuô Characteristics.‚  Eacè signaì receiveä bù aî SCSÉ devic堍
  1003. shalì havå thå followinç inpuô characteristicó wheî measureä aô thå SCSÉ 
  1004. device'ó connector:
  1005.  
  1006.   Signal true = 0.0 volts dc to 0.8 volts dc
  1007.   Maximum total input load = -0.4 milliamps at 0.4 volts dc
  1008.   Signal false = 2.0 volts dc to 5.25 volts dc
  1009.   Minimum input hysteresis = 0.2 volts dc
  1010.  
  1011.   4.4.² Differentiaì Alternative.‚  Alì signaló consisô oæ twï lineó denote䠍
  1012. +SIGNAÌ anä -SIGNAL®  Á signaì ió truå wheî +SIGNAÌ ió morå positivå tha
  1013. -SIGNAL¬ anä á signaì ió falså wheî -SIGNAÌ ió morå positivå thaî +SIGNAL®  
  1014. Alì assigneä signaló shalì bå terminateä aô eacè enä oæ thå cablå aó showî i
  1015. Figurå 4-6.
  1016.  
  1017. NOTEº  Aó aî option¬ thå DIFFSENÓ signaì oæ thå connectoò ió reserveä foò a
  1018. activå higè enablå foò thå differentiaì drivers®  Iæ á single-endeä devicå oò 
  1019. terminatoò ió inadvertentlù connected¬ thió signal ió grounded¬ disablinç th堍
  1020. drivers®  (Seå Figurå 4-7.)
  1021.  
  1022.      4.4.2.± Outpuô Characteristics.‚  Eacè signaì driveî bù aî SCSÉ devic堍
  1023. shalì havå thå followinç outpuô characteristicó wheî measureä aô thå SCSÉ 
  1024. device'ó connector:
  1025.  
  1026.    VOL (Low-level output voltage) = 2.° Ö maximuí aô IOL– (Low-leveì outpuô 
  1027.                                       current© ½ 5µ milliamps.
  1028.    VOH (High-level output voltage) = 3.° Ö minimuí aô IOH– (High-leveì outpuô 
  1029.                                        current© ½ -5µ milliamps.
  1030.    VOD (Differential voltage) = 1.° Ö minimuí witè common-modå voltagå rangeó 
  1031.                                   froí -· voltó dã tï +1² voltó dc.
  1032.  
  1033.   VOL– anä VOH– shalì bå aó measureä betweeî thå outpuô terminaì anä thå SCSÉ 
  1034. device'ó logiã grounä reference.
  1035.  
  1036.   Thå outpuô characteristicó shalì additionallù conforí tï EIÁ RS-485-1983.
  1037. .paŠ     4.4.2.² Inpuô Characteristics.‚  Eacè signaì receiveä bù aî SCSÉ devic堍
  1038. shalì havå thå followinç inpuô characteristicó wheî measureä aô thå SCSÉ 
  1039. device'ó connector:
  1040.  
  1041.   II (Input current on either input) = + 2.0 milliamps maximum.
  1042.  
  1043. NOTEº  Theså characteristicó includå botè receiveró anä passivå drivers.
  1044.  
  1045.   Thió requiremenô shalì bå meô witè thå inpuô voltagå varyinç betwee
  1046. -7 voltó dã anä +1² voltó dc¬ witè poweò oî oò off¬ anä witè thå hysteresió 
  1047. equalinç 3µ millivolts¬ minimum.
  1048.  
  1049.   Thå inpuô characteristicó shalì additionallù conforí tï EIÁ RS-485-1983.
  1050.  
  1051.   4.4.³ Terminatoò Poweò (Optional).‚  Single-endeä SCSÉ deviceó providin砍
  1052. terminatoò poweò (TERMPWR© shalì havå thå followinç characteristics:
  1053.  
  1054.   VTerm =  4.0 volts dc to 5.25 volts dc
  1055.            80° milliamps minimuí sourcå drivå capability
  1056.            1.° milliamð maximuí sinë capabilitù (excepô foò thå purposeó o栍
  1057.              providinç poweò tï aî internaì terminator© witè 1.° amð 
  1058.              recommendeä currenô limitinç (e.g.¬ á fuse).
  1059.  
  1060.   Differentiaì SCSÉ deviceó providinç terminatoò poweò (TERMPWR© shalì hav堍
  1061. thå followinç characteristics:
  1062.  
  1063.   VTerm =  4.0 volts dc to 5.25 volts dc
  1064.            60° milliamps minimuí sourcå drivå capability
  1065.            1.° milliamð maximuí sinë capabilitù (excepô foò thå purposeó o栍
  1066.              providinç poweò tï aî internaì terminator© witè 1.° amð 
  1067.              recommendeä currenô limitinç (e.g.¬ á fuse).
  1068.  
  1069.   Thå uså oæ keyeä connectoró ió recommendeä iî SCSÉ deviceó thaô provid堍
  1070. terminatoò poweò tï prevenô accidentaì groundinç oò misconnectioî o栍
  1071. terminatoò power.
  1072.  
  1073.   SCSÉ deviceó thaô supplù terminatoò poweò shalì dï sï througè á diodå oò 
  1074. similaò semiconductoò thaô preventó thå backflo÷ oæ poweò tï thå SCSÉ device.
  1075. .paŠ
  1076.  
  1077.  
  1078.  
  1079.  
  1080.  
  1081.  
  1082.  
  1083.  
  1084.  
  1085.  
  1086.  
  1087.  
  1088.  
  1089.  
  1090.  
  1091.                Figure 4-5. Termination for Single-Ended Devices
  1092.  
  1093.  
  1094.  
  1095.  
  1096.  
  1097.  
  1098.  
  1099.  
  1100.  
  1101.  
  1102.  
  1103.  
  1104.  
  1105.  
  1106.  
  1107.  
  1108.  
  1109.  
  1110.  
  1111.  
  1112.  
  1113.                Figure 4-6. Termination for Differential Devices
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.  
  1127.  
  1128.  
  1129.         Figure 4-7. Differential Driver Protection Circuit (Optional)
  1130. .paŠ4.µ SCSÉ Bus.‚  Communicatioî oî thå SCSÉ buó ió alloweä betweeî onlù twï SCSÉ 
  1131. deviceó aô anù giveî time®  Therå ió á maximuí oæ eighô SCSÉ devices®  Eac蠍
  1132. SCSÉ devicå haó aî SCSÉ IÄ biô assigneä aó showî iî Figurå 4-8.
  1133.  
  1134.   Wheî twï SCSÉ deviceó communicatå oî thå SCSÉ bus¬ onå actó aó aî initiatoò 
  1135. anä thå otheò actó aó á target®  Thå initiatoò originateó aî operatioî anä th堍
  1136. targeô performó thå operation®  Aî SCSÉ devicå usuallù haó á fixeä rolå aó a
  1137. initiatoò oò target¬ buô somå deviceó maù bå ablå tï assumå eitheò role.
  1138.  
  1139.   Aî initiatoò maù addresó uð tï eighô peripheraì deviceó thaô arå connecte䠍
  1140. tï á target®  Aî optioî allowó thå addressinç oæ uð tï 2,04¸ periphera젍
  1141. deviceó peò targeô usinç extendeä messages®  Threå samplå systeí 
  1142. configurationó arå showî iî Figurå 4-9.
  1143.  
  1144.  
  1145.  
  1146.      DB(7) DB(6) DB(5) DB(4) DB(3) DB(2) DB(1) DB(0)  <-- DATA BUS
  1147.      |     |     |     |     |     |     |     |
  1148.      |     |     |     |     |     |     |     SCSI ID = 0
  1149.      |     |     |     |     |     |     | 
  1150.      |     |     |     |     |     |     SCSI ID = 1
  1151.      |     |     |     |     |     |
  1152.      |     |     |     |     |     SCSI ID = 2
  1153.      |     |     |     |     |
  1154.      |     |     |     |     SCSI ID = 3
  1155.      |     |     |     |
  1156.      |     |     |     SCSI ID = 4
  1157.      |     |     |
  1158.      |     |     SCSI ID = 5
  1159.      |     |
  1160.      |     SCSI ID = 6
  1161.      |
  1162.      SCSI ID = 7
  1163.  
  1164.  
  1165.                            Figure 4-8. SCSI ID Bits
  1166. .paŠ
  1167.  
  1168.  
  1169.  
  1170.  
  1171.  
  1172.  
  1173.  
  1174.  
  1175.  
  1176.  
  1177.  
  1178.  
  1179.  
  1180.  
  1181.  
  1182.  
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189.  
  1190.  
  1191.  
  1192.  
  1193.  
  1194.  
  1195.  
  1196.  
  1197.  
  1198.  
  1199.  
  1200.  
  1201.  
  1202.  
  1203.  
  1204.  
  1205.  
  1206.  
  1207.  
  1208.  
  1209.  
  1210.  
  1211.  
  1212.  
  1213.  
  1214.  
  1215.  
  1216.  
  1217.  
  1218.  
  1219.  
  1220.                     Figure 4-9. Sample SCSI Configurations
  1221. .paŠ  Uð tï eighô SCSÉ deviceó caî bå supporteä oî thå SCSÉ bus®  Theù caî bå anù 
  1222. combinatioî oæ initiatoró anä targets.
  1223.  
  1224.   Certaiî SCSÉ buó functionó arå assigneä tï thå initiatoò anä certaiî SCSÉ 
  1225. buó functionó arå assigneä tï thå target®  Thå initiatoò maù arbitratå foò th堍
  1226. SCSÉ buó anä selecô á particulaò target®  Thå targeô maù requesô thå transfeò 
  1227. oæ COMMAND¬ DATA¬ STATUÓ, oò otheò informatioî oî thå DATÁ BUS¬ anä iî som堍
  1228. caseó iô maù arbitratå foò thå SCSÉ buó anä reselecô aî initiatoò foò th堍
  1229. purposå oæ continuinç aî operation.
  1230.  
  1231.   Informatioî transferó oî thå DATÁ BUÓ arå asynchronouó anä follo÷ á define䠍
  1232. REQ/ACË handshakå protocol®  Onå bytå oæ informatioî maù bå transferreä wit蠍
  1233. eacè handshake®  Aî optioî ió defined foò synchronouó datá transfer.
  1234.  
  1235. 4.¶ SCSÉ Buó Signals.‚  Therå arå á totaì oæ eighteeî signals®  Ninå arå use䠍
  1236. foò controì anä ninå arå useä foò data®  (Datá signaló includå thå paritù 
  1237. signaì option)®  Theså signaló arå describeä aó follows:
  1238.  
  1239. BSÙ (BUSY).‚  Aî "OR-tied¢ signaì thaô indicateó thaô thå buó ió beinç used.
  1240.  
  1241. SEÌ (SELECT).‚  Á signaì useä bù aî initiatoò tï selecô á targeô oò bù á targeô 
  1242. tï reselecô aî initiator.
  1243.  
  1244. C/Ä  (CONTROL/DATA).‚  Á signaì driveî bù á targeô thaô indicateó whetheò 
  1245. CONTROÌ oò DATÁ informatioî ió oî thå DATÁ BUS®  Truå indicateó CONTROL.
  1246.  
  1247. I/Ï (INPUT/OUTPUT).‚  Á signaì driveî bù á targeô thaô controló thå directio
  1248. oæ datá movemenô oî thå DATÁ BUÓ witè respecô tï aî initiator® Truå indicateó 
  1249. inpuô tï thå initiator®  Thió signaì ió alsï useä tï distinguisè betwee
  1250. SELECTIOΠanä RESELECTIOΠphases.
  1251.  
  1252. MSÇ (MESSAGE).‚  Á signaì driveî bù á targeô durinç thå MESSAGÅ phase.
  1253.  
  1254. REÑ (REQUEST).‚  Á signaì driveî bù á targeô tï indicatå á requesô foò á 
  1255. REQ/ACË datá transfeò handshake.
  1256.  
  1257. ACË (ACKNOWLEDGE).‚  Á signaì driveî bù aî initiatoò tï indicatå a
  1258. acknowledgmenô foò á REQ/ACË datá transfeò handshake.
  1259.  
  1260. ATΠ(ATTENTION).‚  Á signaì driveî bù aî initiatoò tï indicatå thå ATTENTIOЍ
  1261. condition.
  1262.  
  1263. RSÔ (RESET).‚  Aî "OR-tied¢ signaì thaô indicateó thå RESEÔ condition.
  1264.  
  1265. DB(7-0,P© (DATÁ BUS).‚  Eighô data-biô signals¬ pluó á parity-biô signaì thaô 
  1266. forí á DATÁ BUS®   DB(7© ió thå mosô significanô biô anä haó thå highesô 
  1267. prioritù durinç thå ARBITRATIOΠphase®  Biô number¬ significance¬ anä prioritù 
  1268. decreaså downwarä tï DB(0)®  Á datá biô ió defineä aó onå wheî thå signa젍
  1269. valuå ió truå anä ió defineä aó zerï wheî thå signaì valuå ió false.
  1270.  
  1271.   Datá paritù DB(P© ió odd®  Thå uså oæ paritù ió á systeí optioî (i.e.¬ á 
  1272. systeí ió configureä sï thaô alì SCSÉ deviceó oî á buó generatå paritù an䠍
  1273. havå paritù detectioî enabled¬ oò alì SCSÉ deviceó havå paritù detectio
  1274. disableä oò noô implemented)®  Paritù ió noô valiä durinç thå ARBITRATIOЍ
  1275. phase.
  1276. Š  4.6.± Signaì Values.‚  Signaló maù assumå truå oò falså values®  Therå ar堍
  1277. twï methodó oæ drivinç theså signals®  Iî botè cases¬ thå signaì shalì b堍
  1278. activelù driveî true¬ oò asserted® Iî thå caså oæ OR-tieä drivers¬ thå driveò 
  1279. doeó noô drivå thå signaì tï thå falså state¬ ratheò thå biaó circuitrù oæ th堍
  1280. buó terminatoró pulló thå signaì falså wheneveò iô ió releaseä bù thå driveró 
  1281. aô everù SCSÉ device®  Iæ anù driveò ió asserted¬ theî thå signaì ió true®  I
  1282. thå caså oæ non-OR-tieä drivers¬ thå signaì maù bå activelù driveî false¬ oò 
  1283. negated®  Iî thió standard¬ whereveò thå terí negateä ió used¬ iô meanó thaô 
  1284. thå signaì maù bå activelù driveî false¬ oò maù bå simplù releaseä (iî whic蠍
  1285. caså thå biaó circuitrù pulló iô false)¬ aô thå optioî oæ thå implementor®  
  1286. Thå advantagå tï activelù drivå signaló falså ió thaô thå transitioî froí tru堍
  1287. tï falså occuró morå quickly¬ anä noiså marginó maù bå somewhaô improved» thió 
  1288. maù permiô somewhaô fasteò datá transfer® 
  1289.  
  1290.   4.6.² OR-Tieä Signals.‚  Thå BSÙ anä RSÔ signaló shalì bå OR-tieä only®  I
  1291. thå ordinarù operatioî oæ thå bus¬ theså signaló arå simultaneouslù drive
  1292. truå bù severaì drivers®  Nï signaló otheò thaî BSY¬ RST¬ anä DB(P© ar堍
  1293. simultaneouslù driveî bù twï oò morå drivers¬ anä anù signaì otheò thaî BSÙ 
  1294. anä RSÔ maù emploù OR-tieä oò non-OR-tieä drivers®  DB(P© shalì noô bå drive
  1295. falså durinç thå ARBITRATIOΠphase®  Therå ió nï operationaì probleí iî mixin砍
  1296. OR-tieä anä non-OR-tieä driveró oî signaló otheò thaî BSÙ anä RST.
  1297.  
  1298.   4.6.³ Signaì Sources.‚  Tablå 4-³ indicateó whicè typå oæ SCSÉ devicå ió 
  1299. alloweä tï sourcå eacè signal®  Nï attempô ió madå tï sho÷ iæ thå sourcå ió 
  1300. drivinç asserted¬ drivinç negated¬ oò ió passive®  Alì SCSÉ devicå driveró 
  1301. thaô arå noô activå sourceó shalì bå iî thå passivå state®  Notå thaô thå RSÔ 
  1302. signaì maù bå sourceä bù anù SCSÉ devicå aô anù time.
  1303. .paŠ                                  Table 4-3
  1304.                                 Signal Sources
  1305.  
  1306. ==============================================================================
  1307.                                              Signals
  1308.                     ----------------------------------------------------------
  1309.                                           C/D, I/O,
  1310. Bus Phase           BSY       SEL         MSG, REQ     ACK/ATN       DB(7-0,P)
  1311. ------------------------------------------------------------------------------
  1312. BUS FREE            None      None        None         None          None
  1313. ARBITRATION         All       Winner      None         None          SCSI ID
  1314. SELECTION           I&T       Initiator   None         Initiator     Initiator
  1315. RESELECTION         I&T       Target      Target       Initiator     Target
  1316. COMMAND             Target    None        Target       Initiator     Initiator
  1317. DATA IN             Target    None        Target       Initiator     Target
  1318. DATA OUT            Target    None        Target       Initiator     Initiator
  1319. STATUS              Target    None        Target       Initiator     Target
  1320. MESSAGE IN          Target    None        Target       Initiator     Target
  1321. MESSAGE OUT         Target    None        Target       Initiator     Initiator
  1322. ==============================================================================
  1323.  
  1324. All:          Thå signaì shalì bå driveî bù alì SCSÉ  deviceó thaô ar堍
  1325.               activelù arbitrating.
  1326.  
  1327. SCSI ID:      Á uniquå datá biô (thå SCSÉ ID© shalì bå driveî bù eacè SCSÉ 
  1328.               devicå thaô ió activelù arbitrating» thå otheò seveî datá bitó 
  1329.               shalì bå releaseä (i.e.¬ noô driven© bù thió SCSÉ device®  Th堍
  1330.               paritù biô (DB(P)© maù bå undriveî oò driveî tï thå truå state¬ 
  1331.               buô shalì neveò bå driveî tï thå falså statå durinç thió phase.
  1332.  
  1333. I&T:          Thå signaì shalì bå driveî bù thå initiator¬ target¬ oò both¬ aó 
  1334.               specifieä iî thå SELECTIOΠphaså anä RESELECTIOΠphase.
  1335.  
  1336. Initiator:    Iæ thió signaì ió driven¬ iô shalì bå driveî onlù bù thå activ堍
  1337.               initiator.
  1338.  
  1339. None:         Thå signaì shalì bå released» thaô is¬ noô bå driveî bù anù SCSÉ 
  1340.               device®  Thå biaó circuitrù oæ thå buó terminatoró pulló th堍
  1341.               signal tï thå falså state.
  1342.  
  1343. Winner:       Thå signaì shalì bå driveî bù thå onå SCSÉ devicå thaô winó 
  1344.               arbitration.
  1345.  
  1346. Target:       Iæ thå signaì ió driven¬ iô shalì bå driveî onlù bù thå activ堍
  1347.               target.
  1348. .paŠ4.· SCSÉ Buó Timing.‚  Unlesó otherwiså indicated¬ thå delay-timå measurementó 
  1349. foò eacè SCSÉ device¬ showî iî 4.7.± througè 4.7.14¬ shalì bå calculateä froí 
  1350. signaì conditionó existinç aô thaô SCSÉ device'ó owî SCSÉ buó connection®  
  1351. Thus¬ theså measurementó (excepô cablå ske÷ delay© caî bå madå withouô 
  1352. considerinç delayó iî thå cable.
  1353.  
  1354.   4.7.± Arbitratioî Delaù (2.² microseconds).‚  Thå minimuí timå aî SCSÉ devic堍
  1355. shalì waiô froí assertinç BSÙ foò arbitratioî untiì thå DATÁ BUÓ caî b堍
  1356. examineä tï seå iæ arbitratioî haó beeî won®  Therå ió nï maximuí time.
  1357.  
  1358.   4.7.² Assertioî Perioä (9° nanoseconds).‚  Thå minimuí timå thaô á targeô 
  1359. shalì asserô REÑ whilå usinç synchronouó datá transfers®  Also¬ thå minimuí 
  1360. timå thaô aî initiatoò shalì asserô ACË whilå usinç synchronouó dat᠍
  1361. transfers.
  1362.  
  1363.   4.7.³ Buó Cleaò Delaù (80° nanoseconds).‚  Thå maximuí timå foò aî SCSÉ 
  1364. devicå tï stoð drivinç alì buó signaló after:
  1365.  
  1366.   (1© Thå BUÓ FREÅ phaså ió detecteä (BSÙ anä SEÌ botè falså foò á buó settl堍
  1367. delay)
  1368.   (2© SEÌ ió receiveä froí anotheò SCSÉ devicå durinç thå ARBITRATIOΠphase
  1369.   (3) The transition of RST to true.
  1370.  
  1371. NOTEº  Foò thå firsô conditioî above¬ thå maximuí timå foò aî SCSÉ devicå t
  1372. cleaò thå buó ió 120° nanosecondó froí BSÙ anä SEÌ firsô becominç botè false®  
  1373. Iæ aî SCSÉ devicå requireó morå thaî á buó settlå delaù tï detecô BUÓ FREÅ 
  1374. phase¬ iô shalì cleaò thå buó withiî á buó cleaò delaù minuó thå excesó time.
  1375.  
  1376.   4.7.´ Buó Freå Delaù (80° nanoseconds).‚  Thå minimuí timå thaô aî SCSÉ 
  1377. devicå shalì waiô froí itó detectioî oæ thå BUÓ FREÅ phaså (BSÙ anä SEÌ bot蠍
  1378. falså foò á buó settlå delay© untiì itó assertioî oæ BSÙ wheî goinç tï th堍
  1379. ARBITRATIOΠphase.
  1380.  
  1381.   4.7.µ Buó Seô Delaù (1.¸ microseconds).‚  Thå maximuí timå foò aî SCSÉ devic堍
  1382. tï asserô BSÙ anä itó SCSÉ IÄ biô oî thå DATÁ BUÓ afteò iô detectó BUÓ FREÅ 
  1383. phaså (BSÙ anä SEÌ botè falså foò á buó settlå delay© foò thå purposå o栍
  1384. enterinç thå ARBITRATIOΠphase.
  1385.  
  1386.   4.7.¶ Buó Settlå Delaù (40° nanoseconds).‚  Thå timå tï waiô foò thå buó t
  1387. settlå afteò changinç certaiî controì signaló aó calleä ouô iî thå protoco젍
  1388. definitions.
  1389.  
  1390.   4.7.· Cablå Ske÷ Delaù (1° nanoseconds).‚  Thå maximuí differencå i
  1391. propagatioî timå alloweä betweeî anù twï SCSÉ buó signaló wheî measure䠍
  1392. betweeî anù twï SCSÉ devices.
  1393.  
  1394.   4.7.¸ Datá Releaså Delaù (40° nanoseconds).‚  Thå maximuí timå foò a
  1395. initiatoò tï releaså thå DATÁ BUÓ signaló followinç thå transitioî oæ thå I/Ï 
  1396. signal from false to true.
  1397.  
  1398.   4.7.9 Deske÷ Delaù (4µ nanoseconds).‚  Thå minimuí timå requireä foò deske÷ 
  1399. oæ certaiî signals.
  1400.  
  1401.   4.7.10 Holä Timå (4µ nanoseconds).‚  Thå minimuí timå addeä betweeî th堍
  1402. assertioî oæ REÑ oò ACË anä thå changinç oæ thå datá lineó tï providå hol䠍
  1403. timå iî thå initiatoò oò target¬ respectively¬ whilå usinç synchronouó dat᠍Štransfers.
  1404.  
  1405.   4.7.11 Negatioî Perioä (9° nanoseconds).‚  Thå minimuí timå thaô á targeô 
  1406. shalì negatå REÑ whilå usinç synchronouó datá transfers®  Also¬ thå minimuí 
  1407. timå thaô aî initiatoò shalì negatå ACË whilå usinç synchronouó dat᠍
  1408. transfers.
  1409.  
  1410.   4.7.12 Reseô Holä Timå (2µ microseconds).‚  Thå minimuí timå foò whicè RSÔ ió 
  1411. asserted®  Therå ió nï maximuí time.
  1412.  
  1413.   4.7.13 Selectioî Aborô Timå (20° microseconds).‚  Thå maximuí timå thaô á 
  1414. targeô (oò initiator© shalì takå froí itó mosô recenô detectioî oæ bein砍
  1415. selecteä (oò reselected© untiì assertinç á BSÙ response®  Thió timeouô ió 
  1416. requireä tï ensurå thaô á targeô (oò initiator© doeó noô asserô BSÙ afteò á 
  1417. SELECTIOΠ(oò RESELECTION© phaså haó beeî aborted®  Thió ió noô thå selectio
  1418. timeouô period» seå Sectionó 5.1.3.µ anä 5.1.4.² foò á completå description.
  1419.  
  1420.   4.7.14 Selectioî Timeouô Delaù (25° milliseconds¬ recommended).‚  Thå minimuí 
  1421. timå thaô aî initiatoò (oò target© shoulä waiô foò á BSÙ responså durinç th堍
  1422. SELECTIOΠ(oò RESELECTION© phaså beforå startinç thå timeouô procedure®  Not堍
  1423. thaô thió ió onlù á recommendeä timå period®  Thå specificationó foò th堍
  1424. peripheraì deviceó shalì bå consulteä foò thå actuaì timinç requirements.
  1425.  
  1426.   4.7.15 Transfeò Perioä (seô durinç á MESSAGÅ phase).‚  Thå Transfeò Perio䠍
  1427. specifieó thå minimuí timå alloweä betweeî thå leadinç edgeó oæ successivå REÑ 
  1428. pulseó anä oæ successivå ACË pulseó whilå usinç synchronouó datá transfers®  
  1429. (Seå Sections 5.1.5.2 and 5.5.5.)
  1430.  
  1431.  
  1432. .. To set ruler line, position cursor on the next line and type ^OF--!--!--!--!--!--!--!--!--!--!--!--!-----------------------------------------!
  1433. .fo Section 5                            #
  1434. 5. Logical Characteristics
  1435.  
  1436. 5.± SCSÉ Buó Phases.‚  Thå SCSÉ architecturå includeó eighô distincô phases:
  1437.  
  1438.   BUS FREE phase
  1439.   ARBITRATION phase
  1440.   SELECTION phase
  1441.   RESELECTION phase
  1442.   COMMAND phase  \
  1443.   DATA phase      \   These phases are collectively termed the
  1444.   STATUS phase    /   information transfer phases.
  1445.   MESSAGE phase  /
  1446.  
  1447.   Thå SCSÉ buó caî neveò bå iî morå thaî onå phaså aô anù giveî time®  Unlesó 
  1448. otherwiså noteä iî thå followinç descriptions¬ signaló thaô arå noô mentione䠍
  1449. shalì noô bå asserted.
  1450.  
  1451.   5.1.± BUÓ FREÅ Phase.‚  Thå BUÓ FREÅ phaså ió useä tï indicatå thaô nï SCSÉ 
  1452. devicå ió activelù usinç thå SCSÉ buó anä thaô iô ió availablå foò subsequenô 
  1453. users.
  1454.  
  1455.   SCSÉ deviceó shalì detecô thå BUÓ FREÅ phaså afteò SEÌ anä BSÙ arå bot蠍
  1456. falså foò aô leasô á buó settlå delay.
  1457.  
  1458.   SCSÉ deviceó shalì releaså alì SCSÉ buó signaló withiî á buó cleaò delaù 
  1459. afteò BSÙ anä SEÌ becomå continuouslù falså foò á buó settlå delay®  Iæ a
  1460. SCSÉ devicå requireó morå thaî á buó settlå delaù tï detecô thå BUÓ FREÅ phas堍
  1461. theî iô shalì releaså alì SCSÉ buó signaló withiî á buó cleaò delaù minuó th堍
  1462. excesó timå tï detecô thå BUÓ FREÅ phase®  Thå totaì timå tï cleaò thå SCSÉ 
  1463. buó shalì noô exceeä á buó settlå delaù pluó á buó cleaò delay.
  1464.  
  1465.   5.1.² ARBITRATIOΠPhase.‚  Thå ARBITRATIOΠphaså allowó onå SCSÉ devicå t
  1466. gaiî controì oæ thå SCSÉ buó sï thaô iô caî assumå thå rolå oæ aî initiatoò oò 
  1467. target.
  1468.  
  1469. NOTEº  Implementatioî oæ thå ARBITRATIOΠphaså ió á systeí option®  Systemó 
  1470. thaô dï noô implemenô thió optioî caî havå onlù onå initiator®  Th堍
  1471. ARBITRATIOΠphaså ió requireä foò systemó thaô uså thå RESELECTIOΠphase.
  1472.  
  1473.   Thå procedurå foò aî SCSÉ devicå tï obtaiî controì oæ thå SCSÉ buó ió aó 
  1474. follows:
  1475.  
  1476.   (1©  Thå SCSÉ devicå shalì firsô waiô foò thå BUÓ FREÅ phaså tï occur®  Th堍
  1477. BUÓ FREÅ phaså ió detecteä wheneveò botè BSÙ anä SEÌ arå simultaneouslù an䠍
  1478. continuouslù falså foò á minimuí oæ á buó settlå delay®  (Implementoró Noteº  
  1479. Thió buó settlå delaù ió necessarù becauså á transmissioî linå phenomeno
  1480. knowî aó á "wire-OÒ glitch¢ maù causå BSÙ tï brieflù appeaò false¬ eveî thoug蠍
  1481. iô ió beinç driveî true.)
  1482.  
  1483.   (2©  Thå SCSÉ devicå shalì waiô á minimuí oæ á buó freå delaù afteò 
  1484. detectioî oæ thå BUÓ FREÅ phaså (i.e® afteò BSÙ anä SEÌ arå botè falså foò á 
  1485. buó settlå delay© beforå drivinç anù signal®
  1486.  
  1487.   (3©  Followinç thå buó freå delaù iî Steð (2)¬ thå SCSÉ devicå maù arbitrat堍
  1488. foò thå SCSÉ buó bù assertinç botè BSÙ anä itó owî SCSÉ ID¬ howeveò thå SCSÉ 
  1489. devicå shalì noô arbitratå (i.e® asserô BSÙ anä itó SCSÉ ID© iæ morå thaî á Šbuó seô delaù haó passeä sincå thå BUÓ FREÅ phaså waó lasô observed®  
  1490. (Implementoró Noteº  Therå ió nï maximuí delaù beforå assertinç BSÙ anä th堍
  1491. SCSÉ IÄ followinç thå buó freå delaù iî Steð (2© aó lonç aó thå buó remainó i
  1492. thå BUÓ FREÅ phase®  However¬ SCSÉ deviceó thaô delaù longeò thaî á buó settl堍
  1493. delaù pluó á buó seô delaù froí thå timå wheî BSÙ anä SEÌ firsô becomå fals堍
  1494. maù faiì tï participatå iî arbitratioî wheî competinç witè fasteò SCSÉ 
  1495. devices.)
  1496.  
  1497.   (4©  Afteò waitinç aô leasô aî arbitratioî delaù (measureä froí itó 
  1498. assertioî oæ BSY© thå SCSÉ devicå shalì examinå thå DATÁ BUS®  Iæ á higheò 
  1499. prioritù SCSÉ IÄ biô ió truå oî thå DATÁ BUÓ (DB(7© ió thå highest)¬ theî th堍
  1500. SCSÉ devicå haó losô thå arbitratioî anä thå SCSÉ devicå maù releaså itó 
  1501. signaló anä returî tï Steð (1)®  Iæ nï higheò prioritù SCSÉ IÄ biô ió truå o
  1502. thå DATÁ BUS¬ theî thå SCSÉ devicå haó woî thå arbitratioî anä iô shalì asserô 
  1503. SEL®  Anù otheò SCSÉ devicå thaô ió participatinç iî thå ARBITRATIOΠphaså haó 
  1504. losô thå arbitratioî anä shalì releaså BSÙ anä itó SCSÉ IÄ biô withiî á buó 
  1505. cleaò delaù afteò SEÌ becomeó true®  Aî SCSÉ devicå thaô loseó arbitratioî maù 
  1506. returî tï Steð (1).
  1507.  
  1508.   (5©  Thå SCSÉ devicå thaô winó arbitratioî shalì waiô aô leasô á buó cleaò 
  1509. delaù pluó á buó settlå delaù afteò assertinç SEÌ beforå changinç anù signals.
  1510.  
  1511. NOTEº  Thå SCSÉ IÄ biô ió á singlå biô oî thå DATÁ BUÓ thaô correspondó tï th堍
  1512. SCSÉ device'ó uniquå SCSÉ address®  Alì otheò seveî DATA BUS bitó shalì b堍
  1513. releaseä bù thå SCSÉ device®  Paritù ió noô valiä durinç thå ARBITRATIOЍ
  1514. phase®  Durinç thå ARBITRATIOΠphase¬ DB(P© maù bå undriveî oò driveî tï th堍
  1515. truå state¬ buô shalì noô bå driveî tï thå falså state.
  1516.  
  1517.   5.1.³ SELECTIOΠPhase.‚  Thå SELECTIOΠphaså allowó aî initiatoò tï selecô á 
  1518. targeô foò thå purposå oæ initiatinç somå targeô functioî (e.g.¬ READ or WRITE 
  1519. command).
  1520.  
  1521. NOTEº  Durinç thå SELECTIOΠphaså thå I/Ï signaì shalì bå negateä sï thaô thió 
  1522. phaså caî bå distinguisheä froí thå RESELECTIOΠphase.
  1523.  
  1524.      5.1.3.± Nonarbitratinç Systems.‚  Iî systemó witè thå ARBITRATIOΠphas堍
  1525. noô implemented¬ thå initiatoò shalì firsô detecô thå BUÓ FREÅ phaså anä the
  1526. waiô á minimuí oæ á buó cleaò delay®  Then¬ excepô iî certaiî singlå initiatoò 
  1527. environmentó witè initiatoró employinç thå singlå initiatoò optioî (se堍
  1528. 5.1.3.4)¬ thå initiatoò shalì asserô thå desireä target'ó SCSÉ IÄ anä itó ow
  1529. initiatoò SCSÉ IÄ oî thå DATÁ BUS®  Afteò twï deske÷ delayó thå initiatoò 
  1530. shalì asserô SEL.
  1531.  
  1532.      5.1.3.² Arbitratinç Systems.‚  Iî systemó witè ARBITRATIOΠphas堍
  1533. implemented¬ thå SCSÉ devicå thaô woî thå arbitratioî haó botè BSÙ anä SEÌ 
  1534. asserteä anä haó delayeä aô leasô á buó cleaò delaù pluó á buó settlå delaù 
  1535. beforå endinç thå ARBITRATIOΠphase®  Thå SCSÉ devicå thaô woî thå arbitratio
  1536. becomeó aî initiatoò bù releasinç I/O®  Excepô iî certaiî singlå initiatoò 
  1537. environmentó witè initiatoró employinç thå singlå initiatoò optioî (se堍
  1538. 5.1.3.4)¬ thå initiatoò shalì seô thå DATÁ BUÓ tï á valuå whicè ió thå OÒ o栍
  1539. itó SCSÉ IÄ biô anä thå target'ó SCSÉ IÄ bit®  Thå initiatoò shalì theî waiô 
  1540. aô leasô twï deske÷ delayó anä releaså BSY®  Thå initiatoò shalì theî waiô aô 
  1541. leasô á buó settlå delaù beforå lookinç foò á responså froí thå target.
  1542.  
  1543.      5.1.3.³ Alì Systems.‚  Iî alì systems¬ thå targeô shalì determinå thaô iô 
  1544. ió selecteä wheî SEÌ anä itó SCSÉ IÄ biô arå truå anä BSÙ anä I/Ï arå fals堍Šfoò aô leasô á buó settlå delay®  Thå selecteä targeô maù examinå thå DATÁ BUÓ 
  1545. iî ordeò tï determinå thå SCSÉ IÄ oæ thå selectinç initiatoò unlesó th堍
  1546. initiatoò employeä thå singlå initiatoò optioî (seå 5.1.3.4)®  Thå selecte䠍
  1547. targeô shalì theî asserô BSÙ withiî á selectioî aborô timå oæ itó mosô recenô 
  1548. detectioî oæ beinç selected» thió ió requireä foò correcô operatioî oæ th堍
  1549. timeouô procedure®  Iî systemó witè paritù implemented¬ thå targeô shalì noô 
  1550. responä tï á selectioî iæ baä paritù ió detected®  Also¬ iæ morå thaî twï SCSÉ 
  1551. IÄ bitó arå oî thå DATÁ BUS¬ thå targeô shalì noô responä tï selection.
  1552.  
  1553.   Aô leasô twï deske÷ delayó afteò thå initiatoò detectó BSÙ ió true¬ iô shal젍
  1554. releaså SEÌ anä maù changå thå DATÁ BUS.
  1555.  
  1556.      5.1.3.´ Singlå Initiatoò Option.‚  Initiatoró thaô dï noô implemenô th堍
  1557. RESELECTIOΠphaså anä dï noô operatå iî thå multiplå initiatoò environmenô ar堍
  1558. alloweä tï seô onlù thå target'ó SCSÉ IÄ biô durinç thå SELECTIOΠphase®  Thió 
  1559. makeó iô impossiblå foò thå targeô tï determinå thå initiator'ó SCSÉ ID.
  1560.  
  1561.      5.1.3.µ Selectioî Timeouô Procedure.‚  Twï optionaì selectioî timeouô 
  1562. procedureó arå specifieä foò clearinç thå SCSÉ buó iæ thå initiatoò waitó á 
  1563. minimuí oæ á selectioî timeouô delaù anä therå haó beeî nï BSÙ responså froí 
  1564. thå target:
  1565.  
  1566.   (1© Optionally, thå initiatoò shall asserô thå RSÔ signal (seå 5.2.2).
  1567.   (2© Optionally¬ thå initiatoò shalì continuå assertinç SEÌ anä shalì releas堍
  1568. thå DATÁ BUS®  Iæ thå initiatoò haó noô detecteä BSÙ tï bå truå afteò aô leasô 
  1569. á selectioî aborô timå pluó twï deske÷ delays¬ thå initiatoò shalì releaså SEÌ 
  1570. allowinç thå SCSÉ buó tï gï tï thå BUÓ FREÅ phase®  SCSÉ deviceó shalì ensur堍
  1571. thaô wheî respondinç tï selectioî thaô thå selectioî waó stilì valiä withiî á 
  1572. selectioî aborô timå oæ theiò assertioî oæ BSY®  Failurå tï complù witè thió 
  1573. requiremenô coulä resulô iî aî impropeò selectioî (twï targetó connecteä t
  1574. thå samå initiator¬ wronç targeô connecteä tï aî initiator¬ oò á targeô 
  1575. connecteä tï nï initiator).
  1576.  
  1577.   5.1.´ RESELECTIOΠPhaså (Optional).‚  RESELECTIOΠió aî optionaì phaså thaô 
  1578. allowó á targeô tï reconnecô tï aî initiatoò foò thå purposå oæ continuin砍
  1579. somå operatioî thaô waó previouslù starteä bù thå initiatoò buô waó suspende䠍
  1580. bù thå target¬ (i.e.¬ thå targeô disconnecteä bù allowinç á BUÓ FREÅ phaså t
  1581. occuò beforå thå operatioî waó complete).
  1582.  
  1583.      5.1.4.± RESELECTION.‚  RESELECTIOΠcaî onlù bå useä iî systemó thaô hav堍
  1584. ARBITRATIOΠphaså implemented.
  1585.  
  1586.   Upoî completinç thå ARBITRATIOΠphase¬ thå winninç SCSÉ devicå haó botè BSÙ 
  1587. anä SEÌ asserteä anä haó delayeä aô leasô á buó cleaò delaù pluó á buó settl堍
  1588. delay®  Thå winninç SCSÉ devicå becomeó á targeô bù assertinç thå I/Ï signal®  
  1589. Thå winninç SCSÉ devicå shalì alsï seô thå DATÁ BUÓ tï á valuå thaô ió thå OÒ 
  1590. oæ itó SCSÉ IÄ biô anä thå initiator'ó SCSÉ IÄ bit®  Thå targeô shalì waiô aô 
  1591. leasô twï deske÷ delayó anä releaså BSY®  Thå targeô shalì theî waiô aô leasô 
  1592. á buó settlå delaù beforå lookinç foò á responså froí thå initiator.
  1593.  
  1594.   Thå initiatoò shalì determinå thaô iô ió reselecteä wheî SEL¬ I/O¬ anä itó 
  1595. SCSÉ IÄ biô arå truå anä BSÙ ió falså foò aô leasô á buó settlå delay®  Th堍
  1596. reselecteä initiatoò maù examinå thå DATÁ BUÓ iî ordeò tï determinå thå SCSÉ 
  1597. IÄ oæ thå reselectinç target®  Thå reselecteä initiatoò shalì theî asserô BSÙ 
  1598. withiî á selectioî aborô timå oæ itó mosô recenô detectioî oæ bein砍
  1599. reselected» thió ió requireä foò correcô operatioî oæ thå timeouô procedure®  ŠIî systemó witè paritù implemented¬ thå initiatoò shalì noô responä tï á 
  1600. RESELECTIOΠiæ baä paritù ió detected®  Also¬ thå initiatoò shalì noô respon䠍
  1601. tï á RESELECTIOΠiæ morå thaî twï SCSÉ IÄ bitó arå oî thå DATÁ BUS® 
  1602.  
  1603.   Afteò thå targeô detectó BSY¬ iô shalì alsï asserô BSÙ anä waiô aô leasô tw
  1604. deske÷ delayó anä theî releaså SEL®  Thå targeô maù theî changå thå I/Ï signa젍
  1605. anä thå DATÁ BUS®  Afteò thå reselecteä initiatoò detectó SEÌ false¬ iô shal젍
  1606. releaså BSY®  Thå targeô shalì continuå assertinç BSÙ untiì thå targeô ió 
  1607. readù tï relinquisè thå SCSÉ bus®
  1608.  
  1609. NOTEº  Wheî thå targeô ió assertinç BSY¬ á transmissioî linå phenomenoî know
  1610. aó á "wire-OÒ glitch¢ maù causå BSÙ tï appeaò falså foò uð tï á round-trið 
  1611. propagatioî delaù followinç thå releaså oæ BSÙ bù thå initiator®  Thió ió th堍
  1612. reasoî whù thå BUÓ FREÅ phaså ió recognizeä onlù afteò botè BSÙ anä SEÌ ar堍
  1613. continuouslù falså foò á minimuí oæ á buó settlå delay®  Cableó longeò thaî 2µ 
  1614. meters shoulä noô bå useä eveî iæ thå choseî driver¬ receiver¬ anä cabl堍
  1615. providå adequatå noiså margins¬ becauså theù increaså thå duratioî oæ th堍
  1616. glitcè anä coulä causå SCSÉ deviceó tï inadvertentlù detecô thå BUÓ FREÅ 
  1617. phase.
  1618.  
  1619.      5.1.4.² RESELECTIOΠTimeouô Procedure.‚  Twï optionaì RESELECTIOΠtimeouô 
  1620. procedureó arå specifieä foò clearinç thå SCSÉ buó durinç á RESELECTIOΠphas堍
  1621. iæ thå targeô waitó á minimuí oæ á selectioî timeouô perioä anä therå haó bee
  1622. nï BSÙ responså froí thå initiatorº 
  1623.  
  1624.   (1© Optionally, thå target shall asserô thå RSÔ signal (seå 5.2.2).
  1625.   (2© Optionally¬ thå targeô shalì continuå assertinç SEÌ anä I/Ï anä shal젍
  1626. releaså alì DATÁ BUÓ signals®  Iæ thå targeô haó noô detecteä BSÙ tï bå tru堍
  1627. afteò aô leasô á selectioî aborô timå pluó twï deske÷ delays¬ thå targeô shal젍
  1628. releaså SEÌ anä I/Ï allowinç thå SCSÉ buó tï gï tï thå BUÓ FREÅ phase®  SCSÉ 
  1629. deviceó thaô responä tï RESELECTIOΠshalì ensurå thaô thå RESELECTIOΠwaó 
  1630. stilì valiä withiî á selectioî aborô timå oæ theiò assertioî oæ BSY®  Failur堍
  1631. tï complù witè thió requiremenô coulä resulô iî aî impropeò reselectioî (tw
  1632. initiatoró connecteä tï thå samå targeô oò thå wronç initiatoò connecteä tï á 
  1633. target).
  1634.  
  1635.   5.1.µ Informatioî Transfeò Phases.
  1636.  
  1637. NOTEº  Thå COMMAND¬ DATA¬ STATUÓ, anä MESSAGÅ phaseó arå alì groupeä togetheò 
  1638. aó thå informatioî transfeò phaseó becauså theù arå alì useä tï transfeò dat᠍
  1639. oò controì informatioî viá thå DATÁ BUS®  Thå actuaì contentó oæ th堍
  1640. informatioî ió beyonä thå scopå oæ thió section.
  1641.  
  1642.   Thå C/D¬ I/Ï, anä MSÇ signaló arå useä tï distinguisè betweeî thå differenô 
  1643. informatioî transfeò phases®  (Seå Tablå 5-1.©  Thå targeô driveó theså thre堍
  1644. signaló anä thereforå controló alì changeó froí onå phaså tï another®  Th堍
  1645. initiatoò caî requesô á MESSAGÅ OUÔ phaså bù assertinç ATN¬ whilå thå targeô 
  1646. caî causå thå BUÓ FREÅ phaså bù releasinç MSG¬ C/D¬ I/O¬ anä BSY.
  1647.  
  1648.  
  1649.                                   Table 5-1
  1650.                          Information Transfer Phases
  1651.  
  1652. ==============================================================================
  1653.    Signal
  1654. -----------ŠMSG C/D I/O   Phase Name          Direction Of Transfer         Comment
  1655. ------------------------------------------------------------------------------
  1656.  0   0   0    DATA OUT            Initiator to target     \     Data
  1657.  0   0   1    DATA IN             Initiator from target   /     Phase
  1658.  0   1   0    COMMAND             Initiator to target
  1659.  0   1   1    STATUS              Initiator from target
  1660.  1   0   0    *
  1661.  1   0   1    *
  1662.  1   1   0    MESSAGE OUT         Initiator to target     \     Message
  1663.  1   1   1    MESSAGE IN          Initiator from target   /     Phase
  1664. ==============================================================================
  1665.  
  1666. Key:  0 = False,  1 = True,  * = Reserved for future standardization.
  1667.  
  1668.   Thå informatioî transfeò phaseó uså onå oò morå REQ/ACË handshakeó t
  1669. controì thå informatioî transfer®  Eacè REQ/ACË handshakå allowó thå transfeò 
  1670. oæ onå bytå oæ information®  Durinç thå informatioî transfeò phaseó BSÙ shal젍
  1671. remaiî truå anä SEÌ shalì remaiî false®  Additionally¬ durinç thå informatio
  1672. transfeò phases¬ thå targeô shalì continuouslù envelopå thå REQ/ACË 
  1673. handshake(s© witè C/D¬ I/O¬ anä MSÇ iî sucè á manneò thaô theså contro젍
  1674. signaló arå valiä foò á buó settlå delaù beforå thå assertioî oæ REÑ oæ th堍
  1675. firsô handshakå anä remaiî valiä untiì thå negatioî oæ ACË aô thå enä oæ th堍
  1676. lasô handshake.
  1677.  
  1678.      5.1.5.± Asynchronouó Informatioî Transfer.‚  Thå targeô shalì controì th堍
  1679. directioî oæ informatioî transfeò bù meanó oæ thå I/Ï signal®  Wheî I/Ï ió 
  1680. true¬ informatioî shalì bå transferreä froí thå targeô tï thå initiator®  Whe
  1681. I/Ï ió false¬ informatioî shalì bå transferreä froí thå initiatoò tï th堍
  1682. target.
  1683.  
  1684.   Iæ I/Ï ió truå (transfeò tï thå initiator)¬ thå targeô shalì firsô driv堍
  1685. DB(7-0,P© tï theiò desireä values¬ delaù aô leasô onå deske÷ delaù pluó á 
  1686. cablå ske÷ delay¬ theî asserô REQ®  DB(7-0,P© shalì remaiî valiä untiì ACË ió 
  1687. truå aô thå target®  Thå initiatoò shalì reaä DB(7-0,P© afteò REÑ ió true¬ 
  1688. theî signaì itó acceptancå oæ thå datá bù assertinç ACK®  Wheî ACË becomeó 
  1689. truå aô thå target¬ thå targeô maù changå oò releaså DB(7-0,P© anä shal젍
  1690. negatå REQ®  Afteò REÑ ió falså thå initiatoò shalì theî negatå ACK®  Afteò 
  1691. ACË ió falså thå targeô maù continuå thå transfeò bù drivinç DB(7-0,P© an䠍
  1692. assertinç REQ¬ aó describeä above.
  1693.  
  1694.   Iæ I/Ï ió falså (transfeò tï thå target© thå targeô shalì requesô 
  1695. informatioî bù assertinç REQ®  Thå initiatoò shalì drivå DB(7-0,P© tï theiò 
  1696. desireä values¬ delaù aô leasô onå deske÷ delaù pluó á cablå ske÷ delaù an䠍
  1697. asserô ACK®  Thå initiatoò shalì continuå tï drivå DB(7-0,P© untiì REÑ ió 
  1698. false®  Wheî ACË becomeó truå aô thå target¬ thå targeô shalì reaä DB(7-0,P)¬ 
  1699. theî negatå REQ®  Wheî REÑ becomeó falså aô thå initiator¬ thå initiatoò maù 
  1700. changå oò releaså DB(7-0,P© anä shalì negatå ACK®  Thå targeô maù continuå th堍
  1701. transfeò bù assertinç REQ¬ aó describeä above.
  1702.  
  1703.      5.1.5.² Synchronouó Datá Transfeò (Optional).‚  Synchronouó datá transfeò 
  1704. ió optional¬ anä maù bå useä onlù iî thå datá phaså iæ previouslù agreeä tï bù 
  1705. thå initiatoò anä targeô througè thå messagå systeí (seå SYNCHRONOUÓ DATÁ 
  1706. TRANSFEÒ REQUESÔ message¬ 5.5.5)®  Thå messageó determinå thå uså o栍
  1707. synchronouó modå bù botè SCSÉ deviceó anä establisè á REQ/ACË offseô anä á 
  1708. transfeò period.
  1709. Š  Thå REQ/ACË offseô specifieó thå maximuí numbeò oæ REÑ pulseó thaô caî b堍
  1710. senô bù thå targeô iî advancå oæ thå numbeò oæ ACË pulseó receiveä froí th堍
  1711. initiator¬ establishinç á pacinç mechanism®  Iæ thå numbeò oæ REÑ pulseó 
  1712. exceedó thå numbeò oæ ACË pulseó bù thå REQ/ACË offset¬ thå targeô shalì noô 
  1713. asserô REÑ untiì thå nexô ACË pulså ió received®  Á requiremenô foò successfu젍
  1714. completioî oæ thå datá phaså ió thaô thå numbeò oæ ACË anä REÑ pulseó b堍
  1715. equal® 
  1716.  
  1717.   Thå targeô shalì asserô thå REÑ signaì foò á minimuí oæ aî assertioî period® 
  1718. Thå targeô shalì waiô aô leasô thå greateò oæ á transfeò perioä froí thå lasô 
  1719. transitioî oæ REÑ tï truå oò á minimuí oæ á negation perioä froí thå lasô 
  1720. transitioî oæ REÑ tï falså beforå assertinç thå REÑ signal.
  1721.  
  1722.   Thå initiatoò shalì senä onå pulså oî thå ACË signaì foò eacè REÑ puls堍
  1723. received®  Thå initiatoò shalì asserô thå ACË signaì foò á minimuí oæ a
  1724. assertioî period®  Thå initiatoò shalì waiô aô leasô thå greateò oæ á transfeò 
  1725. perioä froí thå lasô transitioî oæ ACË tï truå oò foò á minimuí oæ á negatio
  1726. perioä froí thå lasô transitioî oæ ACË tï falså beforå assertinç thå ACË 
  1727. signal.
  1728.  
  1729.   Iæ I/Ï ió truå (transfeò tï thå initiator)¬ thå targeô shalì firsô driv堍
  1730. DB(7-0,P© tï theiò desireä values¬ waiô aô leasô onå deske÷ delaù pluó on堍
  1731. cablå ske÷ delay¬ theî asserô REQ®  DB(7-0,P© shalì bå helä valiä foò á 
  1732. minimuí oæ onå deske÷ delaù pluó onå cablå ske÷ delaù pluó onå holä timå afteò 
  1733. thå assertioî oæ REQ®  Thå targeô shalì asserô REÑ foò á minimuí oæ a
  1734. assertioî period®  Thå targeô maù theî negatå REÑ anä changå oò releaså DB(7-
  1735. 0,P)®  Thå initiatoò shalì reaä thå valuå oî DB(7-0,P© withiî onå holä timå o栍
  1736. thå transitioî oæ REÑ tï true®  Thå initiatoò shalì theî responä witè aî ACË 
  1737. pulse.
  1738.  
  1739.   Iæ I/Ï ió falså (transfeò tï thå target)¬ thå initiatoò shalì transfeò on堍
  1740. bytå foò eacè REÑ pulså received®  Afteò receivinç á REÑ pulse¬ thå initiatoò 
  1741. shalì firsô drivå DB(7-0,P© tï theiò desireä values¬ delaù aô leasô onå deske÷ 
  1742. delaù pluó one cablå ske÷ delay¬ theî asserô ACK®  Thå initiatoò shalì hol䠍
  1743. DB(7-0,P© valiä foò aô leasô onå deske÷ delaù pluó onå cablå ske÷ delaù pluó 
  1744. onå holä timå afteò thå assertioî oæ ACK®  Thå initiatoò shalì asserô ACË foò 
  1745. á minimuí oæ aî assertioî period®  Thå initiatoò may theî negatå ACË anä maù 
  1746. changå oò releaså DB(7-0,P)®  Thå targeô shalì reaä thå valuå oæ DB(7-0,P© 
  1747. withiî onå holä timå oæ thå transitioî oæ ACË tï true.
  1748.  
  1749.   5.1.¶ COMMANÄ Phase.‚  Thå COMMANÄ phaså allowó thå targeô tï requesô comman䠍
  1750. informatioî froí thå initiator.
  1751.  
  1752.   Thå targeô shalì asserô thå C/Ä signaì anä negatå thå I/Ï anä MSÇ signaló 
  1753. durinç thå REQ/ACË handshake(s© oæ thió phase.
  1754.  
  1755.   5.1.· Datá Phase.‚  Thå datá phaså ió á terí thaô encompasseó botè thå DATÁ 
  1756. IΠphaså anä thå DATÁ OUÔ phase.
  1757.  
  1758.      5.1.7.± DATÁ IΠPhase.‚  Thå DATÁ IΠphaså allowó thå targeô tï requesô 
  1759. thaô datá bå senô tï thå initiatoò froí thå target.
  1760.  
  1761.   Thå targeô shalì asserô thå I/Ï signaì anä negatå thå C/Ä anä MSÇ signaló 
  1762. durinç thå REQ/ACË handshake(s© oæ thió phase.
  1763.  
  1764.      5.1.7.² DATÁ OUÔ Phase.‚  Thå DATÁ OUÔ phaså allowó thå targeô tï requesô Šthaô datá bå senô froí thå initiatoò tï thå target.
  1765.  
  1766.   Thå targeô shalì negatå thå C/D¬ I/Ï, anä MSÇ signaló durinç thå REQ/ACË 
  1767. handshake(s© oæ thió phase.
  1768.  
  1769.   5.1.¸ STATUÓ Phase.‚  Thå STATUÓ phaså allowó thå targeô tï requesô thaô 
  1770. statuó informatioî bå senô froí thå targeô tï thå initiator.
  1771.  
  1772.   Thå targeô shalì asserô C/Ä anä I/Ï anä negatå thå MSÇ signaì durinç th堍
  1773. REQ/ACË handshakå oæ thió phase.
  1774.  
  1775.   5.1.¹ Messagå Phase.‚  Thå messagå phaså ió á terí thaô referenceó eitheò á 
  1776. MESSAGÅ IN¬ oò á MESSAGÅ OUÔ phase®  Multiplå messageó maù bå senô durin砍
  1777. eitheò phase®  Thå firsô bytå transferreä iî eitheò oæ theså phaseó shalì b堍
  1778. eitheò á single-bytå messagå oò thå firsô bytå oæ á multiple-bytå message®  
  1779. Multiple-bytå messageó shalì bå whollù containeä withiî á singlå messag堍
  1780. phase.
  1781.  
  1782.      5.1.9.± MESSAGÅ IΠPhase.‚  Thå MESSAGÅ IΠphaså allowó thå targeô t
  1783. requesô thaô message(ó) bå senô tï thå initiatoò froí thå target.
  1784.  
  1785.   Thå targeô shalì asserô C/D¬ I/O¬ anä MSÇ durinç thå REQ/ACË handshake(s© o栍
  1786. thió phase.
  1787.  
  1788.      5.1.9.² MESSAGÅ OUÔ Phase.‚  Thå MESSAGÅ OUÔ phaså allowó thå targeô t
  1789. requesô thaô messagå(s) bå senô froí thå initiatoò tï thå target®  Thå targeô 
  1790. maù invokå thió phaså aô itó conveniencå iî responså tï thå ATTENTIOЍ
  1791. conditioî (seå 5.2.1) createä bù thå initiator.
  1792.  
  1793.   Thå targeô shalì asserô C/Ä anä MSÇ anä negatå I/Ï durinç thå REQ/ACË 
  1794. handshake(s© oæ thió phase®  Thå targeô shalì handshakå byte(s© iî thió phas堍
  1795. untiì ATΠgoeó false, unless an error occurs (see MESSAGE REJECT, 5.5.2).
  1796.  
  1797.   Iæ thå targeô detectó onå oò morå paritù error(s© oî thå messagå byte(s© 
  1798. received¬ iô maù indicatå itó desirå tï retrù thå messagå(s) bù assertinç REÑ 
  1799. afteò detectinç ATΠhaó gonå falså anä prioò tï changinç tï anù otheò phase®  
  1800. Thå initiator¬ upoî detectinç thió condition¬ shalì resenä alì oæ thå previouó 
  1801. messagå byte(s© senô durinç thió phase®  Wheî resendinç morå thaî onå messag堍
  1802. byte¬ thå initiatoò shalì asserô ATΠprioò tï assertinç ACË oî thå firsô byt堍
  1803. anä shalì maintaiî ATΠasserteä untiì thå lasô bytå ió senô aó describeä i
  1804. 5.2.1.
  1805.  
  1806.   Iæ thå targeô receiveó alì oæ thå messagå byte(s© successfullù (i.e.¬ n
  1807. paritù errors)¬ iô shalì indicatå thaô iô doeó noô wisè tï retrù bù changin砍
  1808. tï anù informatioî transfeò phaså otheò thaî thå MESSAGÅ OUÔ phaså an䠍
  1809. transfeò aô leasô onå byte®  Thå targeô maù alsï indicatå thaô iô haó 
  1810. successfullù receiveä thå messagå byte(s© bù changinç tï thå BUÓ FREÅ phas堍
  1811. (e.g.¬ ABORÔ oò BUÓ DEVICÅ RESEÔ messages).
  1812.  
  1813.   5.1.1° Signaì Restrictionó Betweeî Phases.‚  Wheî thå SCSÉ buó ió betweeî tw
  1814. informatioî transfeò phases¬ thå followinç restrictionó shalì applù tï th堍
  1815. SCSÉ buó signals:
  1816.  
  1817.   (1) The BSY, SEL, REQ, and ACK signals shall not change.
  1818.   (2© Thå C/D¬ I/O¬ MSG¬ anä DATÁ BUÓ signaló maù change®  Wheî switchinç th堍
  1819. DATÁ BUÓ directioî froí ouô (initiatoò driving© tï iî (targeô driving)¬ th堍Štargeô shalì delaù drivinç thå DATÁ BUÓ bù aô leasô á datá releaså delaù pluó 
  1820. á buó settlå delaù afteò assertinç thå I/Ï signaì anä thå initiatoò shal젍
  1821. releaså thå DATÁ BUÓ nï lateò thaî á datá releaså delaù afteò thå transitio
  1822. oæ thå I/Ï signaì tï true®  Wheî switchinç thå DATÁ BUÓ directioî froí i
  1823. (targeô driving© tï ouô (initiatoò driving)¬ thå targeô shalì releaså thå DATÁ 
  1824. BUÓ nï lateò thaî á deske÷ delaù afteò negatinç thå I/Ï signal.
  1825.   (3© Thå ATΠanä RSÔ signaló maù changå aó defineä undeò thå descriptionó foò 
  1826. thå ATTENTIOΠconditioî (5.2.1) anä RESEÔ condition (5.2.2).
  1827.  
  1828. 5.² SCSÉ Buó Conditions.‚  Thå SCSÉ buó haó twï asynchronouó conditions» th堍
  1829. ATTENTIOΠconditioî anä thå RESEÔ condition®  Theså conditionó causå thå SCSÉ 
  1830. devicå tï perforí certaiî actionó anä caî alteò thå phaså sequence.
  1831.  
  1832.   5.2.± ATTENTIOΠCondition.‚  Thå ATTENTIOΠconditioî allowó aî initiatoò t
  1833. inforí á targeô thaô thå initiatoò haó á messagå ready®  Thå targeô maù geô 
  1834. thió messagå aô itó conveniencå bù performinç á MESSAGÅ OUÔ phase.
  1835.  
  1836.   Thå initiatoò createó thå ATTENTIOΠconditioî bù assertinç ATΠaô anù tim堍
  1837. excepô durinç thå ARBITRATIOΠoò BUÓ FREÅ phases.
  1838.  
  1839.   Thå target maù responä witè thå MESSAGÅ OUÔ phase.
  1840.  
  1841.   Thå initiatoò shalì keeð ATΠasserteä iæ morå thaî onå bytå ió tï b堍
  1842. transferred®  Thå initiatoò maù negatå thå ATΠsignaì aô anù timå excepô it
  1843. shalì noô negatå thå ATΠsignaì whilå thå ACË signaì ió asserteä durinç á 
  1844. MESSAGÅ OUÔ phase®  Normally¬ thå initiatoò negateó ATΠwhilå REÑ ió truå an䠍
  1845. ACK is false during the last REQ/ACK handshake of the MESSAGE OUT phase.
  1846.  
  1847.   5.2.² RESEÔ Condition.‚  Thå RESEÔ conditioî ió useä tï immediatelù cleaò al젍
  1848. SCSÉ deviceó froí thå bus®  Thió conditioî shalì takå precedencå oveò al젍
  1849. otheò phaseó anä conditions®  Anù SCSÉ devicå maù creatå thå RESEÔ conditio
  1850. bù assertinç RSÔ foò á minimuí oæ á reseô holä time®  Durinç thå RESEÔ 
  1851. condition¬ thå statå oæ alì SCSÉ buó signaló otheò thaî RSÔ ió noô defined.
  1852.  
  1853.   Alì SCSÉ deviceó shalì releaså alì SCSÉ buó signaló (excepô RST© withiî á 
  1854. buó cleaò delaù oæ thå transitioî oæ RSÔ tï true®  Thå BUÓ FREÅ phaså alwayó 
  1855. followó thå RESEÔ condition.
  1856.  
  1857.   Thå effecô oæ thå RESEÔ conditioî oî uncompleteä commands¬ SCSÉ devic堍
  1858. reservations¬ anä SCSÉ devicå operatinç modeó ió determineä bù whetheò th堍
  1859. SCSÉ devicå haó implementeä thå "hard¢ RESEÔ optioî oò thå "soft¢ RESEÔ optio
  1860. (onå oæ whicè shalì bå implemented© aó defineä iî 5.2.2.± anä 5.2.2.2.
  1861.  
  1862.      5.2.2.± "Hard¢ RESEÔ Option.‚  SCSÉ deviceó thaô implemenô thå "hard¢ 
  1863. RESEÔ option¬ upoî detectioî oæ thå RESEÔ condition¬ shall:
  1864.  
  1865.   (1) Clear all uncompleted commands
  1866.   (2) Release all SCSI device reservations
  1867.   (3© Returî anù SCSÉ devicå operatinç modeó (MODÅ SELECT¬ PREVENT/ALLO× 
  1868. MEDIUÍ REMOVAÌ commands¬ etc© tï theiò defaulô conditions.
  1869.  
  1870.      5.2.2.² "Soft¢ RESEÔ Option.‚  SCSÉ deviceó thaô implemenô thå "soft¢ 
  1871. RESEÔ option¬ upoî detectioî oæ thå RESEÔ condition¬ shall:
  1872.  
  1873.   (1© Attempô tï completå anù uncompleteä commandó thaô werå fullù identified
  1874.   (2) Preserve all SCSI device reservationsŠ  (3© Preservå anù SCSÉ devicå operatinç modeó (MODÅ SELECT¬ PREVENT/ALLO× 
  1875. MEDIUÍ REMOVAÌ commands¬ etc)
  1876.  
  1877.   Thå "soft¢ RESEÔ optioî allowó á singlå initiatoò tï reseô thå SCSÉ buó 
  1878. withouô disturbinç thå operatioî oæ otheò initiatoró iî á multiplå initiatoò 
  1879. system®  Tï ensurå propeò operatioî thå followinç conditionó shalì bå met:
  1880.  
  1881.   (1© Aî initiatoò shalì noô consideò á commanä tï bå fullù identifieä unti젍
  1882. thå IDENTIFÙ messagå ió senô tï thå targeô anä thå targeô respondó bù changin砍
  1883. tï anù otheò informatioî transfeò phaså anä requestó thaô aô leasô onå bytå b堍
  1884. transferred.
  1885.  
  1886.   (2© Á targeô shalì consideò á commanä tï bå fullù identifieä wheî iô 
  1887. successfullù receiveó thå IDENTIFÙ message.
  1888.  
  1889.   (3© Iæ aî initiatoò selectó á logicaì uniô foò whicè therå alreadù ió a
  1890. activå commanä foò thå samå initiator¬ thå targeô shalì cleaò thå origina젍
  1891. commanä anä perforí thå ne÷ command.
  1892.  
  1893.   (4© Iæ á targeô reselectó aî initiatoò tï continuå á commanä foò whicè th堍
  1894. initiatoò haó nï record¬ thå initiatoò shalì aborô thaô commanä bù sendinç th堍
  1895. ABORÔ message.
  1896.  
  1897.   (5© Aî initiatoò shalì consideò á commanä tï bå completeä wheî iô negateó 
  1898. ACË foò á successfullù receiveä COMMANÄ COMPLETÅ message.
  1899.  
  1900.   (6© Á targeô shalì consideò á commanä tï bå completeä wheî iô detectó th堍
  1901. falså transitioî oæ ACË foò thå COMMANÄ COMPLETÅ messagå witè thå ATΠsigna젍
  1902. false.
  1903.  
  1904.   (7© Aî initiatoò shalì noô negatå ACË foò thå SAVÅ DATÁ POINTEÒ messag堍
  1905. untiì iô haó actuallù saveä thå datá pointeò foò thå operation.
  1906.  
  1907.   (8© Á targeô shalì consideò thå datá pointeò tï bå saveä wheî iô detectó th堍
  1908. falså transitioî oæ ACË foò thå SAVÅ DATÁ POINTEÒ messagå witè thå ATΠsigna젍
  1909. false.
  1910.  
  1911.   (9© Iæ thå RESEÔ conditioî occuró betweeî thå timå thaô thå targeô assertó 
  1912. REÑ foò thå SAVÅ DATÁ POINTEÒ messagå anä iô detectó thå falså transitioî o栍
  1913. ACK¬ thå targeô shalì terminatå thå commanä witè á CHECË CONDITIOΠstatus®  I栍
  1914. extendeä senså ió implemented¬ thå targeô shalì seô thå senså keù tï ABORTEÄ 
  1915. COMMAND®  Thió ió necessarù becauså thå targeô cannoô determinå whetheò th堍
  1916. datá pointeò haó actuallù beeî saved.
  1917.  
  1918. NOTEº  Iæ thå ATΠsignaì ió truå iî conditionó (6© oò (8)¬ thå targeô woul䠍
  1919. normallù switcè tï MESSAGÅ OUÔ phaså anä attempô tï transfeò á messagå byte®  
  1920. Iæ thå RESEÔ conditioî  occuró beforå iô ió ablå tï successfullù receivå th堍
  1921. messagå byte¬ thå targeô shalì assumå thaô thå initiatoò maù noô hav堍
  1922. successfullù receiveä thå COMMANÄ COMPLETÅ messagå oò thå SAVÅ DATÁ POINTEÒ 
  1923. message®  Iî thå caså oæ COMMANÄ COMPLETÅ message¬ thå targeô shalì reselecô 
  1924. thå initiatoò anä attempô tï senä thå COMMANÄ COMPLETÅ messagå again®  Iî th堍
  1925. caså oæ thå SAVÅ DATÁ POINTEÒ message¬ thå targeô shalì reselecô thå initiatoò 
  1926. and terminate the command as described in condition (9).
  1927.  
  1928. 5.³ SCSÉ Buó Phaså Sequences.‚  Thå ordeò iî whicè phaseó arå useä oî thå SCSÉ 
  1929. buó followó á prescribeä sequence.Š
  1930.   Iî alì systems¬ thå RESEÔ conditioî caî aborô anù phaså anä ió alwayó 
  1931. followeä bù thå BUÓ FREÅ phase®  Also¬ anù otheò phaså caî bå followeä bù th堍
  1932. BUÓ FREÅ phase.
  1933.  
  1934.   5.3.± Nonarbitratinç Systems.‚  Iî systemó wherå thå ARBITRATIOΠphaså ió noô 
  1935. implemented¬ thå allowablå sequenceó shalì bå aó showî iî Figurå 5-1®  Th堍
  1936. normaì progressioî ió froí thå BUÓ FREÅ phaså tï SELECTION¬ anä froí SELECTIOЍ
  1937. tï onå oò morå oæ thå informatioî transfeò phaseó (COMMAND¬ DATA¬ STATUS¬ oò 
  1938. MESSAGE).
  1939.  
  1940.   5.3.² Arbitratinç Systems.‚  Iî systemó wherå thå ARBITRATIOΠphaså ió 
  1941. implemented¬ thå allowablå sequenceó shalì bå aó showî iî Figurå 5-2®  Th堍
  1942. normaì progressioî ió froí thå BUÓ FREÅ phaså tï ARBITRATION¬ froí ARBITRATIOЍ
  1943. tï SELECTIOΠoò RESELECTION¬ anä froí SELECTIOΠoò RESELECTIOΠtï onå oò mor堍
  1944. oæ thå informatioî transfeò phaseó (COMMAND¬ DATA¬ STATUS¬ oò MESSAGE).
  1945.  
  1946.   5.3.³ Alì Systems.‚  Therå arå nï restrictionó oî thå sequenceó betwee
  1947. informatioî transfeò phases®  Á phaså typå maù eveî bå followeä bù thå sam堍
  1948. phaså typå (e.g.¬ á datá phaså maù bå followeä bù anotheò datá phase).
  1949. .paŠ
  1950.  
  1951.  
  1952.  
  1953.  
  1954.  
  1955.  
  1956.  
  1957.  
  1958.  
  1959.  
  1960.  
  1961.  
  1962.  
  1963.  
  1964.  
  1965.  
  1966.  
  1967.  
  1968.  
  1969.  
  1970.  
  1971.  
  1972.  
  1973.  
  1974.                Figure 5-1. Phase Sequences without Arbitration
  1975.  
  1976.  
  1977.  
  1978.  
  1979.  
  1980.  
  1981.  
  1982.  
  1983.  
  1984.  
  1985.  
  1986.  
  1987.  
  1988.  
  1989.  
  1990.  
  1991.  
  1992.  
  1993.  
  1994.  
  1995.  
  1996.  
  1997.  
  1998.  
  1999.  
  2000.  
  2001.  
  2002.  
  2003.                  Figure 5-2. Phase Sequences with Arbitration
  2004. .paŠ5.´ SCSÉ Pointers.‚  Consideò thå systeí showî iî Figurå 5-³ iî whicè a
  2005. initiatoò anä targeô communicatå oî thå SCSÉ buó iî ordeò tï executå á 
  2006. command® 
  2007.  
  2008.  
  2009.  
  2010.      -------------------------                 -------------------------
  2011.      | Function | | Initiator|-----------------| Target   | | Function |
  2012.      | Origin   | | Path     |    SCSI BUS     | Path     | | Execution|
  2013.      |          | | Control  |-----------------| Control  | |          |
  2014.      -------------------------                 -------------------------
  2015.  
  2016.              Initiator                                   Target
  2017.  
  2018.                       Figure 5-3. Simplified SCSI System
  2019.  
  2020.  
  2021.   Thå SCSÉ architecturå provideó foò twï setó oæ threå pointeró withiî eac蠍
  2022. initiator®  Thå pointeró residå iî thå initiatoò patè control®  Thå firsô seô 
  2023. oæ pointeró arå knowî aó thå currenô (oò active© pointers®  Theså pointeró ar堍
  2024. useä tï represenô thå statå oæ thå interfacå anä poinô tï thå nexô command¬ 
  2025. data¬ oò statuó bytå tï bå transferreä betweeî thå initiator'ó memorù anä th堍
  2026. target®  Therå ió onlù onå seô oæ currenô pointeró iî eacè initiator®  Th堍
  2027. currenô pointeró arå useä bù thå targeô currentlù connecteä tï thå initiator.
  2028.  
  2029.   Thå seconä seô oæ pointeró arå knowî aó thå saveä pointers®  Therå ió on堍
  2030. seô oæ saveä pointeró foò eacè commanä thaô ió currentlù activå (whetheò oò 
  2031. noô iô ió currentlù connected)®  Thå saveä commanä pointeò alwayó pointó t
  2032. thå starô oæ thå commanä descriptoò blocë (seå 6.2© foò thå currenô command®  
  2033. Thå saveä statuó pointeò alwayó pointó tï thå starô oæ thå statuó areá foò th堍
  2034. currenô command®  Aô thå beginninç oæ eacè command¬ thå saveä datá pointeò 
  2035. pointó tï thå starô oæ thå datá area®  Iô remainó aô thió valuå untiì th堍
  2036. targeô sendó á SAVÅ DATÁ POINTEÒ messagå (seå 5.5.2© tï thå initiator®  I
  2037. responså tï thió message¬ thå initiatoò storeó thå valuå oæ thå currenô dat᠍
  2038. pointeò intï thå saveä datá pointer®  Thå targeô maù restorå thå currenô 
  2039. pointeró tï theiò saveä valueó bù sendinç á RESTORÅ POINTERÓ messagå (se堍
  2040. 5.5.2© tï thå initiator®  Thå initiatoò moveó thå saveä valuå oæ eacè pointeò 
  2041. intï thå correspondinç currenô pointer®  Wheneveò aî SCSÉ devicå disconnectó 
  2042. froí thå bus¬ onlù thå saveä pointeò valueó arå retained®  Thå currenô pointeò 
  2043. valueó arå restoreä froí thå saveä valueó upoî thå nexô reconnection.
  2044.  
  2045. 5.µ Messagå Systeí Specification.‚  Thå messagå systeí allowó communicatio
  2046. betweeî aî initiatoò anä targeô foò thå purposå oæ physicaì patè management.
  2047.  
  2048. 5.5.± Messagå Protocol.‚  Alì SCSÉ deviceó shalì implemenô thå COMMANÄ COMPLETÅ 
  2049. message®  Á functionaì SCSÉ devicå caî bå constructeä withouô usinç anù oæ th堍
  2050. otheò messageó iæ thå logicaì uniô numbeò ió specifieä iî thå comman䠍
  2051. descriptoò block®  Thå remaindeò oæ thió sectioî dealó witè thå additiona젍
  2052. requirementó oî SCSÉ deviceó thaô supporô messageó otheò thaî COMMANÄ 
  2053. COMPLETE.
  2054.  
  2055.   SCSÉ deviceó indicatå theiò abilitù tï accommodatå morå thaî thå COMMANÄ 
  2056. COMPLETÅ messagå bù assertinç oò respondinç tï thå ATΠsignal®  Thå initiatoò 
  2057. indicateó thió iî thå SELECTIOΠphaså bù assertinç ATΠprioò tï thå SCSÉ buó 
  2058. conditioî oæ SEÌ true¬ anä BSÙ false®  Thå targeô indicateó itó abilitù t
  2059. accommodatå morå messageó bù respondinç tï thå ATTENTIOΠconditioî witè th堍ŠMESSAGÅ OUÔ phaså afteò goinç througè thå SELECTIOΠphase® 
  2060.  
  2061. Foò SCSÉ deviceó thaô supporô messageó otheò thaî COMMANÄ COMPLETE¬ thå firsô 
  2062. messagå senô bù thå initiatoò afteò thå SELECTIOΠphaså shalì bå thå IDENTIFÙ 
  2063. message®  Thió allowó thå establishmenô oæ thå physicaì patè foò á particulaò 
  2064. logicaì uniô specifieä bù thå initiator®  Afteò thå RESELECTIOΠphase¬ th堍
  2065. target'ó firsô messagå shalì bå IDENTIFY®  Thió allowó thå physicaì patè tï b堍
  2066. reestablisheä foò thå target'ó specifieä logicaì uniô number®  Undeò som堍
  2067. exceptionaì conditions¬ aî initiatoò maù senä thå ABORÔ messagå oò thå BUÓ 
  2068. DEVICÅ RESEÔ messagå insteaä oæ thå IDENTIFÙ message¬ aó thå firsô message®  
  2069. Onlù onå logicaì uniô numbeò shalì bå identifieä foò anù onå selectio
  2070. sequence» á seconä IDENTIFÙ messagå witè á ne÷ logicaì uniô numbeò shalì noô 
  2071. bå issueä beforå thå SCSÉ buó haó beeî releaseä (BUÓ FREÅ phase).
  2072.  
  2073.   Wheneveò á physicaì patè ió establisheä iî aî initiatoò thaô caî accommodat堍
  2074. disconnectioî anä reconnection¬ thå initiatoò shalì ensurå thaô thå activ堍
  2075. pointeró oæ thå physicaì patè arå equaì tï thå saveä pointeró foò thaô 
  2076. particulaò logicaì uniô number®  (Aî implieä restorå pointeró operatioî occuró 
  2077. aó á resulô oæ connecô oò reconnect.)
  2078.  
  2079.   SCSÉ deviceó thaô implemenô anù messagå otheò thaî thå COMMANÄ COMPLETÅ 
  2080. messagå shalì alsï implemenô thå MESSAGÅ REJECÔ message.
  2081.  
  2082.  
  2083.                                   Table 5-2
  2084.                                 Message Codes
  2085.  
  2086. ==============================================================================
  2087. Code      Type   Description                             Direction
  2088. ------------------------------------------------------------------------------
  2089. 00H        M     COMMAND COMPLETE                        In
  2090. 01H        O     EXTENDED MESSAGE                        In   Out
  2091. 02H        O     SAVE DATA POINTER                       In
  2092. 03H        O     RESTORE POINTERS                        In
  2093. 04H        O     DISCONNECT                              In
  2094. 05H        O     INITIATOR DETECTED ERROR                     Out
  2095. 06H        O     ABORT                                        Out
  2096. 07H        O     MESSAGE REJECT                          In   Out
  2097. 08H        O     NO OPERATION                                 Out
  2098. 09H        O     MESSAGE PARITY ERROR                         Out
  2099. 0AH        O     LINKED COMMAND COMPLETE                 In
  2100. 0BH        O     LINKED COMMAND COMPLETE (WITH FLAG)     In
  2101. 0CH        O     BUS DEVICE RESET                             Out
  2102. 0DH _ 7FH  R     Reserved Codes
  2103. 80H _ FFH  O     IDENTIFY                                In   Out
  2104. ==============================================================================
  2105.  
  2106. Key:  In = Target to initiator,  Out = Initiator to target.
  2107.  
  2108.  
  2109.   5.5.² Messages.‚  Thå singlå bytå messageó (Tablå 5-2© arå listeä alonç wit蠍
  2110. theiò codå valueó anä theiò definitions.
  2111.  
  2112. COMMANÄ COMPLETÅ 00H– (Mandatory).‚  Thió messagå ió senô froí á targeô tï a
  2113. initiatoò tï indicatå thaô thå executioî oæ á commanä (oò serieó oæ linke䠍
  2114. commands© haó terminateä anä thaô valiä statuó haó beeî senô tï thå initiator®  ŠAfteò successfullù sendinç thió message¬ thå targeô shalì gï tï thå BUÓ FREÅ 
  2115. phaså bù releasinç BSY.
  2116.  
  2117. NOTEº  Thå commanä maù havå beeî executeä successfullù oò unsuccessfullù aó 
  2118. indicateä iî thå status.
  2119.  
  2120. EXTENDEÄ MESSAGÅ 01H– (Optional).‚  Thió messagå ió senô froí eitheò th堍
  2121. initiatoò oò thå targeô aó thå firsô bytå oæ á multiple-bytå message®  (Se堍
  2122. 5.5.³ foò descriptionó oæ extendeä messages.)
  2123.  
  2124. SAVÅ DATÁ POINTEÒ 02H– (Optional).‚  Thió messagå ió senô froí á targeô t
  2125. direcô thå initiatoò tï savå á copù oæ thå presenô activå datá pointeò foò th堍
  2126. currentlù attacheä logicaì unit®  (Seå 5.´ foò á definitioî oæ pointers.)
  2127.  
  2128. RESTORÅ POINTERÓ 03H– (Optional).‚  Thió messagå ió senô froí á targeô tï direcô 
  2129. thå initiatoò tï restorå thå mosô recentlù saveä pointeró (foò thå currentlù 
  2130. attacheä logicaì unit© tï thå activå state®  Pointeró tï thå command¬ data¬ 
  2131. anä statuó locationó foò thå logicaì uniô shalì bå restoreä tï thå activ堍
  2132. pointers®  Commanä anä statuó pointeró shalì bå restoreä tï thå beginninç o栍
  2133. thå presenô commanä anä statuó areas®  Thå datá pointeò shalì bå restoreä t
  2134. thå valuå aô thå beginninç oæ thå datá areá iî thå absencå oæ á SAVÅ DATÁ 
  2135. POINTEÒ messagå oò tï thå valuå aô thå poinô aô whicè thå lasô SAVÅ DATÁ 
  2136. POINTEÒ messagå occurreä foò thaô logicaì unit.
  2137.  
  2138. DISCONNECÔ 04H– (Optional).‚  Thió messagå ió senô froí á targeô tï inforí a
  2139. initiatoò thaô thå presenô physicaì patè ió goinç tï bå brokeî (thå targeô 
  2140. planó tï  disconnecô bù releasinç BSY)¬ buô thaô á lateò reconnecô wilì b堍
  2141. requireä iî ordeò tï completå thå currenô operation®  Iæ thå initiatoò detectó 
  2142. thå BUÓ FREÅ phaså (otheò thaî aó á resulô oæ á RESEÔ condition© withouô firsô 
  2143. receivinç á DISCONNECÔ oò COMMANÄ COMPLETÅ message¬ thå initiatoò shal젍
  2144. consideò thió aó á catastrophiã erroò condition®  Iæ thå targeô intentionallù 
  2145. createó thió condition¬ thå targeô shalì cleaò thå currenô command®  Thió 
  2146. messagå shalì noô causå thå initiatoò tï savå thå datá pointer®  Noteº  I栍
  2147. DISCONNECÔ messageó arå useä breaë á lonç datá transfeò intï twï oò mor堍
  2148. shorteò transfers¬ theî á SAVÅ DATÁ POINTEÒ shoulä bå issueä beforå eac蠍
  2149. DISCONNECÔ message.
  2150.  
  2151. INITIATOÒ DETECTEÄ ERROÒ 05H– (Optional).‚  Thió messagå ió senô froí a
  2152. initiatoò tï inforí á targeô thaô aî erroò (e.g.¬ paritù error© haó occurre䠍
  2153. thaô doeó noô precludå thå targeô froí retryinç thå operation®  Althoug蠍
  2154. presenô pointeò integritù ió noô assured¬ á RESTORÅ POINTERÓ messagå oò á 
  2155. disconnecô followeä bù á reconnect¬ shalì causå thå pointeró tï bå restoreä t
  2156. theiò defineä prioò state.
  2157.  
  2158. ABORÔ 06H– (Optional).‚  Thió messagå ió senô froí thå initiatoò tï thå targeô 
  2159. tï cleaò thå presenô operation®  Iæ á logicaì uniô haó beeî identified¬ al젍
  2160. pendinç datá anä statuó foò thå issuinç initiatoò froí thå effecteä logica젍
  2161. uniô shalì bå cleared¬ anä thå targeô shalì gï tï thå BUÓ FREÅ phase®  Pendin砍
  2162. datá anä statuó foò otheò initiatoró shalì noô bå cleared®  Iæ á logicaì uniô 
  2163. haó noô beeî identified¬ thå targeô shalì gï tï thå BUÓ FREÅ phase®  Nï statuó 
  2164. oò endinç messagå shalì bå senô foò thå operation®  Iô ió noô aî erroò t
  2165. issuå thió messagå tï aî logicaì uniô thaô ió noô currentlù performinç a
  2166. operatioî foò thå initiator.
  2167.  
  2168. MESSAGÅ REJECÔ 07H– (Optional).‚  Thió messagå ió senô froí eitheò thå initiatoò 
  2169. oò targeô tï indicatå thaô thå lasô messagå iô receiveä waó inappropriatå oò Šhaó noô beeî implemented.
  2170.  
  2171.   Iî ordeò tï indicatå itó intentionó oæ sendinç thió message¬ thå initiatoò 
  2172. shalì asserô thå ATΠsignaì prioò tï itó releaså oæ ACË foò thå REQ/ACË 
  2173. handshakå oæ thå messagå thaô ió tï bå rejected®  Wheî á targeô sendó thió 
  2174. message¬ iô shalì changå tï MESSAGÅ IΠphaså anä senä thió messagå prioò t
  2175. requestinç additionaì messagå byteó froí thå initiator®  Thió provideó a
  2176. interlocë sï thaô thå initiatoò caî determinå whicè messagå ió rejected.
  2177.  
  2178.   Thió messagå shalì bå implementeä iæ anù otheò optionaì messageó ar堍
  2179. implemented® 
  2180.  
  2181. NÏ OPERATIOΠ08H– (Optional).‚  Thió messagå ió senô froí aî initiatoò i
  2182. responså tï á target'ó requesô foò á messagå wheî thå initiatoò doeó noô 
  2183. currentlù havå anù otheò valiä messagå tï send.
  2184.  
  2185. MESSAGÅ PARITÙ ERROÒ 09H– (Optional).‚  Thió messagå ió senô froí thå initiatoò 
  2186. tï thå targeô tï indicatå thaô onå oò morå byteó iî thå lasô messagå iô 
  2187. receiveä haä á paritù error.
  2188.  
  2189.   Iî ordeò tï indicatå itó intentionó oæ sendinç thió message¬ thå initiatoò 
  2190. shalì asserô thå ATΠsignaì prioò tï itó releaså oæ ACË foò thå REQ/ACË 
  2191. handshakå oæ thå messagå thaô haó thå paritù error®  Thió provideó a
  2192. interlocë sï thaô thå targeô caî determinå whicè messagå haó thå paritù error.
  2193.  
  2194. LINKEÄ COMMANÄ COMPLETÅ 0AH– (Optional).‚  Thió messagå ió senô froí á targeô t
  2195. aî initiatoò tï indicatå thaô thå executioî oæ á linkeä commanä haó complete䠍
  2196. anä thaô statuó haó beeî sent®  Thå initiatoò shalì theî seô thå pointeró t
  2197. thå initiaì statå foò thå nexô linkeä command.
  2198.  
  2199. LINKEÄ COMMANÄ COMPLETÅ (WITÈ FLAG© 0BH– (Optional).‚  Thió messagå ió senô froí 
  2200. á targeô tï aî initiatoò tï indicatå thaô thå executioî oæ á linkeä comman䠍
  2201. (witè thå flaç biô seô tï one© haó completeä anä thaô statuó haó beeî sent®  
  2202. Thå initiatoò shalì theî seô thå pointeró tï thå initiaì statå oæ thå nexô 
  2203. linkeä command®  Typicallù thió messagå woulä bå useä tï causå aî interrupô i
  2204. thå initiatoò betweeî twï linkeä commands.
  2205.  
  2206. BUÓ DEVICÅ RESEÔ 0CH– (Optional).‚  Thió messagå ió senô froí aî initiatoò t
  2207. direcô á targeô tï cleaò alì currenô commandó oî thaô SCSÉ device®  Thió 
  2208. messagå forceó thå SCSÉ devicå tï aî initiaì statå witè nï operationó pendin砍
  2209. foò anù initiator®  Upoî recognizinç thió message¬ thå targeô shalì gï tï th堍
  2210. BUÓ FREÅ phase.
  2211.  
  2212. Reserved 0DH– tï 7FH.‚  Theså messagå codeó arå reserved foò futur堍
  2213. standardization.
  2214.  
  2215. IDENTIFÙ 80H– tï FFH– (Optional).‚  Theså messageó arå senô bù eitheò th堍
  2216. initiatoò oò thå targeô tï establisè thå physicaì patè connectioî betweeî a
  2217. initiatoò anä targeô foò á particulaò logicaì unit.
  2218.  
  2219.   Biô 7.‚  Thió biô ió alwayó seô tï onå tï distinguisè theså messageó froí th堍
  2220. otheò messages.
  2221.  
  2222.   Biô 6.‚  Thió biô ió onlù seô tï onå bù thå initiator®  Wheî seô tï one¬ iô 
  2223. indicateó thaô thå initiatoò haó thå abilitù tï accommodatå disconnectioî an䠍
  2224. reconnection.Š
  2225.   Bitó 5-³.  Reserved.
  2226.  
  2227.   Bitó 2-°.  Theså bitó specifù a logical unit number in a target.
  2228.  
  2229.   Onlù onå logicaì uniô numbeò shalì bå identifieä foò anù onå selectio
  2230. sequence» á seconä IDENTIFÙ messagå witè á ne÷ logicaì uniô numbeò shalì noô 
  2231. bå issueä beforå thå buó haó beeî releaseä (BUÓ FREÅ phase).
  2232.  
  2233.   Wheî senô froí á targeô tï aî initiatoò durinç reconnection¬ aî implie䠍
  2234. RESTORÅ POINTERÓ messagå shalì bå performeä bù thå initiatoò prioò t
  2235. completioî oæ thió message.
  2236.  
  2237.   5.5.³ Extendeä Messageó (Optional).‚  Á valuå oæ onå iî thå firsô bytå oæ á 
  2238. messagå indicateó thå beginninç oæ á multiple-bytå extendeä message®  Th堍
  2239. minimuí numbeò oæ byteó senô foò aî extendeä messagå ió three®  Thå extende䠍
  2240. messagå formaô anä thå extendeä messagå codeó arå showî iî Tableó 5-³ anä 5-4¬ 
  2241. respectively.
  2242.  
  2243.                                   Table 5-3
  2244.                            Extended Message Format
  2245.  
  2246. ==============================================================================
  2247.  Byte     |  Value   |   Description                                         |
  2248. ==============================================================================
  2249.   0       |   01H    |   Extended message                                    |
  2250. ----------|----------|-------------------------------------------------------|
  2251.   1       |    nH    |   Extended message length                             |
  2252. ----------|----------|-------------------------------------------------------|
  2253.   2       |    yH    |   Extended message code                               |
  2254. ----------|----------|-------------------------------------------------------|
  2255. 3 _ nH+1  |    xH    |   Extended message arguments                          |
  2256. ==============================================================================
  2257.  
  2258.   Thå extendeä messagå lengtè specifieó thå lengtè iî byteó oæ thå extende䠍
  2259. messagå codå pluó thå extendeä messagå argumentó tï follow®  Therefore¬ th堍
  2260. totaì lengtè oæ thå messagå ió equaì tï thå extendeä messagå lengtè pluó two®  
  2261. Á valuå oæ zerï foò thå extendeä messagå lengtè indicateó 25¶ byteó follow.
  2262.  
  2263.   Thå extendeä messagå codeó arå listeä iî Tablå 5-4®  Thå extendeä messag堍
  2264. argumentó arå specifieä foò thå defineä extendeä messageó iî Sectionó 5.5.´ 
  2265. through 5.5.6.
  2266.  
  2267.                                   Table 5-4
  2268.                             Extended Message Codes
  2269.  
  2270. ==============================================================================
  2271. Code (yH)      Description
  2272. ------------------------------------------------------------------------------
  2273. 00H            MODIFY DATA POINTER (Optional) 
  2274. 01H            SYNCHRONOUS DATA TRANSFER REQUEST (Optional) 
  2275. 02H            EXTENDED IDENTIFY (Optional) 
  2276. 03H _ 7FH      Reserved
  2277. 80H _ FFH      Vendor Unique
  2278. ==============================================================================
  2279. .paŠ  5.5.´ MODIFÙ DATÁ POINTEÒ Messagå (Optional)
  2280.  
  2281.                                   Table 5-5
  2282.                              MODIFY DATA POINTER
  2283.  
  2284. ==============================================================================
  2285. Byte |  Value  |    Description                                              |
  2286. ==============================================================================
  2287.  0   |   01H   |    Extended message                                         |
  2288. -----|---------|-------------------------------------------------------------|
  2289.  1   |   05H   |    Extended message length                                  |
  2290. -----|---------|-------------------------------------------------------------|
  2291.  2   |   00H   |    MODIFY DATA POINTER code                                 |
  2292. -----|---------|-------------------------------------------------------------|
  2293.  3   |    xH   |    Argument (MSB)                                           |
  2294. -----|---------|-------------------------------------------------------------|
  2295.  4   |    xH   |    Argument                                                 |
  2296. -----|---------|-------------------------------------------------------------|
  2297.  5   |    xH   |    Argument                                                 |
  2298. -----|---------|-------------------------------------------------------------|
  2299.  6   |    xH   |    Argument (LSB)                                           |
  2300. ==============================================================================
  2301.  
  2302.   Thå MODIFÙ DATÁ POINTEÒ messagå (Tablå 5-5© ió senô froí thå targeô tï th堍
  2303. initiatoò anä requestó thaô thå signeä argumenô bå addeä (two'ó complement© t
  2304. thå valuå oæ thå current datá pointer.
  2305.  
  2306.   5.5.5 SYNCHRONOUS DATA TRANSFER REQUEST Message (Optional)
  2307.  
  2308.                                   Table 5-6
  2309.                       SYNCHRONOUS DATA TRANSFER REQUEST
  2310.  
  2311. ==============================================================================
  2312. Byte |  Value  |    Description                                              |
  2313. ==============================================================================
  2314.  0   |   01H   |    Extended message                                         |
  2315. -----|---------|-------------------------------------------------------------|
  2316.  1   |   03H   |    Extended message length                                  |
  2317. -----|---------|-------------------------------------------------------------|
  2318.  2   |   01H   |    SYNCHRONOUS DATA TRANSFER REQUEST code                   |
  2319. -----|---------|-------------------------------------------------------------|
  2320.  3   |    mH   |    Transfer period (mH times 4 nanoseconds)                 |
  2321. -----|---------|-------------------------------------------------------------|
  2322.  4   |    xH   |    REQ/ACK offset                                           |
  2323. ==============================================================================
  2324.  
  2325.   Á paiò oæ SYNCHRONOUÓ DATÁ TRANSFEÒ REQUESÔ messageó (Tablå 5-6© ar堍
  2326. exchangeä betweeî aî initiatoò anä á targeô wheneveò aî SCSÉ devicå thaô ca
  2327. supporô synchronouó datá transfeò recognizeó thaô iô haó noô communicateä wit蠍
  2328. thå otheò SCSÉ devicå sincå receivinç thå lasô "hard¢ RESEÔ conditioî oò á BUÓ 
  2329. DEVICÅ RESEÔ message®  Thå SCSÉ deviceó maù alsï exchangå messageó t
  2330. establisè synchronouó datá transfeò wheî requesteä tï dï so®  Thå messag堍
  2331. exchangå establisheó thå transfeò perioä anä thå REQ/ACË offset®  Thå transfeò 
  2332. perioä ió thå minimuí timå betweeî leadinç edgeó oæ successivå REÑ pulseó an䠍
  2333. oæ successivå ACË pulses®  
  2334. Š  Thå REQ/ACË offseô ió thå maximuí numbeò oæ REÑ pulseó thaô maù b堍
  2335. outstandinç beforå itó correspondinç ACË pulså ió receiveä aô thå target®  Á 
  2336. REQ/ACË offseô valuå oæ zerï shalì indicatå asynchronouó mode» á valuå oæ FFH– 
  2337. shalì indicatå unlimiteä offset.
  2338.  
  2339.   Iæ thå initiatoò recognizeó thaô negotiatioî ió required¬ iô assertó  ATЍ
  2340. and¬ iæ thå targeô implementó messagå transfers¬ sendó á SYNCHRONOUÓ DATÁ 
  2341. TRANSFEÒ REQUESÔ messagå indicatinç aî REQ/ACË offseô anä minimuí transfeò 
  2342. period®  Thå REQ/ACË offseô ió choseî tï prevenô initiatoò buffeò overflows¬ 
  2343. whilå thå minimuí transfeò perioä ió choseî tï meeô thå datá handlin砍
  2344. requirementó oæ thå initiator®  Thå targeô respondó iî anù oæ thå followin砍
  2345. ways:
  2346.  
  2347. Target Response                         Implied Agreement
  2348. -------------------------------------   --------------------------------------
  2349. (1) REQ/ACK offseô less than or equal   REQ/ACK offseô equal to target value.
  2350.     to the requested value.
  2351.     Minimum transfer period equal to    Minimum transfer period equal to 
  2352.     or greater than requested period.   the target value.
  2353.  
  2354. (2) REQ/ACK offseô equal to zero.       Asynchronous transfer.
  2355.  
  2356. (3) MESSAGE REJECT.                     Asynchronous transfer.
  2357.  
  2358.   Iæ thå targeô recognizeó thaô negotiatioî ió required¬ iô sendó á 
  2359. SYNCHRONOUÓ DATÁ TRANSFEÒ REQUESÔ messagå tï thå initiator®  Thå REQ/ACË 
  2360. offseô ió selecteä tï prevenô buffeò anä offseô counteò overflows¬ whilå th堍
  2361. minimuí transfeò perioä ió choseî tï meeô thå datá handlinç requirementó o栍
  2362. thå target®  Thå initiatoò respondó iî anù oæ thå followinç wayó iæ thå targeô 
  2363. chooseó aî REQ/ACË offseô equaì tï FFH:
  2364.  
  2365. Initiator Response                      Implied Agreement
  2366. -------------------------------------   --------------------------------------
  2367. (1) REQ/ACK offseô equaì tï FFH–.        REQ/ACK offseô unlimited.
  2368.     Minimum transfer period equal to    Minimuí transfeò perioä equaì to
  2369.     or greater than requested period.   the initiator value.
  2370.  
  2371. (2) REQ/ACK offset equal to 00H.        Asynchronouó transfer®  Thå target maù 
  2372.                                         renegotiatå foò aî REQ/ACK offseô lesó 
  2373.                                         thaî FFH– anä greateò thaî 00H.
  2374.  
  2375. (3) MESSAGE REJECT.                     Asynchronous transfer.
  2376.  
  2377.   Thå initiatoò respondó iî anù oæ thå followinç wayó iæ thå targeô selectó a
  2378. REQ/ACË offseô lesó thaî FFH:
  2379.  
  2380. Initiator Response                      Implied Agreement
  2381. -------------------------------------   --------------------------------------
  2382. (1) REQ/ACK offseô less than or equal   REQ/ACK offseô equals initiator value.
  2383.    to the requested value.
  2384.    Minimum transfer period equal to     Minimum transfer period equal to the
  2385.    or greater than requested value.     initiator value.
  2386.  
  2387. (2) REQ/ACK offseô equal to zero.       Asynchronous transfer.
  2388.  
  2389. (3) MESSAGE REJECT.                     Asynchronous transfer.Š
  2390.   Thå implieä agreemenô shalì remaiî iî effecô untiì á BUÓ DEVICÅ RESEÔ 
  2391. messagå ió received¬ untiì á "hard¢ RESEÔ conditioî occurs¬ oò untiì onå o栍
  2392. thå twï SCSÉ deviceó electó tï modifù thå agreement®  Renegotiatioî aô everù 
  2393. selectioî ió noô recommended¬ sincå á significanô performancå impacô ió 
  2394. likely®  Thå defaulô modå oæ datá transfeò ió asynchronouó mode®  Thå defaulô 
  2395. modå ió entereä aô poweò on¬ afteò á BUÓ DEVICÅ RESEÔ message¬ oò afteò á 
  2396. "hard¢ RESEÔ condition®  Thå SYNCHRONOUÓ DATÁ TRANSFEÒ REQUESÔ messag堍
  2397. exchangå caî onlù takå placå followinç á SELECTIOΠphaså thaô includeó th堍
  2398. SCSÉ IDó foò botè thå initiatoò anä thå target®  Violatioî oæ thió rulå maù 
  2399. makå datá transfeò impossiblå owinç tï disagreementó amonç SCSÉ deviceó abouô 
  2400. thå datá transfeò mode.
  2401.  
  2402.   5.5.6 EXTENDED IDENTIFY Message (Optional)
  2403.  
  2404.                                   Table 5-7
  2405.                               EXTENDED IDENTIFY
  2406.  
  2407. ==============================================================================
  2408. Byte |  Value  |    Description                                              |
  2409. ==============================================================================
  2410.  0   |   01H   |    Extended message                                         |
  2411. -----|---------|-------------------------------------------------------------|
  2412.  1   |   02H   |    Extended message length                                  |
  2413. -----|---------|-------------------------------------------------------------|
  2414.  2   |   02H   |    EXTENDED IDENTIFY code                                   |
  2415. -----|---------|-------------------------------------------------------------|
  2416.  3   |   xxH   |    Sub-logical unit number                                  |
  2417. ==============================================================================
  2418.  
  2419.   Thå EXTENDEÄ IDENTIFÙ messagå (Tablå 5-7© ió optionaì anä maù bå senô bù á 
  2420. targeô oò aî initiator®  Iô maù bå useä iî conjunctioî witè thå norma젍
  2421. IDENTIFÙ messagå iî ordeò tï expanä thå logicaì uniô numbeò addressinç iî á 
  2422. target®  Thå sub-logicaì uniô numbeò specifieó thå encodeä eight-biô sub-
  2423. logicaì uniô numbeò useä tï identifù onå oæ 25¶ sub-logicaì unitó withiî th堍
  2424. logicaì unit®  Thió allowó uð tï 204¸ unitó tï bå addresseä oî á singl堍
  2425. target.
  2426.  
  2427. .. To set ruler line, position cursor on the next line and type ^OF--!--!--!--!--!--!--!--!--!--!--!--!-----------------------------------------!
  2428. .fo Section 6                            #
  2429. 6. SCSI Commands 
  2430.  
  2431. This section defines the SCSI command structure and gives several examples.
  2432.  
  2433.   Thå commanä definitionó assumå á datá structurå providinç thå appearancå aô 
  2434. thå interfacå oæ á contiguouó seô oæ logicaì blockó oæ á fixeä oò explicitlù 
  2435. defineä datá length®  Thå SCSÉ devicå mapó thå physicaì characteristicó oæ th堍
  2436. attacheä peripheraì deviceó tï onå oæ severaì logicaì structureó defineä bù 
  2437. thå devicå typå code.
  2438.  
  2439.   Á singlå commanä maù transfeò onå oò morå logicaì blockó oæ data®  Multipl堍
  2440. commandó maù bå linkeä iæ theù arå senô tï thå samå logicaì unit®  Á targeô 
  2441. maù disconnecô froí thå SCSÉ buó tï allo÷ activitù bù otheò SCSÉ deviceó whil堍
  2442. á logicaì uniô ió beinç prepareä tï transfeò data®
  2443.  
  2444.   Upoî commanä completioî (successfuì oò unsuccessful)¬ thå targeô returnó á 
  2445. statuó bytå tï thå initiator®  Sincå mosô erroò anä exceptioî conditionó 
  2446. cannoô bå adequatelù describeä witè á singlå statuó byte¬ onå statuó codå, 
  2447. CHECË CONDITION, indicateó thaô additionaì informatioî ió available®  Th堍
  2448. initiatoò maù issuå á REQUESÔ SENSÅ commanä tï retrievå thió additiona젍
  2449. information® 
  2450.  
  2451.   Bù keepinç tï á minimuí thå functionó essentiaì tï communicatå viá thió 
  2452. protocol¬ á widå rangå oæ peripheraì deviceó oæ varyinç capabilitù caî operat堍
  2453. iî thå samå environment.
  2454.  
  2455.   Becauså subsetó oæ thå fulì architecturå maù bå implemented¬ optiona젍
  2456. functionó arå noted.
  2457.  
  2458. 6.± Commanä Implementatioî Requirements.‚  Thå firsô bytå oæ anù SCSÉ comman䠍
  2459. shalì contaiî aî operatioî codå aó defineä iî thió document®  Threå bitó (bitó 
  2460. · - 5© oæ thå seconä bytå oæ eacè SCSÉ commanä specifù thå logicaì uniô iæ iô 
  2461. ió noô specifieä usinç thå IDENTIFÙ messagå (seå 5.5.2)®  Thå lasô bytå oæ al젍
  2462. SCSÉ commandó shalì contaiî á controì bytå aó defineä iî 6.2.6.
  2463.  
  2464.   6.1.± Reserved.‚  Reserveä bits¬ fields¬ bytes¬ anä codå valueó arå seô asid堍
  2465. foò futurå standardization®  Theiò uså anä interpretatioî wilì bå specifieä bù 
  2466. futurå extensionó tï thió standard®  Á reserveä bit¬ field¬ oò bytå shalì b堍
  2467. seô tï zerï, oò iî accordancå witè á futurå extensioî tï thió standard®  Á 
  2468. targeô thaô receiveó á reserveä bit¬ field¬ oò bytå thaô ió noô zerï oò 
  2469. receiveó á reserveä codå valuå shalì terminatå thå commanä witè á CHECË 
  2470. CONDITIOΠstatuó and¬ iæ extendeä senså ió implemented¬ thå senså keù shalì b堍
  2471. seô tï ILLEGAÌ REQUEST®  Iô shalì alsï bå acceptablå foò á targeô tï interpreô 
  2472. thå bit¬ field¬ byte¬ oò codå valuå iî accordancå witè á futurå extensioî t
  2473. thió standard.
  2474.  
  2475.   6.1.² Operatioî Codå Types
  2476.  
  2477. Operation 
  2478. Code Type  Description
  2479. ---------  -------------------------------------------------------------------
  2480. M          Mandatorù - Commandó sï designateä shalì bå implementeä iî ordeò t
  2481.            meeô thå minimuí requiremenô oæ thió standard.
  2482.  
  2483. E          Extendeä - Commandó sï designateä shalì bå implementeä iî additio
  2484.            tï mandatorù commandó tï meeô thå extendeä requiremenô oæ thi󠍊           standard.
  2485.  
  2486. O          Optionaì - Commandó sï designated¬ iæ implemented¬ shalì b堍
  2487.            implementeä aó defineä iî thió standard.
  2488.  
  2489. V          Vendoò uniquå - Operatioî codeó sï designateä arå availablå foò 
  2490.            vendoò defineä commands®  Seå thå vendoò specificationó wher堍
  2491.            compatibilitù ió desired.
  2492.  
  2493. R          Reserveä - Operatioî codeó sï designateä shalì noô bå used®  Theù 
  2494.            arå reserveä foò futurå extensionó tï thió standard.
  2495.  
  2496.   6.1.³ Uniô Attentioî Condition.‚  Á uniô attentioî conditioî foò á logica젍
  2497. uniô shalì begiî foò eacè initiatoò wheneveò thå removablå mediuí maù hav堍
  2498. beeî changeä oò thå targeô haó beeî reseô (bù á BUÓ DEVICÅ RESEÔ messagå oò á 
  2499. "hard¢ RESEÔ condition)®  Thå uniô attentioî conditioî shalì persisô foò eac蠍
  2500. initiatoò untiì thaô initiatoò issueó á commanä tï thå logicaì uniô otheò tha
  2501. REQUESÔ SENSÅ oò INQUIRÙ foò whicè thå targeô shalì returî CHECË CONDITIOЍ
  2502. status®  Iæ thå nexô commanä froí thaô initiatoò tï thå logicaì uniô 
  2503. (followinç thå CHECË CONDITIOΠstatus© ió REQUESÔ SENSE¬ anä iæ thå targeô 
  2504. supportó extendeä sense¬ theî thå UNIÔ ATTENTIOΠsenså keù shalì bå returned®  
  2505. (Iæ anù commanä otheò thaî REQUESÔ SENSÅ ió received¬ thå uniô attentio
  2506. conditioî ió lost.©  
  2507. .fo Section 6                           50.1
  2508.  
  2509.   Iæ aî INQUIRÙ commanä ió receiveä froí aî initiatoò witè á pendinç uniô 
  2510. attentioî conditioî (beforå thå targeô reportó CHECË CONDITIOΠstatus)¬ th堍
  2511. targeô shalì perforí thå INQUIRÙ commanä anä shalì noô cleaò thå uniô 
  2512. attentioî condition.
  2513.  
  2514.   Iæ á REQUESÔ SENSÅ commanä ió receiveä froí aî initiatoò witè á pendinç uniô 
  2515. attentioî conditioî (beforå thå targeô reportó CHECË CONDITIOΠstatus)¬ the
  2516. thå targeô maù either:
  2517.  
  2518.   (1) report any pending sense data and preserve the unit attention condition
  2519.   (2© discarä anù pendinç senså data¬ reporô UNIÔ ATTENTIOΠsenså key¬ an䠍
  2520. clear the unit attention condition for that initiator.
  2521.  
  2522.   Iæ aî initiatoò issueó á commanä otheò thaî INQUIRÙ oò REQUESÔ SENSÅ whilå á 
  2523. uniô attentioî conditioî existó foò thaô initiator¬ thå targeô shalì noô 
  2524. perforí thå commanä anä shalì reporô CHECË CONDITIOΠstatus.
  2525.  
  2526. 6.² Commanä Descriptoò Block.‚  Á requesô tï á peripheraì devicå ió performe䠍
  2527. bù sendinç á commanä descriptoò blocë tï thå target®  Foò severaì commands¬ 
  2528. thå requesô ió accompanieä bù á lisô oæ parameteró senô durinç thå DATÁ OUÔ 
  2529. phase®  Seå thå specifiã commandó foò detaileä information.
  2530.  
  2531.   Thå commanä descriptoò blocë alwayó haó aî operatioî codå aó thå firsô byt堍
  2532. oæ thå command®  Thió ió followeä bù á logicaì uniô number¬ commanä parameteró 
  2533. (iæ any)¬ anä á controì byte.
  2534.  
  2535.   Foò alì commands¬ iæ therå ió aî invaliä parameteò iî thå commanä descriptoò 
  2536. block¬ theî thå targeô shalì terminatå thå commanä withouô alterinç th堍
  2537. medium.
  2538.  
  2539.   6.2.± Operatioî Code.‚  Thå operatioî codå (Tablå 6-1© oæ thå comman䠍
  2540. descriptoò blocë haó á grouð codå fielä anä á commanä codå field®  Thå three-Šbiô grouð codå fielä provideó foò eighô groupó oæ commanä codes®  Thå five-biô 
  2541. commanä codå fielä provideó foò thirty-twï commanä codeó iî eacè group®  Thus¬ 
  2542. á totaì oæ 25¶ possiblå operatioî codeó exist®  Operatioî codeó arå defineä i
  2543. Sectionó · througè 13.
  2544.  
  2545.   Thå grouð codå specifies one of the following groups:
  2546.  
  2547.   Group 0 - six-byte commands (see Table 6-2)
  2548.   Group 1 - ten-byte commands (see Table 6-3)
  2549.   Group 2 - reserved
  2550.   Group 3 - reserved
  2551.   Group 4 - reserved
  2552.   Grouð µ - twelve-bytå commands (see Table 6-4)
  2553.   Group 6 - vendor unique 
  2554.   Group 7 - vendor unique
  2555. .paŠ.fo Section 6                           50.2
  2556.  
  2557.  
  2558.  
  2559.  
  2560.  
  2561.  
  2562.  
  2563.  
  2564.  
  2565.  
  2566.  
  2567.  
  2568.  
  2569.  
  2570.  
  2571.  
  2572.  
  2573.  
  2574.  
  2575.  
  2576.  
  2577.  
  2578.  
  2579.                      (This page is intentionally blank.)
  2580. .paŠ.pn 51
  2581. .fo Section 6                             #
  2582.                                   Table 6-1
  2583.                                 Operation Code
  2584.  
  2585.  
  2586. ==============================================================================
  2587.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  2588. Byte |        |        |        |        |        |        |        |        |
  2589. ==============================================================================
  2590.  0   |        Group Code        |                Command Code                |
  2591. ==============================================================================
  2592.  
  2593.  
  2594.                                   Table 6-2
  2595.             Typical Command Descriptor Block for Six-byte Commands
  2596.  
  2597. ==============================================================================
  2598.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  2599. Byte |        |        |        |        |        |        |        |        |
  2600. ==============================================================================
  2601.  0   |                           Operation Code                              |
  2602. -----|-----------------------------------------------------------------------|
  2603.  1   |   Logical Unit Number    |Logical Block Address (if required) (MSB)   |
  2604. -----|-----------------------------------------------------------------------|
  2605.  2   |                           Logical Block Address (if required)         |
  2606. -----|-----------------------------------------------------------------------|
  2607.  3   |                           Logical Block Address (if required) (LSB)   |
  2608. -----|-----------------------------------------------------------------------|
  2609.  4   |                           Transfer Length (if required)               |
  2610. -----|-----------------------------------------------------------------------|
  2611.  5   |                           Control Byte                                |
  2612. ==============================================================================
  2613. .paŠ                                  Table 6-3
  2614.             Typical Command Descriptor Block for Ten-byte Commands
  2615.  
  2616. ==============================================================================
  2617.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  2618. Byte |        |        |        |        |        |        |        |        |
  2619. ==============================================================================
  2620.  0   |                           Operation Code                              |
  2621. -----|-----------------------------------------------------------------------|
  2622.  1   |   Logical Unit Number    |              Reserved             | RelAdr |
  2623. -----|-----------------------------------------------------------------------|
  2624.  2   |                           Logical Block Address (if required) (MSB)   |
  2625. -----|-----------------------------------------------------------------------|
  2626.  3   |                           Logical Block Address (if required)         |
  2627. -----|-----------------------------------------------------------------------|
  2628.  4   |                           Logical Block Address (if required)         |
  2629. -----|-----------------------------------------------------------------------|
  2630.  5   |                           Logical Block Address (if required) (LSB)   |
  2631. -----|-----------------------------------------------------------------------|
  2632.  6   |                           Reserved                                    |
  2633. -----|-----------------------------------------------------------------------|
  2634.  7   |                           Transfer Length (if required) (MSB)         |
  2635. -----|-----------------------------------------------------------------------|
  2636.  8   |                           Transfer Length (if required) (LSB)         |
  2637. -----|-----------------------------------------------------------------------|
  2638.  9   |                           Control Byte                                |
  2639. ==============================================================================
  2640. .paŠ                                  Table 6-4
  2641.           Typical Command Descriptor Block for Twelve-byte Commands
  2642.  
  2643. ==============================================================================
  2644.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  2645. Byte |        |        |        |        |        |        |        |        |
  2646. ==============================================================================
  2647.  0   |                           Operation Code                              |
  2648. -----|-----------------------------------------------------------------------|
  2649.  1   |   Logical Unit Number    |              Reserved             | RelAdr |
  2650. -----|-----------------------------------------------------------------------|
  2651.  2   |                           Logical Block Address (if required) (MSB)   |
  2652. -----|-----------------------------------------------------------------------|
  2653.  3   |                           Logical Block Address (if required)         |
  2654. -----|-----------------------------------------------------------------------|
  2655.  4   |                           Logical Block Address (if required)         |
  2656. -----|-----------------------------------------------------------------------|
  2657.  5   |                           Logical Block Address (if required) (LSB)   |
  2658. -----|-----------------------------------------------------------------------|
  2659.  6   |                           Reserved                                    |
  2660. -----|-----------------------------------------------------------------------|
  2661.  7   |                           Reserved                                    |
  2662. -----|-----------------------------------------------------------------------|
  2663.  8   |                           Reserved                                    |
  2664. -----|-----------------------------------------------------------------------|
  2665.  9   |                           Transfer Length (if required) (MSB)         |
  2666. -----|-----------------------------------------------------------------------|
  2667. 10   |                           Transfer Length (if required) (LSB)         |
  2668. -----|-----------------------------------------------------------------------|
  2669. 11   |                           Control Byte                                |
  2670. ==============================================================================
  2671.  
  2672.   6.2.² Logicaì Uniô Number.‚  Thå logicaì uniô numbeò addresseó onå oæ uð t
  2673. eighô physicaì oò virtuaì deviceó attacheä tï á target®  Thió methoä o栍
  2674. addressinç ió provideä foò systemó thaô dï noô implemenô thå IDENTIFÙ message®  
  2675. Á targeô thaô acceptó aî IDENTIFÙ messagå shalì uså thå logicaì uniô numbeò 
  2676. specifieä withiî thå message®  Iî thió case¬ thå targeô shalì ignorå th堍
  2677. logicaì uniô numbeò specifieä withiî thå commanä descriptoò block®  
  2678. (Implementoró noteº  Iô ió á gooä practicå foò initiatoró thaô implemenô th堍
  2679. IDENTIFÙ messagå tï specifù thå samå logicaì uniô numbeò iî thå comman䠍
  2680. descriptoò block.)
  2681.  
  2682.   6.2.³ Logicaì Blocë Address.‚  Thå logicaì blocë addresó oî logicaì unitó 
  2683. shalì begiî witè blocë zerï anä bå contiguouó uð tï thå lasô logicaì blocë o
  2684. thaô logicaì unit.
  2685.  
  2686.   Grouð ° commanä descriptoò blockó contaiî 21-biô logicaì blocë addresses®  
  2687. Groupó ± anä µ commanä descriptoò blockó contaiî 32-biô logicaì bloc렍
  2688. addresses.
  2689.  
  2690.   Thå logicaì blocë concepô implieó thaô thå initiatoò anä targeô shalì hav堍
  2691. previouslù establisheä thå numbeò oæ datá byteó peò logicaì block®  Thió maù 
  2692. bå establisheä througè thå uså oæ thå REAÄ CAPACITÙ commanä oò thå MODÅ SENSÅ 
  2693. commanä oò bù prioò arrangement.
  2694. .paŠ  6.2.´ Relativå Addresó Bit.‚  Thå relativå addresó (RelAdr© biô oæ th堍
  2695. group± anä grouð µ commandó ió seô tï onå tï indicatå thaô thå logicaì bloc렍
  2696. addresó portioî oæ thå commanä descriptoò blocë ió á two'ó complemenô 
  2697. displacement®  Thió negativå oò positivå displacemenô ió tï bå addeä tï th堍
  2698. logicaì blocë addresó lasô accesseä oî thå logicaì uniô tï forí thå logica젍
  2699. blocë addresó foò thió command®  Thió featurå ió onlù availablå wheî linkin砍
  2700. commands®  Thå featurå requireó thaô á previouó commanä iî thå linkeä grouð 
  2701. havå accesseä á blocë oæ datá oî thå logicaì unit®  (Foò aî examplå oæ th堍
  2702. operatioî oæ thió function¬ seå Sectioî 6.3.3.)
  2703.  
  2704.   6.2.µ Transfeò Length.‚  Thå transfeò lengtè specifieó thå amounô oæ datá t
  2705. bå transferred¬ usuallù thå numbeò oæ blocks®  Foò severaì commandó th堍
  2706. transfeò lengtè indicateó thå requesteä numbeò oæ byteó tï bå senô aó define䠍
  2707. iî thå commanä description®  Foò theså commandó thå transfeò lengtè fielä maù 
  2708. bå identifieä bù á differenô name®  Seå thå followinç descriptionó anä th堍
  2709. individuaì commanä descriptionó foò furtheò information.
  2710.  
  2711.   Commandó thaô uså onå bytå foò transfeò lengtè allo÷ uð tï 25¶ blockó o栍
  2712. datá tï bå transferreä bù onå command®  Á transfeò lengtè valuå oæ ± tï 25µ 
  2713. indicateó thå numbeò oæ blockó thaô shalì transferred®  Á valuå oæ zer
  2714. indicateó 25¶ blocks.
  2715.  
  2716.   Commandó thaô uså twï byteó foò transfeò lengtè allo÷ uð tï 65,53µ blockó o栍
  2717. datá tï bå transferreä bù onå command®  Iî thió case¬ á transfeò lengtè o栍
  2718. zerï indicateó thaô nï datá transfeò shalì takå place®  Á valuå oæ ± tï 65,53µ 
  2719. indicateó thå numbeò oæ blockó thaô shalì bå transferred® 
  2720.  
  2721.   Foò severaì commandó morå thaî twï byteó arå allocateä foò transfeò length®  
  2722. Refeò tï thå specifiã commanä descriptioî foò furtheò information.
  2723.  
  2724.   Thå transfeò lengtè oæ thå commandó thaô arå useä tï senä á lisô o栍
  2725. parameteró tï á targeô ió calleä thå parameteò lisô length®  Thå parameteò 
  2726. lisô lengtè specifieó thå numbeò oæ byteó senô durinç thå DATÁ OUÔ phase.
  2727.  
  2728.   Thå transfeò lengtè oæ thå commandó thaô arå useä tï returî senså datá (e.g® 
  2729. REQUESÔ SENSE¬ INQUIRY¬ MODÅ SENSE¬ etc© tï aî initiatoò ió calleä th堍
  2730. allocatioî length®  Thå allocatioî lengtè specifieó thå numbeò oæ byteó thaô 
  2731. thå initiatoò haó allocateä foò returneä data®  Thå targeô shalì terminatå th堍
  2732. DATÁ IΠphaså wheî allocatioî lengtè byteó havå beeî transferreä oò wheî al젍
  2733. availablå senså datá havå beeî transferreä tï thå initiator¬ whicheveò ió 
  2734. less.
  2735.  
  2736.   6.2.¶ Controì Byte.‚  Thå controì bytå ió thå lasô bytå oæ everù comman䠍
  2737. descriptoò block®  Á typicaì controì bytå ió describeä iî Tablå 6-5.
  2738. .paŠ                                  Table 6-5
  2739.                                  Control Byte
  2740.  
  2741. ==============================================================================
  2742.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  2743. Byte |        |        |        |        |        |        |        |        |
  2744. ==============================================================================
  2745. Last | Vendor unique   |            Reserved               |  Flag  |  Link  |
  2746. ==============================================================================
  2747.  
  2748.  Bit    Description
  2749. -----   ----------------------------------------------------------------------
  2750. 7 _ 6   Vendor unique
  2751.  
  2752. 5 _ 2   Reserved
  2753.  
  2754.   1     Flaç biô - Iæ thå linë biô ió zero¬ theî thå flaç biô shalì bå seô t
  2755.         zero®  Iæ thå linë biô ió one¬ anä iæ thå commanä terminateó 
  2756.         successfully¬ thå targeô shalì senä LINKEÄ COMMANÄ COMPLETÅ messagå i栍
  2757.         thå flaç biô ió zerï anä shalì senä LINKEÄ COMMANÄ COMPLETÅ (WITÈ 
  2758.         FLAG© messagå iæ thå flaç biô ió one®  Typically¬ thió biô ió useä t
  2759.         causå aî interrupô iî thå initiatoò betweeî linkeä commands.
  2760.  
  2761.   0     Linë biô - Thió biô ió seô tï onå tï indicatå thaô thå initiatoò 
  2762.         desireó aî automatiã linë tï thå nexô commanä upoî successfu젍
  2763.         completioî oæ thå currenô command®  Implementatioî oæ linkeä commandó 
  2764.         ió optional®  Iæ thå linë biô ió one¬ targetó that implemenô linke䠍
  2765.         commands¬ upoî successfuì terminatioî oæ thå command¬ shalì retur
  2766.         INTERMEDIATÅ statuó anä shalì theî senä onå oæ thå twï messageó 
  2767.         defineä bù thå flaç biô (above).
  2768.  
  2769.         Targetó that dï noô implemenô linkeä commandó shalì returî a CHECË 
  2770.         CONDITIOΠstatuó and¬ iæ extendeä senså ió implemented¬ shalì seô th堍
  2771.         senså keù tï ILLEGAÌ REQUESÔ iæ eitheò oæ thå linë anä flaç bitó ar堍
  2772.         seô tï one.
  2773.  
  2774. 6.3 Command Examples
  2775.  
  2776.   6.3.± Singlå Commanä Example.‚  Á typicaì operatioî oî thå SCSÉ buó ió likelù 
  2777. tï includå á singlå REAÄ commanä tï á peripheraì device®  Thió operatioî ió 
  2778. describeä iî detaiì startinç witè á requesô froí thå initiator®  Thió exampl堍
  2779. assumeó thaô nï linkeä commandó anä nï malfunctionó oò erroró occur.
  2780.  
  2781.   Thå initiatoò haó activå pointeró anä á seô oæ storeä pointeró representin砍
  2782. activå disconnecteä SCSÉ deviceó (aî initiatoò withouô disconnecô capabilitù 
  2783. doeó noô requirå storeä pointers)®  Thå initiatoò setó uð thå activå pointeró 
  2784. foò thå operatioî requested¬ arbitrateó foò thå SCSÉ bus¬ anä selectó th堍
  2785. target®  Oncå thió procesó ió completed¬ thå targeô assumeó controì oæ th堍
  2786. operation.
  2787.  
  2788.   Thå targeô obtainó thå commanä froí thå initiatoò (iî thió caså, á REAÄ 
  2789. command)®  Thå targeô interpretó thå commanä anä executeó it®  Iî thió case¬ 
  2790. thå targeô getó thå datá froí thå peripheraì devicå anä sendó iô tï th堍
  2791. initiator®  Aô thå completioî oæ thå REAÄ command¬ thå targeô sendó á statuó 
  2792. bytå tï thå initiator®  Tï enä thå operation¬ thå targeô sendó á COMMANÄ 
  2793. COMPLETÅ messagå tï thå initiator.Š
  2794.   6.3.² Disconnecô Example.‚  Iî thå abovå singlå commanä example¬ thå lengt蠍
  2795. oæ timå necessarù tï obtaiî thå datá maù requirå á time-consuminç physica젍
  2796. seek®  Iî ordeò tï improvå systeí throughput¬ thå targeô maù disconnecô froí 
  2797. thå initiator¬ freeinç thå SCSÉ buó tï allo÷ otheò requestó tï bå senô t
  2798. otheò logicaì units®  Tï dï this¬ thå initiatoò needó tï bå reselectablå an䠍
  2799. capablå oæ restorinç thå pointeró upoî reconnection®  Thå targeô needó tï b堍
  2800. capablå oæ arbitratinç foò thå SCSÉ buó anä reselectinç thå initiator.
  2801.  
  2802.   Afteò thå targeô haó receiveä thå REAÄ commanä (anä haó determineä thaô 
  2803. therå wilì bå á delay)¬ iô disconnectó bù sendinç á DISCONNECÔ messagå an䠍
  2804. releasinç BSY.
  2805.  
  2806.   Wheî thå datá arå readù tï bå transferred¬ thå targeô reconnectó tï th堍
  2807. initiator®  Aó á resulô oæ thió reconnection¬ thå initiatoò restoreó th堍
  2808. pointeró tï theiò mosô recenô saveä valueó (which¬ iî thió case¬ arå th堍
  2809. initiaì values© anä thå targeô continueó (aó iî thå singlå commanä example© t
  2810. finisè thå operation®  Thå initiatoò recognizeó thaô thå operatioî ió complet堍
  2811. wheî COMMANÄ COMPLETÅ messagå ió received.
  2812.  
  2813.   Iæ targeô wisheó tï disconnecô afteò transferrinç parô oæ thå datá (e.g.¬ 
  2814. whilå crossinç á cylindeò boundary)¬ iô maù dï sï bù sendinç á SAVÅ DATÁ 
  2815. POINTEÒ messagå anä á DISCONNECÔ messagå tï thå initiatoò anä the
  2816. disconnecting®  Wheî reconnectioî ió completed¬ thå currenô datá pointeò valu堍
  2817. ió restoreä tï itó valuå immediatelù prioò tï thå SAVÅ DATÁ POINTEÒ message.
  2818.  
  2819.   Oî thoså occasionó wheî aî erroò oò exceptioî conditioî occuró anä th堍
  2820. targeô electó tï repeaô thå informatioî transfer¬ thå targeô maù repeaô th堍
  2821. transfeò bù eitheò issuinç á RESTORÅ POINTERÓ messagå oò bù disconnectin砍
  2822. withouô issuinç á SAVÅ DATÁ POINTEÒ message®  Wheî reconnectioî ió completed¬ 
  2823. thå mosô recenô saveä pointeò valueó arå restored.
  2824.  
  2825.   6.3.³ Linkeä Commanä Example.‚  Thå linë functioî defineó á relationshið 
  2826. betweeî commandó thaô wheî combineä witè thå relativå addresó bit¬ allowó 
  2827. previouó operationó tï modifù subsequenô operations®  Linë makeó high-
  2828. performancå functionó possiblå bù providinç á relativå addressinç capabilitù 
  2829. anä allowinç multiplå commanä executioî withouô invokinç thå functiona젍
  2830. componenô oæ thå initiator.
  2831.  
  2832.   Iæ thå desireä datá addresó (iî thå previouslù describeä REAÄ comman䠍
  2833. example© ió unknown¬ buô á searcè keù defineä aó somå particulaò byteó oæ á 
  2834. fielä ió known¬ theî bù linkinç thå REAÄ commanä tï á SEARCÈ DATÁ EQUAÌ 
  2835. command¬ thå datá caî bå quicklù anä effectivelù transferreä tï thå initiator® 
  2836.  
  2837.   Á LINKEÄ COMMANÄ COMPLETÅ messagå ió senô froí thå targeô tï thå initiatoò 
  2838. tï indicatå linkeä commanä completion®  Thå initiatoò theî updateó thå store䠍
  2839. pointeró sï thaô subsequenô requestó froí thå targeô wilì referencå thå nexô 
  2840. commanä oæ thå chain®  Commanä processinç oæ linkeä anä singlå commandó ió 
  2841. simulaò excepô thaô relativå addressinç ió permitteä iî linkeä commands®  
  2842. Linkeä commandó shalì bå addresseä tï á singlå logicaì unit.
  2843.  
  2844.   Foò example¬ thå successfuì completioî oæ á SEARCÈ DATÁ EQUAÌ commanä causeó 
  2845. thå targeô tï fetcè thå linkeä REAÄ commanä froí thå initiator®  Iæ th堍
  2846. relativå addresó biô iî thå REAÄ commanä haó beeî seô tï one¬ anä thå addresó 
  2847. fielä oæ thå REAÄ commanä ió seô tï zero¬ thå targeô transferó th堍
  2848. successfullù searcheä blocë tï thå initiator® Š.. To set ruler line, position cursor on the next line and type ^OF--!--!--!--!--!--!--!--!--!--!--!--!-----------------------------------------!
  2849. .fo Section 7                            #
  2850. 7. Command Descriptions for All Device Types
  2851.  
  2852. 7.± Grouð ° Commandó foò Alì Devicå Types.‚  Theså commandó shalì bå aó liste䠍
  2853. iî Tablå 7-1.
  2854.  
  2855.                                   Table 7-1
  2856.                  Group 0 Common Commands for All Device Types
  2857.  
  2858. ==============================================================================
  2859. Operation
  2860.   Code      Type   Command Name                       Section
  2861. ------------------------------------------------------------------------------
  2862.    00H–       Ï     TESÔ UNIÔ READÙ                    7.1.1
  2863.    01H       *
  2864.    02H       V
  2865.    03H       M     REQUEST SENSE                      7.1.2
  2866.    04H       *
  2867.    05H       *
  2868.    06H       V
  2869.    07H       *
  2870.    08H       *
  2871.    09H       V
  2872.    0AH       *
  2873.    0BH       *
  2874.    0CH       V
  2875.    0DH       V
  2876.    0EH       V
  2877.    0FH       *
  2878.    10H       *
  2879.    11H       *
  2880.    12H       E     INQUIRY                            7.1.3
  2881.    13H       *
  2882.    14H       *
  2883.    15H       *
  2884.    16H       *
  2885.    17H       *
  2886.    18H       O     COPY                               7.1.4
  2887.    19H       *
  2888.    1AH       *
  2889.    1BH       *
  2890.    1CH       O     RECEIVE DIAGNOSTIC RESULTS         7.1.5
  2891.    1DH       O     SEND DIAGNOSTIC                    7.1.6
  2892.    1EH       *
  2893.    1FH       R
  2894. ==============================================================================
  2895.  
  2896. Key: M  =  Command implementation is mandatory.
  2897.      E  =  Commanä implementatioî ió requireä foò SCSÉ deviceó thaô supporô 
  2898.            device-independenô self-configurinç software.
  2899.      O  =  Command implementatioî is optional.
  2900.      R  =  Operation code is reserved for future standardization.
  2901.      V  =  Operation code is available for vendor unique commands.
  2902.      *  =  Theså operatioî codeó maù havå differenô meaningó foò specifi㠍
  2903.            typeó oæ peripheraì devices®  (Seå thå appropriatå sectioî foò 
  2904.            furtheò information.)
  2905. .paŠ  7.1.1 TEST UNIT READY Command
  2906.  
  2907.      Peripheral Device Type:  All
  2908.         Operation Code Type:  Optional
  2909.              Operation Code:  00H
  2910.  
  2911.                                   Table 7-2
  2912.                            TEST UNIT READY Command
  2913.  
  2914. ==============================================================================
  2915.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  2916. Byte |        |        |        |        |        |        |        |        |
  2917. ==============================================================================
  2918.  0   |                           Operation Code                              | 
  2919. -----|-----------------------------------------------------------------------|
  2920.  1   | Logical Unit Number      |                  Reserved                  |
  2921. -----|-----------------------------------------------------------------------|
  2922.  2   |                           Reserved                                    |
  2923. -----|-----------------------------------------------------------------------|
  2924.  3   |                           Reserved                                    |
  2925. -----|-----------------------------------------------------------------------|
  2926.  4   |                           Reserved                                    |
  2927. -----|-----------------------------------------------------------------------|
  2928.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  2929. ==============================================================================
  2930.  
  2931.   Thå TESÔ UNIÔ READÙ commanä (Tablå 7-2© provideó á meanó tï checë iæ th堍
  2932. logicaì uniô ió ready®  Thió ió noô á requesô foò á selæ test®  Iæ thå logica젍
  2933. uniô woulä accepô aî appropriatå medium-accesó commanä withouô returninç CHECË 
  2934. CONDITIOΠstatus¬ this commanä shalì return á GOOÄ status®
  2935.  
  2936.   7.1.2 REQUEST SENSE Command
  2937.  
  2938.      Peripheral Device Type:  All
  2939.         Operation Code Type:  Mandatory
  2940.              Operation Code:  03H
  2941.  
  2942.                                   Table 7-3
  2943.                             REQUEST SENSE Command
  2944.  
  2945. ==============================================================================
  2946.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  2947. Byte |        |        |        |        |        |        |        |        |
  2948. ==============================================================================
  2949.  0   |                           Operation Code                              | 
  2950. -----|-----------------------------------------------------------------------|
  2951.  1   | Logical Unit Number      |                  Reserved                  |
  2952. -----|-----------------------------------------------------------------------|
  2953.  2   |                           Reserved                                    |
  2954. -----|-----------------------------------------------------------------------|
  2955.  3   |                           Reserved                                    |
  2956. -----|-----------------------------------------------------------------------|
  2957.  4   |                           Allocation Length                           |
  2958. -----|-----------------------------------------------------------------------|
  2959.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  2960. ==============================================================================Š  Thå REQUESÔ SENSÅ commanä (Tablå 7-3© requestó thaô thå targeô transfeò 
  2961. senså datá tï thå initiator.
  2962.  
  2963.   Thå senså datá shalì bå valiä foò á CHECË CONDITIOΠstatuó returneä oî th堍
  2964. prioò command®  Thió senså datá shalì bå preserveä bù thå targeô foò th堍
  2965. initiatoò untiì retrieveä bù thå REQUESÔ SENSÅ commanä oò untiì thå receipô o栍
  2966. anù otheò commanä foò thå samå logicaì uniô froí thå initiatoò thaô issueä th堍
  2967. commanä resultinç iî thå CHECË CONDITIOΠstatus®  Senså datá shalì bå cleare䠍
  2968. upoî receipô oæ anù subsequenô commanä tï thå logicaì uniô froí thå initiatoò 
  2969. receivinç thå CHECË CONDITIOΠstatus®  Iî thå caså oæ thå singlå initiatoò 
  2970. optioî (seå 5.1.3.4)¬ thå targeô shalì assumå thaô thå REQUESÔ SENSÅ comman䠍
  2971. ió froí thå samå initiator.
  2972.  
  2973.   Thå allocatioî lengtè specifieó thå numbeò oæ byteó thaô thå initiatoò haó 
  2974. allocateä foò returneä senså data®  Aî allocatioî lengtè oæ zerï indicateó 
  2975. thaô fouò byteó oæ senså datá shalì bå transferred®  Anù otheò valuå indicateó 
  2976. thå maximuí numbeò oæ byteó thaô shalì bå transferred®  Thå targeô shal젍
  2977. terminatå thå DATÁ IΠphaså wheî allocatioî lengtè byteó havå beeî transferre䠍
  2978. oò wheî alì availablå senså datá havå beeî transferreä tï thå initiator¬ 
  2979. whicheveò ió less.
  2980.  
  2981.   Thå REQUESÔ SENSÅ commanä shalì returî thå CHECË CONDITIOΠstatuó onlù t
  2982. reporô fataì erroró foò the REQUEST SENSE command®  Foò example:
  2983.  
  2984.   (1© Thå targeô receiveó á nonzerï reserveä biô iî thå commanä descriptoò 
  2985. block.
  2986.   (2) An unrecovered parity error occurs on the DATA BUS. 
  2987.   (3) A target malfunction prevents return of the sense data.
  2988.  
  2989. Iæ anù nonfataì error occuòs durinç thå executioî oæ thå REQUESÔ SENSÅ 
  2990. command¬ thå targeô shalì returî thå senså datá witè GOOÄ status.
  2991.  
  2992.   Followinç á fataì erroò oî á REQUESÔ SENSÅ command¬ senså datá maù b堍
  2993. invalid® 
  2994.  
  2995.   Á targeô maù implemenô thå nonextended¬ thå extended¬ oò botè senså dat᠍
  2996. formats®  (Implementoró noteº  Targetó thaô implemenô botè senså datá formató 
  2997. maù selecô thå nonextendeä senså datá formaô iî responså tï aî allocatio
  2998. lengtè oæ zero®  Otheò methodó oæ selectioî arå alsï feasible.)
  2999.  
  3000.      7.1.2.± Nonextendeä Sense.‚  Thå formaô oæ thå senså datá ió determineä bù 
  3001. thå erroò class®   Erroò classeó ° througè ¶ uså thå nonextendeä senså dat᠍
  3002. formaô (Tablå 7-4)®  Erroò clasó · ió describeä iî Sectioî 7.1.2.2.
  3003. .paŠ                                  Table 7-4
  3004.                         Nonextended Sense Data Format
  3005.  
  3006. ==============================================================================
  3007.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  3008. Byte |        |        |        |        |        |        |        |        |
  3009. ==============================================================================
  3010.  0   | AdValid|        Error Class       |        Error Code                 |
  3011. -----|-----------------------------------------------------------------------|
  3012.  1   | Vendor Unique            |Logical Block Address (MSB)                 |
  3013. -----|-----------------------------------------------------------------------|
  3014.  2   |                           Logical Block Address                       |
  3015. -----|-----------------------------------------------------------------------|
  3016.  3   |                           Logical Block Address (LSB)                 |
  3017. ==============================================================================
  3018.  
  3019.   Thå addresó valiä (AdValid© biô indicateó thaô thå logicaì blocë addresó 
  3020. fielä containó valiä informatioî relateä tï thå erroò code.
  3021.  
  3022.   Thå erroò clasó specifieó á clasó oæ erroró witè erroò classeó ° througè ¶ 
  3023. beinç vendoò unique®  For these classes, thå erroò codå is vendoò uniquå.
  3024.  
  3025.      7.1.2.² Extendeä Sense.‚  Erroò clasó · specifieó extendeä sense®  Erroò 
  3026. codå zerï specifieó thå extendeä senså datá format®  Erroò codå FH– specifieó á 
  3027. vendoò uniquå datá formaô foò extendeä sense®  Erroò codeó 1H– througè EH– ar堍
  3028. reserved.
  3029.  
  3030.   The extended sense data format is shown in Table 7-5.
  3031.  
  3032.                                   Table 7-5
  3033.                           Extended Sense Data Format
  3034.  
  3035. ==============================================================================
  3036.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  3037. Byte |        |        |        |        |        |        |        |        |
  3038. ==============================================================================
  3039.  0   | Valid  |   Error Class (7)        |         Error Code (0)            |
  3040. -----|-----------------------------------------------------------------------|
  3041.  1   |                           Segment Number                              |
  3042. -----|-----------------------------------------------------------------------|
  3043.  2   |Filemark|  EOM   |  ILI   |Reserved|         Sense Key                 |
  3044. -----|-----------------------------------------------------------------------|
  3045.  3   |                           Information Byte (MSB)                      |
  3046. -----|-----------------------------------------------------------------------|
  3047.  4   |                           Information Byte                            |
  3048. -----|-----------------------------------------------------------------------|
  3049.  5   |                           Information Byte                            |
  3050. -----|-----------------------------------------------------------------------|
  3051.  6   |                           Information Byte (LSB)                      |
  3052. -----|-----------------------------------------------------------------------|
  3053.  7   |                           Additional Sense Length (n)                 |
  3054. -----|-----------------------------------------------------------------------|
  3055.  8 _ |                           Additional Sense Bytes                      |
  3056.  n+7 |                                                                       |
  3057. ==============================================================================
  3058. Š  Thå informatioî byteó arå noô defineä iæ thå valiä biô ió zero®  Iæ th堍
  3059. valiä biô ió one¬ thå informatioî byteó contaiî valiä informatioî aó follows:
  3060.  
  3061.   (1© Thå unsigneä logicaì blocë addresó associateä witè thå senså key¬ foò 
  3062. direct-accesó deviceó (Typå 0)¬ write-oncå read-multiplå deviceó (Typå 4)¬ an䠍
  3063. read-onlù direct-accesó deviceó (Typå 5).
  3064.  
  3065.   (2© Thå differencå (residue© oæ thå requesteä lengtè minus thå actuaì lengt蠍
  3066. iî eitheò byteó oò blocks¬ aó determineä bù thå command, foò sequential-accesó 
  3067. deviceó (Typå 1)¬ printeò deviceó (Typå 2)¬ anä processoò deviceó (Typå 3)®  
  3068. (Negativå valueó arå indicateä bù two'ó complemenô notation.)
  3069.  
  3070.   (3© Thå differencå (residue© oæ thå requesteä numbeò oæ blockó minus the
  3071. actuaì numbeò oæ blockó copieä oò compareä foò thå currenô segmenô descriptoò 
  3072. of a COPY, COMPARE, or COPY AND VERIFY command.
  3073.  
  3074.   Thå segmenô numbeò containó thå numbeò oæ thå currenô segmenô descriptoò i栍
  3075. thå extendeä senså ió iî responså tï á COPY¬ COMPARE¬ oò COPÙ ANÄ VERIFÙ 
  3076. command®  Uð tï 25¶ segmentó arå supporteä beginninç witè segmenô zero.
  3077.  
  3078.   Thå filemarë biô indicateó thaô thå currenô commanä haó reaä á filemark®  
  3079. Thió biô ió onlù useä foò sequential-accesó devices.
  3080.  
  3081.   Thå end-of-mediuí (EOM© biô indicateó thaô aî end-of-mediuí conditioî (end-
  3082. of-tape¬ beginning-of-tape¬ out-of-paper¬ etc© existó oî á sequentiaì accesó 
  3083. devicå oò printeò device®  Foò sequential-accesó devices¬ thió biô indicateó 
  3084. thaô thå uniô ió aô oò pasô thå early-warninç end-of-tapå iæ thå directioî waó 
  3085. forwarä oò thaô thå commanä coulä noô bå completeä becauså beginning-of-tap堍
  3086. waó encountereä iæ thå directioî waó reverse®  Direct-accesó deviceó shalì noô 
  3087. uså thió bit» instead¬ theså deviceó shalì reporô attemptó tï accesó beyon䠍
  3088. thå end-of-mediuí aó ILLEGAÌ REQUESÔ senså keù (seå Tablå 7-6).
  3089.  
  3090.   Thå incorrecô lengtè indicatoò (ILI© biô indicateó thaô thå requeste䠍
  3091. logicaì blocë lengtè diä noô matcè thå logicaì blocë lengtè oæ thå datá oî th堍
  3092. medium.
  3093.  
  3094.   The sense keys are described in Tables 7-6 and 7-7.
  3095.  
  3096.   Thå additionaì senså lengtè specifieó thå numbeò oæ additionaì senså byteó 
  3097. tï follow®  Iæ thå allocatioî lengtè oæ thå commanä descriptoò blocë ió to
  3098. smalì tï transfeò alì oæ thå additionaì senså bytes¬ thå additionaì sens堍
  3099. lengtè ió noô adjusteä tï reflecô thå truncation.
  3100.  
  3101.   Thå additionaì senså byteó contaiî command-specific¬ peripheral-device-
  3102. specifiã data¬ oò botè kindó oæ datá thaô furtheò definå thå naturå oæ th堍
  3103. CHECË CONDITIOΠstatus®  Thå COPY¬ COMPARE¬ COPÙ ANÄ VERIFY¬ anä SEARCÈ DATÁ 
  3104. commandó definå á standarä purposå foò somå oæ theså bytes®  Excepô aó 
  3105. describeä iî theså commands¬ thå additionaì senså byteó arå vendoò unique.
  3106. .paŠ                                  Table 7-6
  3107.                         Senså Keù (0H-7H) Descriptions
  3108.  
  3109. ==============================================================================
  3110. Sense Key  Description
  3111. ---------  -------------------------------------------------------------------
  3112.    0H      NÏ SENSE®  Indicateó thaô therå ió nï specifiã senså keù 
  3113.            informatioî tï bå reporteä foò thå designateä logicaì unit®  Thió 
  3114.            woulä bå thå caså foò á successfuì commanä oò á commanä thaô 
  3115.            receiveä á CHECË CONDITIOΠstatuó becauså onå oæ thå filemark¬ EOÍ, 
  3116.            oò ILÉ bitó ió seô tï one.
  3117.  
  3118.    1H      RECOVEREÄ ERROR®  Indicateó thaô thå lasô commanä complete䠍
  3119.            successfullù witè somå recoverù actioî performeä bù thå target®  
  3120.            Detailó maù bå determinablå bù examininç thå additionaì senså byteó 
  3121.            anä thå informatioî bytes.
  3122.  
  3123.    2H      NOÔ READY®  Indicateó thaô thå logicaì uniô addresseä cannoô b堍
  3124.            accessed®  Operatoò interventioî maù bå requireä tï correcô thió 
  3125.            condition.
  3126.  
  3127.    3H      MEDIUÍ ERROR®  Indicateó thaô thå commanä terminateä witè á 
  3128.            nonrecovereä erroò conditioî thaô waó probablù causeä bù á fla÷ i
  3129.            thå mediuí oò aî erroò iî thå recordeä data.
  3130.  
  3131.    4H      HARDWARÅ ERROR®  Indicateó thaô thå targeô detecteä á 
  3132.            nonrecoverablå hardwarå failurå (foò example¬ controlleò failure¬ 
  3133.            devicå failure¬ paritù error¬ etc© whilå performinç thå commanä oò 
  3134.            durinç á selæ test.
  3135.  
  3136.    5H      ILLEGAÌ REQUEST®  Indicateó thaô therå waó aî illegaì parameteò i
  3137.            thå commanä descriptoò blocë oò iî thå additionaì parameteró 
  3138.            supplieä aó datá foò somå commandó (FORMAÔ UNIT¬ SEARCÈ DATA¬ etc)®  
  3139.            Iæ thå targeô detectó aî invaliä parameteò iî thå comman䠍
  3140.            descriptoò block¬ theî iô shalì terminatå thå commanä withouô 
  3141.            alterinç thå medium®  Iæ thå targeô detectó aî invaliä parameteò i
  3142.            thå additionaì parameteró supplieä aó data¬ theî thå targeô maù 
  3143.            havå alreadù altereä thå medium.
  3144.  
  3145.    6H      UNIÔ ATTENTION®  Indicateó thaô thå removablå mediuí maù havå bee
  3146.            changeä oò thå targeô haó beeî reset®  Seå 6.1.³ foò morå detaile䠍
  3147.            information about the unit attention condition.
  3148.  
  3149.    7H      DATÁ PROTECT®  Indicateó thaô á commanä thaô readó oò writeó th堍
  3150.            mediuí waó attempteä oî á blocë thaô ió protecteä froí thió 
  3151.            operation®  Thå reaä oò writå operatioî ió noô performed.
  3152. ==============================================================================
  3153. .paŠ                                  Table 7-7
  3154.                         Senså Keù (8H-FH) Descriptions
  3155.  
  3156. ==============================================================================
  3157. Sense Key  Description
  3158. ---------  -------------------------------------------------------------------
  3159.    8H      BLANË CHECK®  Indicateó thaô á write-oncå read-multiplå devicå oò á 
  3160.            sequential-accesó devicå encountereä á blanë blocë whilå readinç oò 
  3161.            á write-oncå read-multiplå devicå encountereä á nonblanë bloc렍
  3162.            whilå writing.
  3163.  
  3164.    9H      Vendoò unique®  Thió senså keù ió availablå foò reportinç vendoò 
  3165.            uniquå conditions.
  3166.  
  3167.    AH      COPÙ ABORTED®  Indicateó á COPY¬ COMPARE¬ oò COPÙ ANÄ VERIFÙ 
  3168.            commanä waó aborteä duå tï aî erroò conditioî oî thå sourcå device¬ 
  3169.            thå destinatioî device¬ oò both®  (Seå 7.1.´.2 foò additiona젍
  3170.            information about this sense key.)
  3171.  
  3172.    BH      ABORTEÄ COMMAND®  Indicateó thaô thå targeô aborteä thå command®  
  3173.            Thå initiatoò maù bå ablå tï recoveò bù tryinç thå commanä again.
  3174.  
  3175.    CH      EQUAL®  Indicateó á SEARCÈ DATÁ commanä haó satisfieä aî equa젍
  3176.            comparison.
  3177.  
  3178.    DH      VOLUMÅ OVERFLOW®  Indicateó thaô á buffereä peripheraì devicå haó 
  3179.            reacheä thå end-of-mediuí anä datá remainó iî thå buffeò thaô haó 
  3180.            noô beeî writteî tï thå medium®  Á RECOVEÒ BUFFEREÄ DATÁ command(s© 
  3181.            maù bå issueä tï reaä thå unwritteî datá froí thå buffer.
  3182.  
  3183.    EH      MISCOMPARE®  Indicateó thaô thå sourcå datá diä noô matcè thå dat᠍
  3184.            reaä froí thå medium.
  3185.  
  3186.    FH      This sense key is reserved.
  3187. ==============================================================================
  3188. .paŠ7.1.3 INQUIRY Command
  3189.  
  3190.      Peripheral Device Type:  All
  3191.         Operation Code Type:  Extended
  3192.              Operation Code:  12H
  3193.  
  3194.                                   Table 7-8
  3195.                                INQUIRY Command
  3196.  
  3197. ==============================================================================
  3198.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  3199. Byte |        |        |        |        |        |        |        |        |
  3200. ==============================================================================
  3201.  0   |                           Operation Code                              | 
  3202. -----|-----------------------------------------------------------------------|
  3203.  1   | Logical Unit Number      |                  Reserved                  |
  3204. -----|-----------------------------------------------------------------------|
  3205.  2   |                           Reserved                                    |
  3206. -----|-----------------------------------------------------------------------|
  3207.  3   |                           Reserved                                    |
  3208. -----|-----------------------------------------------------------------------|
  3209.  4   |                           Allocation Length                           |
  3210. -----|-----------------------------------------------------------------------|
  3211.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  3212. ==============================================================================
  3213.  
  3214.   Thå INQUIRÙ commanä (Tablå 7-8© requestó thaô informatioî regardin砍
  3215. parameteró oæ thå targeô anä itó attacheä peripheraì device(s© bå senô tï th堍
  3216. initiator.
  3217.  
  3218.   Thå allocatioî lengtè specifieó thå numbeò oæ byteó thaô thå initiatoò haó 
  3219. allocateä foò returneä INQUIRY data®  Aî allocatioî lengtè oæ zerï indicateó 
  3220. thaô nï INQUIRY datá shalì bå transferred®  Thió conditioî shalì noô b堍
  3221. considereä aó aî error®  Anù otheò valuå indicateó thå maximuí numbeò oæ byteó 
  3222. thaô shalì bå transferred®  Thå targeô shalì terminatå thå DATÁ IΠphaså whe
  3223. allocatioî lengtè byteó havå beeî transferreä oò wheî alì availablå INQUIRY 
  3224. datá have beeî transferreä tï thå initiator, whichever is less®
  3225.  
  3226.   Thå INQUIRÙ commanä shalì returî á CHECË CONDITIOΠstatuó onlù wheî th堍
  3227. targeô cannoô returî thå requesteä INQUIRÙ data®  (Implementoró noteº  Iô ió 
  3228. recommendeä thaô thå INQUIRÙ datá bå returneä eveî thougè thå periphera젍
  3229. devicå maù noô bå readù foò otheò commands.)
  3230.  
  3231.   Iæ aî INQUIRÙ commanä ió receiveä froí aî initiatoò witè á pendinç uniô 
  3232. attentioî conditioî (beforå thå targeô reportó CHECË CONDITIOΠstatus)¬ th堍
  3233. targeô shalì perforí thå INQUIRÙ commanä anä shalì noô cleaò thå uniô 
  3234. attentioî condition.  (See 6.1.3.)
  3235.  
  3236.   Thå INQUIRÙ datá (Tablå 7-9© containó á fivå bytå header¬ followeä bù th堍
  3237. vendoò uniquå parameters¬ iæ any®
  3238. .paŠ                                  Table 7-9
  3239.                                  INQUIRÙ Data
  3240.  
  3241. ==============================================================================
  3242.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  3243. Byte |        |        |        |        |        |        |        |        |
  3244. ==============================================================================
  3245.  0   |                           Peripheral Device Type                      | 
  3246. -----|-----------------------------------------------------------------------|
  3247.  1   |  RMB   |                  Device-Type Qualifier                       |
  3248. -----|-----------------------------------------------------------------------|
  3249.  2   |   ISO Version   |       ECMA Version       |       ANSI Version       |
  3250. -----|-----------------------------------------------------------------------|
  3251.  3   |                           Reserved                                    |
  3252. -----|-----------------------------------------------------------------------|
  3253.  4   |                           Additional Length (n)                       |
  3254. ==============================================================================
  3255.      |                       Vendor Unique Parameters                        |
  3256. ==============================================================================
  3257. 5 _  |                           Vendor Unique                               |
  3258. n+4  |                           Parameter Bytes                             |
  3259. ==============================================================================
  3260.  
  3261. The peripheral device type is shown in Table 7-10.
  3262.  
  3263.                                   Table 7-10
  3264.                             Peripheral Device Type
  3265.  
  3266. ==============================================================================
  3267.   Code         Description
  3268. ------------------------------------------------------------------------------
  3269.   00H          Direct-access device (e.g., magnetic disk)
  3270.   01H          Sequential-access device (e.g., magnetic tape)
  3271.   02H          Printer device
  3272.   03H          Processor device
  3273.   04H          Write-once read-multiple device (e.g., some optical disks)
  3274.   05H          Read-only direct-access device (e.g., some optical disks)
  3275.   06H _ 7EH    Reserved
  3276.   7FH          Logical unit not present
  3277.   80H _ FFH    Vendor unique
  3278. ==============================================================================
  3279.  
  3280.   Á removablå mediuí (RMB© biô oæ zerï indicateó thaô thå mediuí ió noô 
  3281. removable®  Á RM biô oæ onå indicateó thaô thå mediuí ió removable.
  3282.  
  3283.   Thå device-typå qualifieò ió á seveî biô useò specifieä code®  Thió codå maù 
  3284. bå seô witè switcheó oò bù somå otheò meanó bù thå targeô oò periphera젍
  3285. device®   SCSÉ deviceó thaô dï noô supporô thió featurå shalì returî alì zer
  3286. bits®  Thió featurå allowó eacè useò tï assigî uniquå codeó tï eacè specifi㠍
  3287. typå oæ peripheraì devicå thaô ió supporteä oî thå systeí beinç used®  Thes堍
  3288. codeó maù theî bå useä bù self-configurinç softwarå tï determinå whaô specifi㠍
  3289. peripheraì devicå ió aô eacè logicaì uniô number®  Thió ió especiallù valuabl堍
  3290. foò systemó thaô supporô multiplå typeó oæ removablå medium.
  3291.  
  3292.   Thå usagå oæ nonzerï codå valueó iî thå ISÏ versioî anä ECMÁ versioî fieldó 
  3293. arå defineä bù thå Internationaì Standardó Organizatioî anä thå EuropeaŠComputeò Manufactureró Association¬ respectively®  Á zerï codå valuå iî thes堍
  3294. fieldó shalì indicatå thaô thå targeô doeó noô claií compliancå tï thå ISÏ oò 
  3295. ECMÁ versionó oæ SCSI®  Notå thaô iô ió possiblå tï claií compliancå tï mor堍
  3296. than one of these SCSI standards.
  3297.  
  3298.   Thå ANSÉ versioî indicateó thå implementeä versioî oæ thió standarä anä ió 
  3299. defineä aó showî iî Tablå 7-11.
  3300.  
  3301.                                   Table 7-11
  3302.                                  ANSI Version
  3303.  
  3304. ==============================================================================
  3305.   Code        Description
  3306. ------------------------------------------------------------------------------
  3307.    0H         Versioî ió unspecified®  (Uså thió codå iæ yoõ arå implementin砍
  3308.               to this document - it is not published, yet.)
  3309.    1H         Thió version®  Thió codå shalì bå useä bù SCSÉ deviceó thaô 
  3310.               claií tï complù witè thió standarä (upoî ANSÉ publication)
  3311.    2H _ 7H    Reserved
  3312. ==============================================================================
  3313.  
  3314.   Thå additionaì lengtè shalì specifù thå lengtè iî byteó oæ thå vendoò uniqu堍
  3315. parameters®  Iæ thå allocatioî lengtè oæ thå commanä descriptoò blocë ió to
  3316. smalì tï transfeò alì oæ thå vendoò uniquå parameters¬ thå additionaì lengt蠍
  3317. shall noô be adjusteä tï reflecô thå truncation.
  3318.  
  3319.   7.1.4 COPY Command
  3320.  
  3321.      Peripheral Device Type:  All
  3322.         Operation Code Type:  Optional
  3323.              Operation Code:  18H
  3324.  
  3325.                                   Table 7-12
  3326.                                  COPY Command
  3327.  
  3328. ==============================================================================
  3329.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  3330. Byte |        |        |        |        |        |        |        |        |
  3331. ==============================================================================
  3332.  0   |                           Operation Code                              | 
  3333. -----|-----------------------------------------------------------------------|
  3334.  1   | Logical Unit Number      |                  Reserved                  |
  3335. -----|-----------------------------------------------------------------------|
  3336.  2   |                           Parameter List Length (MSB)                 |
  3337. -----|-----------------------------------------------------------------------|
  3338.  3   |                           Parameter List Length                       |
  3339. -----|-----------------------------------------------------------------------|
  3340.  4   |                           Parameter List Length (LSB)                 |
  3341. -----|-----------------------------------------------------------------------|
  3342.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  3343. ==============================================================================
  3344.  
  3345.   Thå COPÙ commanä (Tablå 7-12© provideó á meanó tï copù datá froí onå logica젍
  3346. uniô tï anotheò oò thå samå logicaì unit®  Thå logicaì unitó maù residå oî th堍
  3347. samå SCSÉ devicå oò differenô SCSÉ devices®  Somå SCSÉ deviceó thaô implemenô 
  3348. thió commanä maù noô supporô copieó tï oò froí anotheò SCSÉ devicå oò thir䠍Špartù copieó (botè logicaì unitó residå oî otheò SCSÉ devices).
  3349.  
  3350.   Thå parameteò lisô lengtè specifieó thå lengtè iî byteó oæ thå parameteró 
  3351. thaô shalì bå senô durinç thå DATÁ OUÔ phaså oæ thå command®  Á parameteò lisô 
  3352. lengtè oæ zerï indicateó thaô nï datá shalì bå transferred®  Thió conditio
  3353. shalì noô bå considereä aó aî error.
  3354.  
  3355.   Thå COPÙ parameteò lisô (Tablå 7-13© beginó witè á four-bytå headeò thaô 
  3356. containó thå COPÙ functioî codå anä priority®  Followinç thå headeò ió onå oò 
  3357. morå segmenô descriptors®
  3358.  
  3359.                                   Table 7-13
  3360.                              COPY Parameter List
  3361.  
  3362. ==============================================================================
  3363.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  3364. Byte |        |        |        |        |        |        |        |        |
  3365. ==============================================================================
  3366.  0   |         COPY Function Code                 |         Priority         |
  3367. -----|-----------------------------------------------------------------------|
  3368.  1   |                           Vendor Unique                               |
  3369. -----|-----------------------------------------------------------------------|
  3370.  2   |                           Reserved                                    |
  3371. -----|-----------------------------------------------------------------------|
  3372.  3   |                           Reserved                                    |
  3373. ==============================================================================
  3374.      |                         Segment Descriptor(s)                         |
  3375. ==============================================================================
  3376.  0 _ |                           Segment Descriptor 0                        |
  3377.  xx  |                     (See specific table for length.)                  |
  3378. -----|-----------------------------------------------------------------------|
  3379.      |                                 .                                     |
  3380.      |                                 .                                     |
  3381.      |                                 .                                     |
  3382. -----|-----------------------------------------------------------------------|
  3383.  0 _ |                           Segment Descriptor n                        |
  3384.  xx  |                     (See specific table for length.)                  |
  3385. ==============================================================================
  3386.  
  3387.   Thå COPÙ functioî codå defineó á specifiã formaô foò thå segmenô 
  3388. descriptors®  Thå COPÙ functioî codeó arå defineä iî Tablå 7-14.
  3389.  
  3390.   Thå prioritù fielä oæ thå COPÙ parameteò lisô establisheó thå relativ堍
  3391. prioritù oæ thió COPÙ commanä tï otheò commandó beinç executeä bù thå sam堍
  3392. target®  Alì otheò commandó arå assumeä tï havå á prioritù oæ 1®  Priority° 
  3393. ió thå highesô prioritù witè increasinç valueó indicatinç loweò priorities.
  3394.  
  3395.   Thå segmenô descriptoò formató arå determineä bù thå COPÙ functioî code® 
  3396. Thå segmenô descriptoò formaô useä foò write-oncå read-multiplå deviceó an䠍
  3397. foò read-onlù direct-accesó deviceó shalì bå thå samå aó foò direct-accesó 
  3398. devices®  Thå segmenô descriptoò formaô useä foò printeò deviceó anä foò 
  3399. processoò deviceó shalì bå thå samå aó foò sequential-accesó devices®  Thuó á 
  3400. COPÙ froí á write-oncå read-multiplå devicå tï á printeò devicå useó thå sam堍
  3401. segmenô descriptoò formaô aó foò á COPÙ froí á direct-accesó devicå tï á 
  3402. sequential-accesó device®  (Seå Tablå 7-14.©  Thå segmenô descriptoò formató 
  3403. arå describeä iî Tableó 7-15 througè 7-17®  Á maximuí oæ 25¶ segmenô Šdescriptoró arå permitted®  Thå segmenô descriptoró arå identifieä bù 
  3404. ascendinç numberó beginninç witè zero.
  3405.  
  3406.  
  3407.                                   Table 7-14
  3408.                                 COPY Functions
  3409.  
  3410. ==============================================================================
  3411. Peripheral Device Type     COPY      Segment
  3412. ----------------------   Function   Descriptor
  3413. Source     Destination     Code       Table               Comment
  3414. ------------------------------------------------------------------------------
  3415.  00H–           01H–         00H–      Tablå 7-15
  3416.  00H           02H         00H      Tablå 7-15
  3417.  00H           03H         00H      Tablå 7-15
  3418.  04H–           01H–         00H–      Tablå 7-15          Direct Access
  3419.  04H           02H         00H      Tablå 7-15               to
  3420.  04H           03H         00H      Tablå 7-15        Sequential Access
  3421.  05H–           01H–         00H–      Tablå 7-15
  3422.  05H           02H         00H      Tablå 7-15
  3423.  05H           03H         00H      Tablå 7-15
  3424.  
  3425.  01H–           00H–         01H–      Tablå 7-15        Sequential Access
  3426.  01H           04H         01H      Tablå 7-15               to
  3427.  03H–           00H–         01H–      Tablå 7-15          Direct Access
  3428.  03H           04H         01H      Tablå 7-15
  3429.  
  3430.  00H           00H         02H      Tablå 7-16
  3431.  00H           04H         02H      Tablå 7-16          Direct Access
  3432.  04H           00H         02H      Tablå 7-16               to
  3433.  04H           04H         02H      Tablå 7-16          Direct Access
  3434.  05H           00H         02H      Tablå 7-16
  3435.  05H           04H         02H      Tablå 7-16
  3436.  
  3437.  01H           01H         03H      Tablå 7-17
  3438.  01H           02H         03H      Tablå 7-17        Sequential Access
  3439.  01H           03H         03H      Tablå 7-17               to
  3440.  03H           01H         03H      Tablå 7-17        Sequential Access
  3441.  03H           02H         03H      Tablå 7-17
  3442.  03H–           03H–         03H–      Tablå 7-17
  3443. ==============================================================================
  3444.  
  3445. Peripheraì devicå typeº  00H–  Direct-accesó device
  3446.                          01H–  Sequential-accesó device
  3447.                          02H  Printer device
  3448.                          03H  Processor device
  3449.                          04H  Write-once read-multiple device
  3450.                          05H  Read-only direct-access device
  3451.  
  3452. COPÙ functioî codeº  00H–        Direcô accesó tï sequentiaì access
  3453.                      01H–        Sequentiaì accesó tï direcô access
  3454.                      02H–        Direcô accesó tï direcô access
  3455.                      03H–        Sequentiaì accesó tï sequentiaì access
  3456.                      04H– _ 0FH–  Reserved
  3457.                      10H– _ 1FH–  Vendoò unique
  3458. .paŠ     7.1.4.± Erroró Detecteä bù thå Managinç SCSÉ Device.‚  Twï classeó o栍
  3459. unusuaì conditionó maù occuò durinç executioî oæ á COPÙ command®  Thå firsô 
  3460. clasó consistó oæ thoså unusuaì conditionó detecteä bù thå SCSÉ devicå thaô 
  3461. receiveä thå COPÙ commanä anä ió managinç thå executioî oæ thå command®  Thes堍
  3462. conditionó includå paritù erroró whilå transferrinç thå COPÙ commanä an䠍
  3463. statuó byte¬ invaliä parameteró iî thå COPÙ command¬ invaliä segmenô 
  3464. descriptors¬ anä inabilitù oæ thå SCSÉ devicå controllinç thå COPÙ functionó 
  3465. tï continuå operating®  Iî thå evenô oæ sucè aî unusuaì condition¬ thå SCSÉ 
  3466. devicå managinç thå COPÙ shall:
  3467.  
  3468.   (1) Terminate the COPY command with a CHECK CONDITION status.
  3469.  
  3470.   (2© Returî thå senså datá iî thå extendeä senså format®  Thå valiä biô shal젍
  3471. bå seô tï one®  Thå segmenô numbeò shalì contaiî thå numbeò oæ thå segmenô 
  3472. descriptoò beinç processeä aô thå timå thå unusuaì conditioî ió detected®  Th堍
  3473. senså keù shalì contaiî thå senså keù codå describinç thå unusuaì condition®  
  3474. Thå informatioî byteó shalì contaiî thå differencå betweeî thå numbeò o栍
  3475. blockó fielä iî thå segmenô descriptoò beinç processeä aô thå timå oæ th堍
  3476. failurå anä thå numbeò oæ blockó successfullù copied®  Thió numbeò ió th堍
  3477. residuå oæ unprocesseä blockó remaininç foò thå segmenô descriptor.
  3478.  
  3479.      7.1.4.² Erroró Detecteä bù á Target.‚  Thå seconä clasó oæ erroró consistó 
  3480. oæ unusuaì conditionó detecteä bù thå SCSÉ devicå transferrinç datá aô th堍
  3481. requesô oæ thå SCSÉ devicå managinç thå transfer®  Thå SCSÉ devicå managin砍
  3482. thå COPÙ commanä detectó unusuaì conditionó bù receivinç á CHECË CONDITIOЍ
  3483. statuó froí onå oæ thå SCSÉ deviceó iô ió managing®  Iô theî shalì recoveò th堍
  3484. senså datá associateä witè thå unusuaì condition.
  3485.  
  3486.   Thå SCSÉ devicå managinç thå COPÙ commanä maù alsï bå thå sourcå oò 
  3487. destinatioî SCSÉ devicå (oò both)®  Iô shalì distinguisè betweeî á failurå o栍
  3488. thå managemenô oæ thå COPÙ anä á failurå oæ thå datá transfeò beinç requested®  
  3489. Iô shalì theî creatå thå appropriatå senså datá internally.
  3490.  
  3491.   Afteò recoverinç thå senså datá associateä witè thå detecteä error¬ thå SCSÉ 
  3492. devicå managinç thå COPÙ commanä shall:
  3493.  
  3494.   (1) Terminate the COPY command with a CHECK CONDITION status.
  3495.  
  3496.   (2© Returî thå senså datá iî thå extendeä senså format®  Thå valiä biô shal젍
  3497. bå seô tï one®  Thå segmenô numbeò shalì contaiî thå numbeò oæ thå segmenô 
  3498. descriptoò beinç processeä aô thå timå thå unusuaì conditioî ió detected®  Th堍
  3499. senså keù shalì bå seô tï COPY ABORTED®  Thå informatioî byteó shalì contai
  3500. thå differencå betweeî thå numbeò oæ blockó fielä iî thå segmenô descriptoò 
  3501. beinç processeä aô thå timå oæ thå failurå anä thå numbeò oæ blockó 
  3502. successfullù copied®  Thió numbeò ió thå residuå oæ unprocesseä blockó 
  3503. remaininç foò thå segmenô descriptor®  Thå additionaì senså lengtè shal젍
  3504. specifù thå numbeò oæ additionaì senså bytes.
  3505.  
  3506.   Thå firsô additionaì senså bytå shalì specifù thå bytå number¬ relativå t
  3507. thå firsô bytå oæ senså datá oæ thå beginninç oæ thå sourcå logicaì unit'ó 
  3508. statuó bytå anä senså data®  Á zerï valuå indicateó thaô nï statuó bytå oò 
  3509. senså datá ió beinç returneä foò thå sourcå logicaì unit®  Thå firsô bytå o栍
  3510. thå areá pointeä tï bù thå firsô additionaì senså bytå shalì contaiî th堍
  3511. statuó bytå froí thå sourcå logicaì unit®  Thå subsequenô byteó shalì contain¬ 
  3512. unchanged¬ thå senså datá recovereä froí thå sourcå logicaì unit.
  3513. Š  Thå seconä additionaì senså bytå shalì specifù thå bytå number¬ relativå t
  3514. thå firsô bytå oæ senså datá oæ thå beginninç oæ thå destinatioî logica젍
  3515. unit'ó statuó bytå anä senså data®  Á zerï valuå indicateó thaô nï statuó byt堍
  3516. oò senså datá ió beinç returneä foò thå destinatioî logicaì unit®  Thå firsô 
  3517. bytå oæ thå areá pointeä tï bù thå seconä additionaì senså bytå shalì contai
  3518. thå statuó bytå froí thå destinatioî logicaì unit®  Thå subsequenô byteó shal젍
  3519. contain¬ unchanged¬ thå senså datá recovereä froí thå destinatioî logica젍
  3520. unit.
  3521.  
  3522.      7.1.4.³ COPÙ Functioî Codå 00H– anä 01H.‚  Thå formaô foò thå segmenô 
  3523. descriptoró foò COPÙ transferó betweeî direct-accesó anä sequential-accesó 
  3524. deviceó ió specifieä iî Tablå 7-15®  Thió formaô ió requireä foò COPÙ functio
  3525. codeó 00H– oò 01H®  Thå segmenô descriptoò maù bå repeateä uð tï 25¶ timeó 
  3526. withiî thå parameteò lisô lengtè specifieä iî thå commanä descriptoò block.
  3527.  
  3528.  
  3529.                                   Table 7-15
  3530.             Segment Descriptor for COPY Function Codes 00H and 01H
  3531.  
  3532. ==============================================================================
  3533.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  3534. Byte |        |        |        |        |        |        |        |        |
  3535. ==============================================================================
  3536.  0   | Source Address           |   Reserved      | Source LUN               |
  3537. -----|-----------------------------------------------------------------------|
  3538.  1   | Destination Address      |   Reserved      | Destination LUN          |
  3539. -----|-----------------------------------------------------------------------|
  3540.  2   |           Sequential-Access Device Block-Length (MSB)                 | 
  3541. -----|-----------------------------------------------------------------------|
  3542.  3   |           Sequential-Access Device Block-Length (LSB)                 |
  3543. -----|-----------------------------------------------------------------------|
  3544.  4   |           Direct-Access Device Number of Blocks (MSB)                 |
  3545. -----|-----------------------------------------------------------------------|
  3546.  5   |           Direct-Access Device Number of Blocks                       |
  3547. -----|-----------------------------------------------------------------------|
  3548.  6   |           Direct-Access Device Number of Blocks                       |
  3549. -----|-----------------------------------------------------------------------|
  3550.  7   |           Direct-Access Device Number of Blocks (LSB)                 |
  3551. -----|-----------------------------------------------------------------------|
  3552.  8   |           Direct-Access Device Logical Block Address (MSB)            |
  3553. -----|-----------------------------------------------------------------------|
  3554.  9   |           Direct-Access Device Logical Block Address                  |
  3555. -----|-----------------------------------------------------------------------|
  3556. 10   |           Direct-Access Device Logical Block Address                  |
  3557. -----|-----------------------------------------------------------------------|
  3558. 11   |           Direct-Access Device Logical Block Address (LSB)            |
  3559. ==============================================================================
  3560.  
  3561.   Sourcå addresó anä destinatioî addresó fieldó specifù thå SCSÉ deviceó an䠍
  3562. thå sourcå LUΠanä destinatioî LUΠfieldó specifù thå logicaì unitó tï uså foò 
  3563. thió segmenô oæ thå COPY command®  Somå SCSÉ deviceó maù noô supporô "third-
  3564. party¢ COPY iî whicè thå copyinç SCSÉ devicå ió noô thå sourcå oò destinatio
  3565. device®  Somå SCSÉ deviceó onlù supporô COPY withiî thå SCSÉ devicå anä noô t
  3566. otheò SCSÉ devices®  Iæ aî unsupporteä COPY operatioî ió requested¬ th堍
  3567. commanä shalì bå terminateä witè á CHECË CONDITIOΠstatuó anä thå senså keù 
  3568. shall be seô tï ILLEGAÌ REQUEST.Š
  3569.   Thå sequential-accesó devicå block-lengtè fielä specifieó thå block-lengt蠍
  3570. tï bå useä oî thå sequential-accesó logicaì uniô durinç thió segmenô oæ th堍
  3571. COPÙ command®  Iæ thió block-lengtè ió knowî bù thå SCSÉ devicå managinç th堍
  3572. COPY tï bå noô supported¬ thå commanä shalì bå terminateä witè á CHECË 
  3573. CONDITIOΠstatuó anä thå senså keù shalì bå seô tï ILLEGAÌ REQUEST®  Iæ th堍
  3574. block-lengtè ió founä tï bå invaliä whilå executinç á reaä oò writå operatio
  3575. tï thå sequential-accesó device¬ thå commanä shalì bå terminateä witè á CHECË 
  3576. CONDITIOΠstatuó anä thå senså keù shall be seô tï COPÙ ABORTED.
  3577.  
  3578.   Thå direct-accesó devicå numbeò oæ blockó fielä specifieó thå numbeò o栍
  3579. blockó iî thå currenô segment®  Á valuå oæ zerï indicateó thaô nï blockó shal젍
  3580. bå transferreä iî thió segment®  Thå direct-accesó devicå logicaì bloc렍
  3581. addresó specifieó thå startinç logicaì blocë addresó oî thå logicaì uniô foò 
  3582. thió segment.
  3583.  
  3584.      7.1.4.´ COPÙ Functioî Codå 02H.‚  Thå formaô foò thå segmenô descriptoró 
  3585. foò COPÙ transferó amonç direct-accesó deviceó ió specifieä bù Tablå 7-16®  
  3586. Thió formaô ió requireä foò COPÙ functioî codå 02H®  Thå segmenô descriptoò 
  3587. maù bå repeateä uð tï 25¶ timeó withiî thå parameteò lisô lengtè specifieä i
  3588. thå commanä descriptoò block.
  3589. .paŠ                                  Table 7-16
  3590.                 Segment Descriptor for COPY Function Code 02H
  3591.  
  3592. ==============================================================================
  3593.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  3594. Byte |        |        |        |        |        |        |        |        |
  3595. ==============================================================================
  3596.  0   | Source Address           |   Reserved      | Source LUN               |
  3597. -----|-----------------------------------------------------------------------|
  3598.  1   | Destination Address      |   Reserved      | Destination LUN          |
  3599. -----|-----------------------------------------------------------------------|
  3600.  2   |                              Reserved                                 |
  3601. -----|-----------------------------------------------------------------------|
  3602.  3   |                              Reserved                                 |
  3603. -----|-----------------------------------------------------------------------|
  3604.  4   |                   Source Number of Blocks (MSB)                       |
  3605. -----|-----------------------------------------------------------------------|
  3606.  5   |                   Source Number of Blocks                             |
  3607. -----|-----------------------------------------------------------------------|
  3608.  6   |                   Source Number of Blocks                             |
  3609. -----|-----------------------------------------------------------------------|
  3610.  7   |                   Source Number of Blocks (LSB)                       |
  3611. -----|-----------------------------------------------------------------------|
  3612.  8   |                   Source Logical Block Address (MSB)                  |
  3613. -----|-----------------------------------------------------------------------|
  3614.  9   |                   Source Logical Block Address                        |
  3615. -----|-----------------------------------------------------------------------|
  3616. 10   |                   Source Logical Block Address                        |
  3617. -----|-----------------------------------------------------------------------|
  3618. 11   |                   Source Logical Block Address (LSB)                  |
  3619. -----|-----------------------------------------------------------------------|
  3620. 12   |              Destination Logical Block Address (MSB)                  |
  3621. -----|-----------------------------------------------------------------------|
  3622. 13   |              Destination Logical Block Address                        |
  3623. -----|-----------------------------------------------------------------------|
  3624. 14   |              Destination Logical Block Address                        |
  3625. -----|-----------------------------------------------------------------------|
  3626. 15   |              Destination Logical Block Address (LSB)                  |
  3627. ==============================================================================
  3628.  
  3629.   Thå sourcå addresó anä destinatioî addresó fieldó specifù thå SCSÉ deviceó 
  3630. anä thå sourcå LUΠanä destinatioî LUΠspecifù thå logicaì unitó tï uså foò 
  3631. thió segmenô oæ thå COPY command®  Somå SCSÉ deviceó maù noô supporô "third-
  3632. party¢ COPY iî whicè thå copyinç SCSÉ devicå ió noô thå sourcå oò destinatio
  3633. device®  Somå SCSÉ deviceó onlù supporô COPY withiî thå SCSÉ devicå anä noô t
  3634. otheò SCSÉ devices®  Iæ aî unsupporteä COPY operatioî ió requested¬ th堍
  3635. commanä shalì bå terminateä witè á CHECË CONDITIOΠstatuó anä thå senså keù 
  3636. shall be seô tï ILLEGAÌ REQUEST.
  3637.  
  3638.   Thå sourcå numbeò oæ blockó fielä specifieó thå numbeò oæ blockó tï b堍
  3639. transferreä froí thå sourcå devicå durinç commanä execution®  Thå sourc堍
  3640. logicaì blocë addresó fielä specifieó thå startinç logicaì blocë addresó o
  3641. thå sourcå device®   Thå destinatioî logicaì blocë addresó fielä specifieó th堍
  3642. startinç logicaì blocë addresó oî thå destinatioî device.
  3643. .paŠ     7.1.4.µ COPÙ Functioî Codå 03H.‚  Thå formaô foò thå segmenô descriptoró 
  3644. foò COPÙ transferó amonç sequential-accesó deviceó ió specifieä bù Tablå 7-17®  
  3645. Thió formaô ió requireä foò COPÙ functioî codå 03H®  Thå segmenô descriptoò 
  3646. maù bå repeateä uð tï 25¶ timeó withiî thå parameteò lisô lengtè specifieä i
  3647. thå commanä descriptoò block.
  3648.  
  3649.                                   Table 7-17
  3650.                 Segment Descriptor for COPY Function Code 03H
  3651.  
  3652. ==============================================================================
  3653.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  3654. Byte |        |        |        |        |        |        |        |        |
  3655. ==============================================================================
  3656.  0   | Source Address           |   Reserved      | Source LUN               |
  3657. -----|-----------------------------------------------------------------------|
  3658.  1   | Destination Address      |   Reserved      | Destination LUN          |
  3659. -----|-----------------------------------------------------------------------|
  3660.  2   |                              Reserved                                 |
  3661. -----|-----------------------------------------------------------------------|
  3662.  3   |                              Reserved                                 |
  3663. -----|-----------------------------------------------------------------------|
  3664.  4   |                           Source Block Length (MSB)                   |
  3665. -----|-----------------------------------------------------------------------|
  3666.  5   |                           Source Block Length (LSB)                   |
  3667. -----|-----------------------------------------------------------------------|
  3668.  6   |                           Destination Block Length (MSB)              |
  3669. -----|-----------------------------------------------------------------------|
  3670.  7   |                           Destination Block Length (LSB)              |
  3671. -----|-----------------------------------------------------------------------|
  3672.  8   |                           Source Number of Blocks (MSB)               |
  3673. -----|-----------------------------------------------------------------------|
  3674.  9   |                           Source Number of Blocks                     |
  3675. -----|-----------------------------------------------------------------------|
  3676. 10   |                           Source Number of Blocks                     |
  3677. -----|-----------------------------------------------------------------------|
  3678. 11   |                           Source Number of Blocks (LSB)               |
  3679. ==============================================================================
  3680.  
  3681.   Sourcå addresó anä destinatioî addresó fieldó specifù thå SCSÉ deviceó an䠍
  3682. thå sourcå LUΠanä destinatioî LUΠfieldó specifù thå logicaì unitó tï uså foò 
  3683. thió segmenô oæ thå COPY command®  Somå SCSÉ deviceó maù noô supporô "third-
  3684. party¢ COPY iî whicè thå copyinç SCSÉ devicå ió noô thå sourcå oò destinatio
  3685. device®  Somå SCSÉ deviceó onlù supporô COPY withiî thå SCSÉ devicå anä noô t
  3686. otheò SCSÉ devices®  Iæ aî unsupporteä COPY operatioî ió requested¬ th堍
  3687. commanä shalì bå terminateä witè á CHECË CONDITIOΠstatuó anä thå senså keù 
  3688. shall be seô tï ILLEGAÌ REQUEST.
  3689.  
  3690.   Thå sourcå block-lengtè fielä specifieó thå block-lengtè oæ thå sourc堍
  3691. devicå foò thió segmenô oæ thå COPY®  Á zerï iî thió fielä indicateó variabl堍
  3692. block-length®  Foò nonzerï values¬ thió fielä shalì matcè thå logicaì unit'ó 
  3693. actuaì block-length®  Iæ block-lengtè mismatcheó arå detecteä bù thå SCSÉ 
  3694. devicå managinç thå COPY¬ thå commanä shalì bå terminateä witè á CHECË 
  3695. CONDITIOΠstatuó anä thå senså keù shalì bå seô tï ILLEGAÌ REQUEST®  Iæ th堍
  3696. mismatcheó arå detecteä durinç thå reaä operatioî bù thå COPÙ manager¬ th堍
  3697. commanä shalì bå terminateä witè á CHECË CONDITIOΠstatuó anä thå senså keù 
  3698. shalì bå seô tï COPÙ ABORTED.Š
  3699.   Thå destinatioî block-lengtè fielä specifieó thå block-lengtè tï bå useä o
  3700. thå destinatioî logicaì uniô durinç thå COPY®  Destinatioî block-lengt蠍
  3701. mismatcheó arå handleä iî thå samå manneò aó sourcå block-lengtè mismatches.
  3702.  
  3703.   Thå sourcå numbeò oæ blockó fielä specifieó thå numbeò oæ blockó tï b堍
  3704. transferreä froí thå sourcå devicå durinç thió segment®  Á valuå oæ zer
  3705. indicateó thaô nï blockó shalì bå transferred.
  3706.  
  3707.   7.1.µ RECEIVÅ DIAGNOSTIàRESULTÓ Command
  3708.  
  3709.      Peripheral Device Type:  All
  3710.         Operation Code Type:  Optional
  3711.              Operation Code:  1CH
  3712.  
  3713.                                   Table 7-18
  3714.                       RECEIVE DIAGNOSTIC RESULTS Command
  3715.  
  3716. ==============================================================================
  3717.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  3718. Byte |        |        |        |        |        |        |        |        |
  3719. ==============================================================================
  3720.  0   |                           Operation Code                              | 
  3721. -----|-----------------------------------------------------------------------|
  3722.  1   | Logical Unit Number      |                  Reserved                  |
  3723. -----|-----------------------------------------------------------------------|
  3724.  2   |                           Reserved                                    |
  3725. -----|-----------------------------------------------------------------------|
  3726.  3   |                           Allocation Length (MSB)                     |
  3727. -----|-----------------------------------------------------------------------|
  3728.  4   |                           Allocation Length (LSB)                     |
  3729. -----|-----------------------------------------------------------------------|
  3730.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  3731. ==============================================================================
  3732.  
  3733.   Thå RECEIVÅ DIAGNOSTIàRESULTÓ commanä (Tablå 7-18© requestó analysió dat᠍
  3734. bå senô tï thå initiatoò afteò completioî oæ á SENÄ DIAGNOSTIàcommanä (se堍
  3735. 7.1.6).
  3736.  
  3737.   Thå allocatioî lengtè shalì specifù thå numbeò oæ byteó thaô thå initiatoò 
  3738. haó allocateä foò returneä diagnostiã data®  Aî allocatioî lengtè oæ zer
  3739. indicateó thaô nï diagnostiã datá shalì bå transferred®  Anù otheò valu堍
  3740. indicateó thå maximuí numbeò oæ byteó thaô shalì bå transferred®  Thå targeô 
  3741. terminateó thå DATÁ IΠphaså wheî allocatioî lengtè byteó havå bee
  3742. transferreä oò wheî alì availablå diagnostiã datá havå beeî transferreä tï th堍
  3743. initiator, whichever is less®
  3744.  
  3745.   The diagnostic data returned is vendor unique.
  3746.  
  3747. NOTEº  Althougè diagnostiã softwarå ió generallù device-specific¬ thió comman䠍
  3748. anä thå SENÄ DIAGNOSTIàcommanä providå á meanó tï isolatå thå operatin砍
  3749. systeí softwarå froí thå device-specifiã diagnostiã software®  Hencå th堍
  3750. operatinç systeí caî remaiî device-independent®  Thió alsï allowó diagnosti㠍
  3751. softwarå tï bå morå easilù porteä tï otheò operatinç systems.
  3752. .paŠ  7.1.6 SENÄ DIAGNOSTIàCommand
  3753.  
  3754.      Peripheral Device Type:  All
  3755.         Operation Code Type:  Optional
  3756.              Operatioî Codeº  1DH
  3757.  
  3758.                                   Table 7-19
  3759.                            SENÄ DIAGNOSTIàCommand
  3760.  
  3761. ==============================================================================
  3762.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  3763. Byte |        |        |        |        |        |        |        |        |
  3764. ==============================================================================
  3765.  0   |                           Operation Code                              | 
  3766. -----|-----------------------------------------------------------------------|
  3767.  1   | Logical Unit Number      |      Reserved   |SelfTest| DevOfL | UnitOfL|
  3768. -----|-----------------------------------------------------------------------|
  3769.  2   |                           Reserved                                    |
  3770. -----|-----------------------------------------------------------------------|
  3771.  3   |                           Parameter List Length (MSB)                 |
  3772. -----|-----------------------------------------------------------------------|
  3773.  4   |                           Parameter List Length (LSB)                 |
  3774. -----|-----------------------------------------------------------------------|
  3775.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  3776. ==============================================================================
  3777.  
  3778.   Thå SENÄ DIAGNOSTIàcommanä (Tablå 7-19© requestó thå targeô tï perforí 
  3779. diagnostiã testó oî itself¬ oî thå attacheä peripheraì devices¬ oò oî both®  
  3780. Thió commanä ió usuallù followeä bù á RECEIVÅ DIAGNOSTIàRESULTÓ command¬ 
  3781. excepô wheî thå selæ tesô (SelfTest© biô ió onå.
  3782.  
  3783.   Thå parameteò lisô lengtè specifieó thå lengtè iî byteó oæ thå parameteò 
  3784. lisô thaô shalì bå transferreä durinç thå DATÁ OUÔ phase®  Á parameteò lisô 
  3785. lengtè oæ zerï indicateó thaô nï datá shalì bå transferred®  Thió conditio
  3786. shalì noô bå considereä aó aî error®  Thå parameteò lisô ió vendoò unique.
  3787.  
  3788.   Á logicaì uniô off-linå (UnitOfL© biô oæ onå enableó writå operationó o
  3789. useò mediuí oò operationó thaô affecô useò visiblå mediuí positioning®  A
  3790. SCSÉ devicå off-linå (DevOfL© biô oæ onå enableó diagnostiã operationó that 
  3791. maù adverselù affecô operationó tï otheò logicaì unitó oî thå samå target.
  3792.  
  3793.   Thå logicaì uniô off-linå anä SCSÉ devicå off-linå bitó arå generallù seô bù 
  3794. operatinç systeí software¬ whilå thå parameteò lisô ió prepareä bù diagnosti㠍
  3795. applicatioî software®  Thus¬ bù preventinç operationó that arå noô enableä bù 
  3796. theså bits¬ thå targeô assistó thå operatinç systeí iî protectinç itó 
  3797. resources.
  3798.  
  3799.   Á selæ tesô biô oæ onå directó thå targeô tï completå itó defaulô selæ test®  
  3800. Iæ thå selæ tesô ió requested¬ thå parameteò lisô lengtè shalì bå seô tï zer
  3801. anä nï datá shalì bå transferred®  Iæ thå selæ tesô successfullù passes¬ th堍
  3802. commanä shalì bå terminateä witè á GOOÄ status» otherwise¬ thå commanä shal젍
  3803. bå terminateä witè á CHECË CONDITIOΠstatuó and¬ iæ extendeä senså ió 
  3804. implemented¬ thå senså keù shalì bå seô tï HARDWARÅ ERROR.
  3805.  
  3806. NOTEº Seå thå notå undeò thå RECEIVÅ DIAGNOSTIàRESULTÓ commanä (7.1.5).
  3807. .paŠ7.² Grouð ± Commandó foò Alì Devicå Types.‚  Theså commandó shalì bå aó liste䠍
  3808. iî Tablå 7-20.
  3809.  
  3810.                                   Table 7-20
  3811.                     Group 1 Commands for All Device Types
  3812.  
  3813. ==============================================================================
  3814. Operation
  3815.   Code      Type   Command Name                       Section
  3816. ------------------------------------------------------------------------------
  3817.    20H       V
  3818.    21H       V
  3819.    22H       V
  3820.    23H       V
  3821.    24H       V
  3822.    25H       *
  3823.    26H       V
  3824.    27H       V
  3825.    28H       *
  3826.    29H       V
  3827.    2AH       *
  3828.    2BH       *
  3829.    2CH       V
  3830.    2DH       V
  3831.    2EH       *
  3832.    2FH       *
  3833.    30H       *
  3834.    31H       *
  3835.    32H       *
  3836.    33H       *
  3837.    34H       R
  3838.    35H       R
  3839.    36H       R
  3840.    37H       R
  3841.    38H       R
  3842.    39H       O     COMPARE                            7.2.1
  3843.    3AH       O     COPY AND VERIFY                    7.2.2
  3844.    3BH       R
  3845.    3CH       R
  3846.    3DH       R
  3847.    3EH       R
  3848.    3FH       R
  3849. ==============================================================================
  3850.  
  3851. Key: O  =  Command implementatioî is optional.
  3852.      R  =  Operation code is reserved for future standardization.
  3853.      V  =  Operation code is available for vendor unique commands.
  3854.      *  =  Theså operatioî codeó maù havå differenô meaningó foò specifi㠍
  3855.            typeó oæ peripheraì devices®  (Seå thå appropriatå sectioî foò 
  3856.            furtheò information.)
  3857. .paŠ  7.2.1 COMPARE Command
  3858.  
  3859.      Peripheral Device Type:  All
  3860.         Operation Code Type:  Optional
  3861.              Operation Code:  39H
  3862.  
  3863.                                   Table 7-21
  3864.                                COMPARE Command
  3865.  
  3866. ==============================================================================
  3867.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  3868. Byte |        |        |        |        |        |        |        |        |
  3869. ==============================================================================
  3870.  0   |                           Operation Code                              | 
  3871. -----|-----------------------------------------------------------------------|
  3872.  1   | Logical Unit Number      |                   Reserved                 |
  3873. -----|-----------------------------------------------------------------------|
  3874.  2   |                           Reserved                                    |
  3875. -----|-----------------------------------------------------------------------|
  3876.  ³   ü                           Parameter List Length (MSB©                 |
  3877. -----|-----------------------------------------------------------------------|
  3878.  4   |                           Parameter List Length                       |
  3879. -----|-----------------------------------------------------------------------|
  3880.  5   |                           Parameter List Length (LSB)                 |
  3881. -----|-----------------------------------------------------------------------|
  3882.  6   |                           Reserved                                    |
  3883. -----|-----------------------------------------------------------------------|
  3884.  7   |                           Reserved                                    |
  3885. -----|-----------------------------------------------------------------------|
  3886.  8   |                           Reserved                                    |
  3887. -----|-----------------------------------------------------------------------|
  3888.  9   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  3889. ==============================================================================
  3890.  
  3891.   Thå COMPARÅ commanä (Tablå 7-21© provideó thå meanó tï comparå datá froí on堍
  3892. logicaì uniô witè anotheò oò thå samå logicaì uniô iî á manneò similaò tï th堍
  3893. COPÙ command® 
  3894.  
  3895.   Thió commanä functionó iî thå samå manneò aó thå COPÙ command¬ excepô thaô 
  3896. thå datá froí thå sourcå ió compareä oî á byte-by-bytå basió witè thå dat᠍
  3897. froí thå destination®  Thå parameteò lisô transferreä tï thå targeô ió th堍
  3898. samå aó foò thå COPÙ command®  Thió parameteò lisô containó thå informatioî t
  3899. identifù thå logicaì unitó involveä iî thå comparisoî anä thå lengtè oæ th堍
  3900. comparison®  (Seå 7.1.´ foò additionaì informatioî abouô thå COPÙ command.©
  3901.  
  3902.   Iæ thå comparisoî ió unsuccessful¬ thå commanä shalì bå terminateä witè á 
  3903. CHECË CONDITIOΠstatuó anä thå senså keù shalì bå seô tï MISCOMPARE®  Th堍
  3904. remaininç fieldó iî thå extendeä senså shalì bå seô aó documenteä iî thå COPÙ 
  3905. command.
  3906. .paŠ  7.2.2 COPY AND VERIFY Command
  3907.  
  3908.      Peripheral Device Type:  All
  3909.         Operation Code Type:  Optional
  3910.              Operation Code:  3AH
  3911.  
  3912.                                   Table 7-22
  3913.                            COPY AND VERIFY Command
  3914.  
  3915. ==============================================================================
  3916.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  3917. Byte |        |        |        |        |        |        |        |        |
  3918. ==============================================================================
  3919.  0   |                           Operation Code                              | 
  3920. -----|-----------------------------------------------------------------------|
  3921.  ±   ü Logicaì Uniô Numbeò      ü        Reserved          ü BytChë |Reserved|
  3922. -----|-----------------------------------------------------------------------|
  3923.  2   |                           Reserved                                    |
  3924. -----|-----------------------------------------------------------------------|
  3925.  ³   ü                           Parameteò Lisô Length (MSB©                 |
  3926. -----|-----------------------------------------------------------------------|
  3927.  4   |                           Parameteò Lisô Length                       |
  3928. -----|-----------------------------------------------------------------------|
  3929.  5   |                           Parameteò Lisô Length (LSB)                 |
  3930. -----|-----------------------------------------------------------------------|
  3931.  6   |                           Reserved                                    |
  3932. -----|-----------------------------------------------------------------------|
  3933.  7   |                           Reserved                                    |
  3934. -----|-----------------------------------------------------------------------|
  3935.  8   |                           Reserved                                    |
  3936. -----|-----------------------------------------------------------------------|
  3937.  9   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  3938. ==============================================================================
  3939.  
  3940.   Thå COPÙ ANÄ VERIFÙ commanä (Tablå 7-22© performó thå samå functioî aó th堍
  3941. COPÙ command¬ excepô thaô á verificatioî oæ thå datá writteî tï th堍
  3942. destinatioî logicaì uniô ió performeä afteò thå datá ió written®  Th堍
  3943. parameteò lisô transferreä tï thå targeô ió thå samå aó foò thå COPÙ command®  
  3944. Thió parameteò lisô containó thå informatioî tï identifù thå logicaì unitó 
  3945. involveä iî thå copù anä thå lengtè oæ thå copy®  (Seå 7.1.´ foò additiona젍
  3946. informatioî abouô thå COPÙ command.)
  3947.  
  3948.   Á bytå checë (BytChk© biô oæ zerï causeó thå verificatioî tï bå simplù á 
  3949. mediuí verificatioî (CRC¬ ECC¬ etc)®  Á BytChë biô oæ onå causeó á byte-by-
  3950. bytå comparisoî oæ datá writteî tï thå destinatioî logicaì uniô anä thå dat᠍
  3951. reaä froí thå sourcå logicaì unit®
  3952.  
  3953.   Iæ thå comparisoî ió unsuccessful¬ thå commanä shalì bå terminateä witè á 
  3954. CHECË CONDITIOΠstatuó anä thå senså keù shalì bå seô tï MISCOMPARE®  Th堍
  3955. remaininç fieldó iî thå extendeä senså shalì bå seô aó documenteä iî thå COPÙ 
  3956. command.
  3957. .paŠ7.³ Grouð ² Commandó foò Alì Devicå Types.‚  Thå Grouð ² commandó (operatio
  3958. codeó 40H– througè 5FH© arå alì reserveä foò futurå standardization.
  3959.  
  3960. 7.´ Grouð ³ Commandó foò Alì Devicå Types.‚  Thå Grouð ³ commandó (operatio
  3961. codeó 60H– througè 7FH© arå alì reserveä foò futurå standardization.
  3962.  
  3963. 7.µ Grouð ´ Commandó foò Alì Devicå Types.‚  Thå Grouð ´ commandó (operatio
  3964. codeó 80H– througè 9FH© arå alì reserveä foò futurå standardization.
  3965.  
  3966. 7.¶ Grouð µ Commandó foò Alì Devicå Types.‚  Thå Grouð µ commandó wit蠍
  3967. operatioî codeó A0H– througè AFH– arå vendoò unique®  Thå Grouð µ commandó wit蠍
  3968. operatioî codeó B0H– througè BFH– arå reserveä foò futurå standardization.
  3969.  
  3970. 7.· Grouð ¶ Commandó foò Alì Devicå Types.‚  Thå Grouð ¶ commandó (operatio
  3971. codeó C0H– througè DFH© arå alì vendoò unique.
  3972.  
  3973. 7.¸ Grouð · Commandó foò Alì Devicå Types.‚  Thå Grouð · commandó (operatio
  3974. codeó E0H– througè FFH© arå alì vendoò unique.
  3975. .paŠ.. To set ruler line, position cursor on the next line and type ^OF--!--!--!--!--!--!--!--!--!--!--!--!-----------------------------------------!
  3976. .fo Section 8                            #
  3977. 8. Command Descriptions for Direct-Access Devices
  3978.  
  3979. 8.± Grouð ° Commandó foò Direct-Accesó Devices.‚  Thå Grouð ° commandó foò 
  3980. direct-accesó deviceó shalì bå aó showî iî Tablå 8-1.
  3981.  
  3982.                                   Table 8-1
  3983.                   Group 0 Commands for Direct-Access Devices
  3984.  
  3985. ==============================================================================
  3986. Operation
  3987.   Code      Type   Command Name                       Section
  3988. ------------------------------------------------------------------------------
  3989.    00H       O     TEST UNIT READY                    7.1.1
  3990.    01H       O     REZERO UNIT                        8.1.1
  3991.    02H       V
  3992.    03H       M     REQUEST SENSE                      7.1.2
  3993.    04H       M     FORMAT UNIT                        8.1.2
  3994.    05H       V
  3995.    06H       V
  3996.    07H       O     REASSIGN BLOCKS                    8.1.3
  3997.    08H       M     READ                               8.1.4
  3998.    09H       V
  3999.    0AH       M     WRITE                              8.1.5
  4000.    0BH       O     SEEK                               8.1.6
  4001.    0CH       V
  4002.    0DH       V
  4003.    0EH       V
  4004.    0FH       V
  4005.    10H       V
  4006.    11H       V
  4007.    12H       E     INQUIRY                            7.1.3
  4008.    13H       V
  4009.    14H       V
  4010.    15H       O     MODE SELECT                        8.1.7
  4011.    16H       O     RESERVE                            8.1.8
  4012.    17H       O     RELEASE                            8.1.9
  4013.    18H       O     COPY                               7.1.4
  4014.    19H       V
  4015.    1AH       O     MODE SENSE                         8.1.10
  4016.    1BH       O     START/STOP UNIT                    8.1.11
  4017.    1CH       O     RECEIVE DIAGNOSTIC RESULTS         7.1.5
  4018.    1DH       O     SEND DIAGNOSTIC                    7.1.6
  4019.    1EH       O     PREVENT/ALLOW MEDIUM REMOVAL       8.1.12
  4020.    1FH       R
  4021. ==============================================================================
  4022.  
  4023. Key: M  =  Command implementation is mandatory.
  4024.      E  =  Commanä implementatioî ió requireä foò SCSÉ deviceó thaô supporô 
  4025.            device-independenô self-configurinç software.
  4026.      O  =  Command implementatioî is optional.
  4027.      R  =  Operation code is reserved for future standardization.
  4028.      V  =  Operation code is available for vendor unique commands.
  4029. .paŠ  8.1.1 REZERO UNIT Command
  4030.  
  4031.      Peripheral Device Type:  Direct Access
  4032.         Operation Code Type:  Optional
  4033.              Operation Code:  01H
  4034.  
  4035.                                   Table 8-2
  4036.                              REZERO UNIT Command
  4037.  
  4038. ==============================================================================
  4039.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  4040. Byte |        |        |        |        |        |        |        |        |
  4041. ==============================================================================
  4042.  0   |                           Operation Code                              | 
  4043. -----|-----------------------------------------------------------------------|
  4044.  1   | Logical Unit Number      |                  Reserved                  |
  4045. -----|-----------------------------------------------------------------------|
  4046.  2   |                           Reserved                                    |
  4047. -----|-----------------------------------------------------------------------|
  4048.  3   |                           Reserved                                    |
  4049. -----|-----------------------------------------------------------------------|
  4050.  4   |                           Reserved                                    |
  4051. -----|-----------------------------------------------------------------------|
  4052.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  4053. ==============================================================================
  4054.  
  4055.   Thå REZERÏ UNIÔ commanä (Tablå 8-2© requestó thaô thå targeô seô thå logica젍
  4056. uniô tï á specifiã state®  Seå vendoò specificationó foò details.
  4057.  
  4058.   8.1.2 FORMAT UNIT Command
  4059.  
  4060.      Peripheral Device Type:  Direct Access
  4061.         Operation Code Type:  Mandatory
  4062.              Operation Code:  04H
  4063.  
  4064.                                   Table 8-3
  4065.                              FORMAT UNIT Command
  4066.  
  4067. ==============================================================================
  4068.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  4069. Byte |        |        |        |        |        |        |        |        |
  4070. ==============================================================================
  4071.  0   |                           Operation Code                              | 
  4072. -----|-----------------------------------------------------------------------|
  4073.  1   | Logical Unit Number      | FmtData| CmpLst |   Defect List Format     |
  4074. -----|-----------------------------------------------------------------------|
  4075.  2   |                           Vendor Unique                               |
  4076. -----|-----------------------------------------------------------------------|
  4077.  3   |                           Interleave (MSB)                            |
  4078. -----|-----------------------------------------------------------------------|
  4079.  4   |                           Interleave (LSB)                            |
  4080. -----|-----------------------------------------------------------------------|
  4081.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  4082. ==============================================================================
  4083. .paŠ  Thå FORMAÔ UNIÔ commanä (Tablå 8-3© ensureó thaô thå mediuí ió formatteä s
  4084. thaô alì datá blockó caî bå accessed®  Therå ió nï guaranteå thaô thå mediuí 
  4085. haó oò haó noô beeî altered®  Iî addition¬ thå mediuí maù bå certifieä an䠍
  4086. controì structureó bå createä foò thå managemenô oæ thå mediuí anä defects.
  4087.  
  4088.   Thå FORMAÔ UNIÔ commanä ió botè á mandatorù commanä anä aî extendeä comman䠍
  4089. witè multiplå options (see Table 8-4)®
  4090.  
  4091.   Thå FORMAÔ UNIÔ commanä shalì bå rejecteä witè RESERVATIOΠCONFLICÔ statuó 
  4092. if any extent (see 8.1.8.2) in the specified logical unit is reserved.
  4093.  
  4094.   Á formaô datá (FmtData© biô oæ onå indicateó thaô formaô datá ió supplie䠍
  4095. durinç thå DATÁ OUÔ phase®  Thå defecô lisô includeä witè thió datá specifieó 
  4096. thå defectó thaô shalì bå entereä intï thå defecô map®  Thå formaô oæ th堍
  4097. defecô lisô ió determineä bù defecô lisô format®  Á FmtDatá biô oæ zer
  4098. indicateó thaô thå DATÁ OUÔ phaså shalì noô occur (nï defecô datá shalì b堍
  4099. supplieä bù thå initiator)®
  4100.  
  4101.   Á completå lisô (CmpLst© biô oæ onå indicateó thå datá supplieä ió th堍
  4102. completå lisô oæ knowî defects®  Anù previouó initiator-specifieä defecô mað 
  4103. oò defecô datá shalì bå erased®  Thå targeô maù adä tï thió lisô aó iô formató 
  4104. thå medium®  Thå resulô ió tï purgå anù previouó initiator-specifieä defecô 
  4105. lisô anä tï builä á ne÷ defecô list®  Á CmpLsô biô oæ zerï indicateó thaô th堍
  4106. datá supplieä ió iî additioî tï existinç defecô datá usinç thå currenô format®  
  4107. Wheî usinç thå blocë format¬ thå defecô lisô referó tï thå currenô bloc렍
  4108. lengtè (anä noô tï thå ne÷ blocë length¬ iæ iô ió different© anä thå defecô 
  4109. lisô referó tï currenô logicaì blocë addresseó (noô physicaì addresses)®  Th堍
  4110. targeô maù adä tï thió lisô aó iô formató thå medium.
  4111.  
  4112.   Thå defecô lisô formaô fielä specifieó additionaì informatioî relateä tï th堍
  4113. defecô list®  (Seå Tablå 8-´ foò furtheò information.)
  4114.  
  4115.   Thå interleavå fielä requestó thaô thå logicaì blockó bå relateä iî á 
  4116. specifiã fashioî tï thå physicaì blockó tï facilitatå speeä matching®  A
  4117. interleavå valuå oæ zerï requestó thaô thå targeô uså itó defaulô interleave®  
  4118. Aî interleavå valuå oæ onå requestó thaô consecutivå logicaì blockó bå place䠍
  4119. iî consecutivå physicaì order®  Valueó oæ twï oò greateò arå vendoò unique.
  4120. .paŠ                                  Table 8-4
  4121.                         FORMAT UNIT Command Variations
  4122.  
  4123. ==============================================================================
  4124.     Bit Reference
  4125. ---------------------
  4126. 4    3    2    1    0
  4127. FmtData
  4128. |    CmpLst
  4129. |    |    Defect List
  4130. |    |      Format
  4131. |    |    |    |    |    Command Type   Comments
  4132. ---------------------    ------------   --------------------------------------
  4133. 0    X    X    X    X    Mandatory      Formaô witè nï defecô datá senô froí 
  4134.                                         thå initiatoò tï thå target.
  4135.  
  4136. 1    0    0    X    X    Extended       Formaô addinç thå defectó specifieä i
  4137.                                         thå defecô lisô tï thå knowî defects®  
  4138.                                         (Seå Tablå 8-5.)
  4139.  
  4140. 1    1    0    X    X    Optional       Formaô usinç defectó iî thå defecô 
  4141.                                         lisô aó thå fulì seô oæ knowî defects®  
  4142.                                         (Seå Tablå 8-5.)
  4143.  
  4144. 1    0    1    0    0    Optional       Formaô addinç thå defectó iî th堍
  4145.                                         defecô lisô tï thå knowî defects®  
  4146.                                         (Seå Tablå 8-6.)
  4147.  
  4148. 1    1    1    0    0    Optional       Formaô usinç thå defectó iî thå defecô 
  4149.                                         lisô aó thå fulì seô oæ knowî defects®  
  4150.                                         (Seå Tablå 8-6.)
  4151.  
  4152. 1    0    1    0    1    Optional       Formaô addinç thå defectó iî th堍
  4153.                                         defecô lisô tï thå knowî defects®  
  4154.                                         (Seå Tablå 8-7.)
  4155.  
  4156. 1    1    1    0    1    Optional       Formaô usinç thå defectó iî thå defecô 
  4157.                                         lisô aó thå fulì seô oæ knowî defects®  
  4158.                                         (Seå Tablå 8-7.)
  4159.  
  4160. 1    X    1    1    0    Vendor unique
  4161.  
  4162. 1    0    1    1    1    Reserved
  4163.  
  4164. 1    1    1    1    1    Reserved
  4165. ==============================================================================
  4166.  
  4167. X = 1 or 0 (i.e., don't care term).
  4168. .paŠ  Thå defecô listó showî iî Tableó 8-5¬ 8-6¬ anä 8-· contaiî á four-byt堍
  4169. headeò followeä bù onå oò morå defecô descriptors®  Thå lengtè oæ thå defecô 
  4170. descriptoró varù witè thå formaô oæ thå defecô list.
  4171.  
  4172.   Thå defecô lisô lengtè iî eacè tablå specifieó thå totaì lengtè iî byteó o栍
  4173. thå defecô descriptoró thaô follow®  Iî Tablå 8-5¬ thå defecô lisô lengtè ió 
  4174. equaì tï fouò timeó thå numbeò oæ defecô descriptors®  Iî Tableó 8-¶ anä 8-7¬ 
  4175. thå defecô lisô lengtè ió equaì tï eighô timeó thå numbeò oæ defecô 
  4176. descriptors.
  4177.  
  4178.                                   Table 8-5
  4179.                           Defect List - Block Format
  4180.  
  4181. ==============================================================================
  4182. Byte |                        Defect List Header                             |
  4183. ==============================================================================
  4184.  0   |                           Reserved                                    |
  4185. -----|-----------------------------------------------------------------------|
  4186.  1   |                           Reserved                                    |
  4187. -----|-----------------------------------------------------------------------|
  4188.  2   |                           Defect List Length (MSB)                    |
  4189. -----|-----------------------------------------------------------------------|
  4190.  3   |                           Defect List Length (LSB)                    |
  4191. ==============================================================================
  4192.      |                        Defecô Descriptoò(s)                           |
  4193. ==============================================================================
  4194.  0   |                           Defect Block Address (MSB)                  |
  4195. -----|-----------------------------------------------------------------------|
  4196.  1   |                           Defect Block Address                        |
  4197. -----|-----------------------------------------------------------------------|
  4198.  2   |                           Defect Block Address                        |
  4199. -----|-----------------------------------------------------------------------|
  4200.  3   |                           Defect Block Address (LSB)                  |
  4201. ==============================================================================
  4202.  
  4203.   Eacè defecô descriptoò foò thå blocë formaô specifieó á four-bytå defecô 
  4204. blocë addresó thaô containó thå defect®  Thå defecô descriptoró shalì bå i
  4205. ascendinç order.
  4206. .paŠ                                  Table 8-6
  4207.                     Defect List - Bytes From Index Format
  4208.  
  4209. ==============================================================================
  4210. Byte |                        Defect List Header                             |
  4211. ==============================================================================
  4212.  0   |                           Reserved                                    |
  4213. -----|-----------------------------------------------------------------------|
  4214.  1   |                           Reserved                                    |
  4215. -----|-----------------------------------------------------------------------|
  4216.  2   |                           Defect List Length (MSB)                    |
  4217. -----|-----------------------------------------------------------------------|
  4218.  3   |                           Defect List Length (LSB)                    |
  4219. ==============================================================================
  4220.      |                        Defecô Descriptoò(s)                           |
  4221. ==============================================================================
  4222.  0   |                           Cylinder Number of Defect (MSB)             |
  4223. -----|-----------------------------------------------------------------------|
  4224.  1   |                           Cylinder Number of Defect                   |
  4225. -----|-----------------------------------------------------------------------|
  4226.  2   |                           Cylinder Number of Defect (LSB)             |
  4227. -----|-----------------------------------------------------------------------|
  4228.  3   |                           Head Number of Defect                       |
  4229. -----|-----------------------------------------------------------------------|
  4230.  4   |                           Defect Bytes from Index (MSB)               |
  4231. -----|-----------------------------------------------------------------------|
  4232.  5   |                           Defect Bytes from Index                     |
  4233. -----|-----------------------------------------------------------------------|
  4234.  6   |                           Defect Bytes from Index                     |
  4235. -----|-----------------------------------------------------------------------|
  4236.  7   |                           Defect Bytes from Index (LSB)               |
  4237. ==============================================================================
  4238.  
  4239.   Eacè defecô descriptoò foò thå byteó froí indeø formaô specifieó th堍
  4240. beginninç oæ aî eight-bytå defecô locatioî oî thå medium®  Eacè defecô 
  4241. descriptoò ió compriseä oæ thå cylindeò numbeò oæ defect¬ thå heaä numbeò o栍
  4242. defect¬ anä thå defecô byteó froí index®  Thå defecô descriptoró shalì bå i
  4243. ascendinç order®  Foò determininç ascendinç order¬ thå cylindeò numbeò o栍
  4244. defecô ió considereä thå mosô significanô parô oæ thå addresó anä thå defecô 
  4245. byteó froí indeø ió considereä thå leasô significanô parô oæ thå address.
  4246.  
  4247.   Á defecô byteó froí indeø oæ FFFFFFFFH– indicateó thaô thå entirå tracë shal젍
  4248. bå reassigned.
  4249. .paŠ                                  Table 8-7
  4250.                      Defect List - Physical Sector Format
  4251.  
  4252. ==============================================================================
  4253. Byte |                        Defect List Header                             |
  4254. ==============================================================================
  4255.  0   |                           Reserved                                    |
  4256. -----|-----------------------------------------------------------------------|
  4257.  1   |                           Reserved                                    |
  4258. -----|-----------------------------------------------------------------------|
  4259.  2   |                           Defect List Length (MSB)                    |
  4260. -----|-----------------------------------------------------------------------|
  4261.  3   |                           Defect List Length (LSB)                    |
  4262. ==============================================================================
  4263.      |                        Defecô Descriptoò(s)                           |
  4264. ==============================================================================
  4265.  0   |                           Cylinder Number of Defect (MSB)             |
  4266. -----|-----------------------------------------------------------------------|
  4267.  1   |                           Cylinder Number of Defect                   |
  4268. -----|-----------------------------------------------------------------------|
  4269.  2   |                           Cylinder Number of Defect (LSB)             |
  4270. -----|-----------------------------------------------------------------------|
  4271.  3   |                           Head Number of Defect                       |
  4272. -----|-----------------------------------------------------------------------|
  4273.  4   |                           Defect Sector Number (MSB)                  |
  4274. -----|-----------------------------------------------------------------------|
  4275.  5   |                           Defect Sector Number                        |
  4276. -----|-----------------------------------------------------------------------|
  4277.  6   |                           Defect Sector Number                        |
  4278. -----|-----------------------------------------------------------------------|
  4279.  7   |                           Defect Sector Number (LSB)                  |
  4280. ==============================================================================
  4281.  
  4282.   Eacè defecô descriptoò foò thå physicaì sectoò formaô specifieó á sector-
  4283. sizå defecô locatioî compriseä oæ thå cylindeò numbeò oæ defect¬ thå hea䠍
  4284. numbeò oæ defect¬ anä thå defecô sectoò number®  Thå defecô descriptoró shal젍
  4285. bå iî ascendinç order®  Foò determininç ascendinç order¬ thå cylindeò numbeò 
  4286. oæ defecô ió considereä thå mosô significanô parô oæ thå addresó anä th堍
  4287. defecô sectoò numbeò ió considereä thå leasô significanô parô oæ thå address.
  4288.  
  4289.   Á defecô sectoò numbeò oæ FFFFFFFFH– indicateó thaô thå entirå tracë shalì b堍
  4290. reassigned.
  4291. .paŠ  8.1.3 REASSIGN BLOCKS Command
  4292.  
  4293.      Peripheral Device Type:  Direct Access and Write-Once Read-Multiple
  4294.         Operation Code Type:  Optional
  4295.              Operation Code:  07H
  4296.  
  4297.                                   Table 8-8
  4298.                            REASSIGN BLOCKS Command
  4299.  
  4300. ==============================================================================
  4301.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  4302. Byte |        |        |        |        |        |        |        |        |
  4303. ==============================================================================
  4304.  0   |                           Operation Code                              | 
  4305. -----|-----------------------------------------------------------------------|
  4306.  1   | Logical Unit Number      |                  Reserved                  |
  4307. -----|-----------------------------------------------------------------------|
  4308.  2   |                           Reserved                                    |
  4309. -----|-----------------------------------------------------------------------|
  4310.  3   |                           Reserved                                    |
  4311. -----|-----------------------------------------------------------------------|
  4312.  4   |                           Reserved                                    |
  4313. -----|-----------------------------------------------------------------------|
  4314.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  4315. ==============================================================================
  4316.  
  4317.   Thå REASSIGΠBLOCKÓ commanä (Tablå 8-8© requestó thå targeô tï reassigî th堍
  4318. defectivå logicaì blockó tï aî areá oî thå logicaì uniô reserveä foò thió 
  4319. purpose.
  4320.  
  4321.   Thå initiatoò transferó á defecô lisô thaô containó thå logicaì bloc렍
  4322. addresseó tï bå reassigned®  Thå targeô shalì reassigî thå physicaì mediuí 
  4323. useä foò eacè logicaì blocë addresó iî thå list®  Thå datá containeä iî th堍
  4324. logicaì blockó specifieä iî thå defecô lisô maù bå altered¬ buô thå datá i
  4325. alì otheò logicaì blockó oî thå mediuí shalì bå preserved.
  4326.  
  4327.   Thå effecô oæ specifyinç á logicaì blocë tï bå reassigneä thaô previouslù 
  4328. haó beeî reassigneä ió tï reassigî thå blocë again®  Thus¬ oveò thå lifå o栍
  4329. thå medium¬ á logicaì blocë caî bå assigî tï multiplå physicaì addresseó 
  4330. (until no more spare locations remain on the medium).
  4331.  
  4332.   Thå REASSIGΠBLOCKÓ defecô lisô (Tablå 8-9© containó á four-bytå headeò 
  4333. followeä bù onå oò morå defecô descriptors®  Thå lengtè oæ eacè defecô 
  4334. descriptoò ió fouò bytes.
  4335.  
  4336.   Thå defecô lisô lengtè specifieó thå totaì lengtè iî byteó oæ thå defecô 
  4337. descriptoró thaô follow®  Thå defecô lisô lengtè ió equaì tï fouò timeó th堍
  4338. numbeò oæ defecô descriptors.
  4339. .paŠ                                  Table 8-9
  4340.                          REASSIGN BLOCKS Defect List
  4341.  
  4342. ==============================================================================
  4343. Byte |                        Defect List Header                             |
  4344. ==============================================================================
  4345.  0   |                           Reserved                                    |
  4346. -----|-----------------------------------------------------------------------|
  4347.  1   |                           Reserved                                    |
  4348. -----|-----------------------------------------------------------------------|
  4349.  2   |                           Defect List Length (MSB)                    |
  4350. -----|-----------------------------------------------------------------------|
  4351.  3   |                           Defect List Length (LSB)                    |
  4352. ==============================================================================
  4353.      |                        Defect Descriptor(s)                           |
  4354. ==============================================================================
  4355.  0   |                           Defect Logical Block Address (MSB)          |
  4356. -----|-----------------------------------------------------------------------|
  4357.  1   |                           Defect Logical Block Address                |
  4358. -----|-----------------------------------------------------------------------|
  4359.  2   |                           Defect Logical Block Address                |
  4360. -----|-----------------------------------------------------------------------|
  4361.  3   |                           Defect Logical Block Address (LSB)          |
  4362. ==============================================================================
  4363.  
  4364.   Thå defecô descriptoò specifieó á four-bytå defecô logicaì blocë addresó 
  4365. thaô containó thå defect®  Thå defecô descriptoró shalì bå iî ascendinç order.
  4366.  
  4367.   Iæ thå logicaì uniô haó insufficienô capacitù tï reassigî alì oæ th堍
  4368. defectivå logicaì blocks¬ thå commanä shalì terminatå witè á CHECË CONDITIOЍ
  4369. statuó anä thå senså keù shalì bå seô tï MEDIUÍ ERROR®  Thå logicaì bloc렍
  4370. addresó oæ thå first logicaì blocë not reassigneä shalì bå returneä iî th堍
  4371. informatioî byteó oæ thå senså data.
  4372. .paŠ  8.1.4 READ Command
  4373.  
  4374.      Peripheral Device Type:  Direct Access
  4375.         Operation Code Type:  Mandatory
  4376.              Operation Code:  08H
  4377.  
  4378.                                   Table 8-10
  4379.                                  READ Command
  4380.  
  4381. ==============================================================================
  4382.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  4383. Byte |        |        |        |        |        |        |        |        |
  4384. ==============================================================================
  4385.  0   |                           Operation Code                              | 
  4386. -----|-----------------------------------------------------------------------|
  4387.  1   | Logical Unit Number      |Logical Block Address (MSB)                 |
  4388. -----|-----------------------------------------------------------------------|
  4389.  2   |                           Logical Block Address                       |
  4390. -----|-----------------------------------------------------------------------|
  4391.  3   |                           Logical Block Address (LSB)                 |
  4392. -----|-----------------------------------------------------------------------|
  4393.  4   |                           Transfer Length                             |
  4394. -----|-----------------------------------------------------------------------|
  4395.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  4396. ==============================================================================
  4397.  
  4398.   Thå REAÄ commanä (Tablå 8-10© requestó thaô thå targeô transfeò datá tï th堍
  4399. initiator.
  4400.  
  4401.   Thå logicaì blocë addresó specifieó thå logicaì blocë at whicè thå rea䠍
  4402. operatioî shalì begin.
  4403.  
  4404.   Thå transfeò lengtè specifieó thå numbeò oæ contiguouó logicaì blockó o栍
  4405. datá tï transferred®  Á transfeò lengtè oæ zerï indicateó thaô 25¶ logica젍
  4406. blockó shalì bå transferred®  Anù otheò valuå indicateó thå numbeò oæ logica젍
  4407. blockó thaô shalì bå transferred.
  4408.  
  4409.   Thå mosô recenô datá valuå writteî iî thå addresseä logicaì blocë shalì b堍
  4410. returned.
  4411.  
  4412.   Thió commanä shalì bå terminateä witè á RESERVATIOΠCONFLICÔ statuó iæ anù 
  4413. reservatioî accesó conflicô (seå 8.1.8© existó anä nï datá shalì bå read.
  4414.  
  4415.   Iæ anù oæ thå followinç conditionó occur¬ thió commanä shalì bå terminate䠍
  4416. witè á CHECË CONDITIOΠstatus¬ anä iæ extendeä senså ió implemented¬ thå sens堍
  4417. keù shalì bå seô aó indicateä iî thå followinç table®  Thió tablå doeó noô 
  4418. providå aî exhaustivå enumeratioî oæ alì conditionó thaô maù causå thå CHECË 
  4419. CONDITIOΠstatus.
  4420. .paŠCondition                                         Sense Key
  4421. ----------------------------------------------    ----------------------------
  4422. Invalid logical block address                     ILLEGAL REQUEST (see note)
  4423.  
  4424. Target reset or medium change since
  4425. last command from this initiator                  UNIT ATTENTION
  4426.  
  4427. Unrecoverable read error                          MEDIUM ERROR
  4428.  
  4429. Recovered read error                              RECOVERED ERROR
  4430.  
  4431. Overrun or other error that might
  4432. be resolved by repeating the command              ABORTED COMMAND
  4433.  
  4434. NOTEº  Thå extendeä senså informatioî byteó shalì bå seô tï thå logicaì bloc렍
  4435. addresó oæ thå firsô invaliä address.
  4436.  
  4437.   8.1.5 WRITE Command
  4438.  
  4439.      Peripheral Device Type:  Direct Access
  4440.         Operation Code Type:  Mandatory
  4441.              Operation Code:  0AH
  4442.  
  4443.                                   Table 8-11
  4444.                                 WRITE Command
  4445.  
  4446. ==============================================================================
  4447.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  4448. Byte |        |        |        |        |        |        |        |        |
  4449. ==============================================================================
  4450.  0   |                           Operation Code                              | 
  4451. -----|-----------------------------------------------------------------------|
  4452.  1   | Logical Unit Number      |Logical Block Address (MSB)                 |
  4453. -----|-----------------------------------------------------------------------|
  4454.  2   |                           Logical Block Address                       |
  4455. -----|-----------------------------------------------------------------------|
  4456.  3   |                           Logical Block Address (LSB)                 |
  4457. -----|-----------------------------------------------------------------------|
  4458.  4   |                           Transfer Length                             |
  4459. -----|-----------------------------------------------------------------------|
  4460.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  4461. ==============================================================================
  4462.  
  4463.   Thå WRITÅ commanä (Tablå 8-11© requestó thaô thå targeô writå thå dat᠍
  4464. transferreä bù thå initiatoò tï thå medium.
  4465.  
  4466.   Thå logicaì blocë addresó specifieó thå logicaì blocë at whicè thå writ堍
  4467. operatioî shalì begin.
  4468.  
  4469.   Thå transfeò lengtè specifieó thå numbeò oæ contiguouó logicaì blockó o栍
  4470. datá tï transferred®  Á transfeò lengtè oæ zerï indicateó thaô 25¶ logica젍
  4471. blockó shalì bå transferred®  Anù otheò valuå indicateó thå numbeò oæ logica젍
  4472. blockó thaô shalì bå transferred.
  4473. .paŠ  Thió commanä shalì bå terminateä witè á RESERVATIOΠCONFLICÔ statuó iæ anù 
  4474. reservatioî accesó conflicô (seå 8.1.8© existó anä nï datá shalì bå written.
  4475.  
  4476.   Iæ anù oæ thå followinç conditionó occur¬ thió commanä shalì bå terminate䠍
  4477. witè á CHECË CONDITIOΠstatus¬ anä iæ extendeä senså ió implemented¬ thå sens堍
  4478. keù shalì bå seô aó indicateä iî thå followinç table®  Thió tablå doeó noô 
  4479. providå aî exhaustivå enumeratioî oæ alì conditionó thaô maù causå thå CHECË 
  4480. CONDITIOΠstatus.
  4481.  
  4482. Condition                                         Sense Key
  4483. ----------------------------------------------    ----------------------------
  4484. Invalid logical block address                     ILLEGAL REQUEST (see note)
  4485.  
  4486. Target reset or medium change since
  4487. last command from this initiator                  UNIT ATTENTION
  4488.  
  4489. Overrun or other error that might
  4490. be resolved by repeating the command              ABORTED COMMAND
  4491.  
  4492. NOTEº  Thå extendeä senså informatioî byteó shalì bå seô tï thå logicaì bloc렍
  4493. addresó oæ thå firsô invaliä address®  Iî thió case¬ nï datá shalì b堍
  4494. written oî thå logicaì unit.
  4495.  
  4496.   8.1.6 SEEK Command
  4497.  
  4498.      Peripheral Device Type:  Direct Access, Write-Once Read-Multiple, and
  4499.                               Read-Only Direct Access
  4500.         Operation Code Type:  Optional
  4501.              Operation Code:  0BH
  4502.  
  4503.                                   Table 8-12
  4504.                                  SEEK Command
  4505.  
  4506. ==============================================================================
  4507.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  4508. Byte |        |        |        |        |        |        |        |        |
  4509. ==============================================================================
  4510.  0   |                           Operation Code                              | 
  4511. -----|-----------------------------------------------------------------------|
  4512.  1   | Logical Unit Number      |Logical Block Address (MSB)                 |
  4513. -----|-----------------------------------------------------------------------|
  4514.  2   |                           Logical Block Address                       |
  4515. -----|-----------------------------------------------------------------------|
  4516.  3   |                           Logical Block Address (LSB)                 |
  4517. -----|-----------------------------------------------------------------------|
  4518.  4   |                           Reserved                                    |
  4519. -----|-----------------------------------------------------------------------|
  4520.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  4521. ==============================================================================
  4522.  
  4523.   Thå SEEË commanä (Tablå 8-12© requestó thaô thå logicaì uniô seeë tï th堍
  4524. specifieä logicaì blocë address.
  4525. .paŠ  8.1.7 MODE SELECT Command
  4526.  
  4527.      Peripheral Device Type:  Direct Access
  4528.         Operation Code Type:  Optional
  4529.              Operation Code:  15H
  4530.  
  4531.                                   Table 8-13
  4532.                              MODE SELECT Command
  4533.  
  4534. ==============================================================================
  4535.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  4536. Byte |        |        |        |        |        |        |        |        |
  4537. ==============================================================================
  4538.  0   |                           Operation Code                              | 
  4539. -----|-----------------------------------------------------------------------|
  4540.  1   | Logical Unit Number      |                  Reserved                  |
  4541. -----|-----------------------------------------------------------------------|
  4542.  2   |                           Reserved                                    |
  4543. -----|-----------------------------------------------------------------------|
  4544.  3   |                           Reserved                                    |
  4545. -----|-----------------------------------------------------------------------|
  4546.  4   |                           Parameter List Length                       |
  4547. -----|-----------------------------------------------------------------------|
  4548.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  4549. ==============================================================================
  4550.  
  4551.   Thå MODÅ SELECÔ commanä (Tablå 8-13© provideó á meanó foò thå initiatoò t
  4552. specifù medium¬ logicaì unit¬ oò peripheraì devicå parameters to the target.
  4553.  
  4554.   Thå  parameteò lisô lengtè specifieó thå lengtè iî byteó oæ thå MODÅ SELECÔ 
  4555. parameteò lisô thaô shalì bå transferreä durinç thå DATÁ OUÔ phase®  Á 
  4556. parameteò lisô lengtè oæ zerï indicateó thaô nï datá shalì bå transferred®  
  4557. Thió conditioî shalì noô bå considereä aó aî error.
  4558.  
  4559.   Thå MODÅ SELECÔ parameteò lisô (Tablå 8-14© containó á four-bytå header¬ 
  4560. followeä bù zerï oò morå blocë descriptors¬ followeä bù thå vendoò uniqu堍
  4561. parameters¬ iæ any.
  4562. .paŠ                                  Table 8-14
  4563.                           MODE SELECT Parameter List
  4564.  
  4565. ==============================================================================
  4566. Byte |                        MODE SELECT Header                             |
  4567. ==============================================================================
  4568.  0   |                           Reserved                                    |
  4569. -----|-----------------------------------------------------------------------|
  4570.  1   |                           Medium Type                                 |
  4571. -----|-----------------------------------------------------------------------|
  4572.  2   |                           Reserved                                    |
  4573. -----|-----------------------------------------------------------------------|
  4574.  3   |                           Block Descriptor Length                     |
  4575. ==============================================================================
  4576.      |                        Blocë  Descriptoò(s)                           |
  4577. ==============================================================================
  4578.  0   |                           Density Code                                |
  4579. -----|-----------------------------------------------------------------------|
  4580.  1   |                           Number of Blocks (MSB)                      |
  4581. -----|-----------------------------------------------------------------------|
  4582.  2   |                           Number of Blocks                            |
  4583. -----|-----------------------------------------------------------------------|
  4584.  3   |                           Number of Blocks (LSB)                      |
  4585. -----|-----------------------------------------------------------------------|
  4586.  4   |                           Reserved                                    |
  4587. -----|-----------------------------------------------------------------------|
  4588.  5   |                           Block Length (MSB)                          |
  4589. -----|-----------------------------------------------------------------------|
  4590.  6   |                           Block Length                                |
  4591. -----|-----------------------------------------------------------------------|
  4592.  7   |                           Block Length (LSB)                          |
  4593. ==============================================================================
  4594.      |                        Vendor Unique Parameter(s)                     |
  4595. ==============================================================================
  4596. 0 _ n|                           Vendor Unique                               |
  4597.      |                           Parameter Byte(s)                           |
  4598. ==============================================================================
  4599. .paŠ.fo Section 8                        93.1
  4600.   Code values for the mediuí typå field are defined in Table 8-14.1.
  4601.  
  4602.                                  Table 8-14.1
  4603.                        Direct-access Medium Type Codes
  4604.  
  4605. ==============================================================================
  4606.   Code Value                       Medium Type
  4607.   ----------  ----------------------------------------------------------------
  4608.      00H      Default medium type (currently mounted medium type)
  4609.      01H      Flexible disk, single-sided; unspecified medium
  4610.      02H      Flexible disk, double-sided; unspecified medium
  4611.          
  4612.                                  Flexible Disks
  4613.               Diameter    Bit Density  Track Density  Number    Reference
  4614.               mm (inch)   Bits/Radian  /mm (/inch)    Of Sides  Standard
  4615.               ----------  -----------  -------------  --------  --------------
  4616.      05H      200 (8.0)      6 631       1.9 (48)        1      X3.73-1980
  4617.      06H      200 (8.0)      6 631       1.9 (48)        2      X3B8-140
  4618.      09H      200 (8.0)     13 262       1.9 (48)        1      X3B8/78-139
  4619.      0AH      200 (8.0)     13 262       1.9 (48)        2      X3.121-1984
  4620.      0DH      130 (5.25)     3 979       1.9 (48)        1      X3.82-1980
  4621.      12H      130 (5.25)     7 958       1.9 (48)        2      X3.125-1984
  4622.      16H      130 (5.25)     7 958       3.8 (96)        2      X3.126-198X
  4623.      1AH      130 (5.25)    13 262       3.8 (96)        2      DIS 8630
  4624.      1EH       90 (3.5)      7 958       5.3 (135)       2      X3.137-198X
  4625.  
  4626.                          Direct-access Magnetic Tapes
  4627.               Width                Density       Reference
  4628.               mm. (Inch)   Tracks  FTPMM (FTPI)  Standard     Note
  4629.               -----------  ------  ------------  -----------  ----
  4630.      40H       6.3 (0.25)    12    394 (10 000)  X3B5/85-138   1
  4631.      44H       6.3 (0.25)    24    394 (10 000)  X3B5/85-138   1
  4632.  
  4633.   80H _ FFH   Vendor unique
  4634.   All others  Reserved
  4635. ==============================================================================
  4636. NOTES:
  4637.   (1©  Thå referenceä standarä ió foò unrecordeä miniaturå cartridgå media®  
  4638. Thå usagå referreä tï herå ió foò seriaì GCÒ recordinç usinç á formaô knowî aó 
  4639. QIC-100®  Sincå X3Bµ issueó á ne÷ documenô numbeò foò eacè revisioî oæ theiò 
  4640. workinç drafô document¬ pleaså contacô thå Chairmaî oæ X3Bµ foò thå latesô 
  4641. documenô number.
  4642.   (2)  See appendix F for additional standards that may be applicable.
  4643.  
  4644.  
  4645.   Thå blocë descriptoò lengtè specifieó thå lengtè iî byteó oæ alì thå bloc렍
  4646. descriptors®  Iô ió equaì tï thå numbeò oæ blocë descriptoró timeó eight and 
  4647. doeó noô includå thå vendoò uniquå parameters¬ iæ any®  Á blocë descriptoò 
  4648. lengtè oæ zerï indicateó thaô nï blocë descriptoró shalì bå includeä iî th堍
  4649. parameteò list®  Thió conditioî shalì noô bå considereä aó aî error.
  4650.  
  4651.   Eacè blocë descriptoò specifieó thå mediuí characteristicó foò alì oò parô 
  4652. oæ á logicaì unit®  Eacè blocë descriptoò containó á densitù code¬ á numbeò o栍
  4653. blocks¬ anä á blocë length.
  4654. .paŠ.fo Section 8                           93.2
  4655.   Code values for the density code field shall be assigned as follows:
  4656.  
  4657.   00H         Default (default density of medium)
  4658.   01H         Flexible disk, single-density
  4659.   02H         Flexible disk, double-density
  4660.   03H _ 7FH   Reserved
  4661.   80H _ FFH   Vendor unique
  4662.  
  4663.   Thå numbeò oæ blockó fielä specifieó thå numbeò oæ logicaì blockó oî th堍
  4664. mediuí thaô meeô thå densitù codå anä blocë lengtè iî thå blocë descriptor®  Á 
  4665. numbeò oæ blockó oæ zerï indicateó thaô alì oæ thå remaininç logicaì blockó o栍
  4666. thå logicaì uniô shalì havå thå mediuí characteristicó specifieä bù thå bloc렍
  4667. descriptor.
  4668.  
  4669.   Thå blocë lengtè specifieó thå lengtè iî byteó oæ eacè logicaì bloc렍
  4670. describeä bù thå blocë descriptor.
  4671. .paŠ.pn 94
  4672. .fo Section 8                            #
  4673.   8.1.8 RESERVE Command
  4674.  
  4675.      Peripheral Device Type:  Direct Access, Write-Once Read-Multiple, and
  4676.                               Read-Only Direct Access
  4677.         Operation Code Type:  Optional
  4678.              Operation Code:  16H
  4679.  
  4680.                                   Table 8-15
  4681.                                RESERVE Command
  4682.  
  4683. ==============================================================================
  4684.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  4685. Byte |        |        |        |        |        |        |        |        |
  4686. ==============================================================================
  4687.  0   |                           Operation Code                              | 
  4688. -----|-----------------------------------------------------------------------|
  4689.  1   | Logical Unit Number      | 3rdPty | Third Party Device ID    | Extent |
  4690. -----|-----------------------------------------------------------------------|
  4691.  2   |                           Reservation Identification                  |
  4692. -----|-----------------------------------------------------------------------|
  4693.  3   |                           Extent List Length (MSB)                    |
  4694. -----|-----------------------------------------------------------------------|
  4695.  4   |                           Extent List Length (LSB)                    |
  4696. -----|-----------------------------------------------------------------------|
  4697.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  4698. ==============================================================================
  4699.  
  4700.   Thå RESERVÅ commanä (Tablå 8-15© ió useä tï reservå logicaì unitó or¬ iæ th堍
  4701. extenô reservatioî optioî ió implemented¬ extentó withiî logicaì unitó foò th堍
  4702. uså oæ thå initiator®  Iæ third-partù reservatioî optioî ió implemented¬ th堍
  4703. logicaì unitó oò extentó maù bå reserveä foò anotheò specifieä SCSÉ device®  
  4704. Thå RESERVÅ anä RELEASÅ commandó providå thå basiã mechanisí foò contentio
  4705. resolution in multiple-initiator systems.
  4706.  
  4707.      8.1.8.± Logicaì Uniô Reservation.‚  Iæ thå extenô biô ió zero¬ thió 
  4708. commanä shalì requesô thaô thå entirå logicaì uniô bå reserveä foò th堍
  4709. exclusivå uså oæ thå initiatoò untiì thå reservatioî ió supercedeä bù anotheò 
  4710. valiä RESERVÅ commanä froí thå initiatoò thaô madå thå reservatioî oò unti젍
  4711. releaseä bù á RELEASÅ commanä froí thå samå initiator¬ bù á BUÓ DEVICÅ RESEÔ 
  4712. messagå froí anù initiator¬ oò bù á "hard¢ RESEÔ condition®  Á logicaì uniô 
  4713. reservatioî shalì noô bå granteä iæ thå logicaì uniô oò anù extenô ió reserve䠍
  4714. bù anotheò initiator®  Iô shalì bå permissiblå foò aî initiatoò tï reservå á 
  4715. logicaì uniô thaô ió currentlù reserveä bù thaô initiator®  Iæ thå extenô biô 
  4716. ió zero¬ thå reservatioî identificatioî anä thå extenô lisô lengtè shalì b堍
  4717. ignored.
  4718.  
  4719.   Iæ thå logicaì unit¬ oò anù extenô withiî thå logicaì uniô ió reserveä foò 
  4720. anotheò initiator¬ the targeô shalì responä bù either:
  4721.  
  4722.   (1)  returning á RESERVATIOΠCONFLICÔ statuó
  4723. 
  4724.   (2©  queuinç thå reservatioî requesô anä theî disconnectinç untiì al젍
  4725. previouslù queueä reservationó havå beeî releaseä anä thå logicaì uniô ió 
  4726. available¬ theî reconnectinç tï perforí thå reservation
  4727.  
  4728.   If¬ afteò honorinç thå reservation¬ anù otheò initiatoò theî subsequentlù Šattemptó tï perforí anù commanä oî thå reserveä logicaì uniô otheò thaî á 
  4729. RESERVÅ command¬ whicè maù bå queued¬ oò á RELEASÅ command¬ whicè shalì b堍
  4730. ignored¬ theî thå commanä shalì bå rejecteä witè RESERVATIOΠCONFLICÔ status® 
  4731.  
  4732.      8.1.8.² Extenô Reservatioî (Optional).‚  Thå reservatioî identificatio
  4733. provideó á meanó foò aî initiatoò tï identifù eacè extenô reservation®  Thió 
  4734. allowó aî initiatoò iî á multiplå taskinç environment¬ tï havå multipl堍
  4735. reservationó outstanding®  Thå reservatioî identificatioî ió useä iî th堍
  4736. RELEASÅ commanä tï specifù whicè reservatioî ió tï bå released®  Iô ió als
  4737. useä iî supercedinç RESERVÅ commandó tï specifù whicè reservatioî ió tï b堍
  4738. superceded.
  4739.  
  4740.   Iæ thå extenô reservatioî optioî ió implemented¬ theî thå extenô releas堍
  4741. optioî (seå 8.1.9.2© shalì alsï bå implemented®  Theså optionó permiô multipl堍
  4742. extentó withiî thå logicaì uniô tï bå reserved¬ eacè witè á separat堍
  4743. reservatioî type®
  4744.  
  4745.   Iæ thå extenô biô ió one¬ anä thå extenô reservatioî optioî ió implemented¬ 
  4746. then the target shall process the reservation request as followsº
  4747.  
  4748.   (1©  Thå extenô lisô shalì bå checkeä foò the numbeò oæ extentó iî th堍
  4749. reservatioî request®  Iæ thå extenô lisô lengtè ió zero¬ nï reservationó shal젍
  4750. bå changeä anä thió conditioî shalì noô bå treateä aó aî error®  Iæ thå extenô 
  4751. lisô containó morå extentó thaî arå supporteä oî thå logicaì unit¬ thå comman䠍
  4752. shalì bå terminateä witè á CHECË CONDITIOΠstatuó anä thå senså keù shalì b堍
  4753. seô tï ILLEGAÌ REQUEST®  Iæ thå extenô lisô containó morå extentó thaî ar堍
  4754. currentlù availablå oî thå logicaì unit¬ theî thå targeô shalì either:
  4755.      (a©  returî RESERVATIOΠCONFLICÔ statuó 
  4756.      (b©  queuå thå requesô anä disconnecô untiì sufficienô extentó arå mad堍
  4757.   available®  Wheî sufficienô extentó arå available¬ thå targeô shal젍
  4758.   reconnecô tï continuå processinç thå request.
  4759.  
  4760.   (2©  Thå extenô lisô shalì bå checkeä foò valiä extenô logicaì bloc렍
  4761. addresses®  Iæ anù logicaì blocë addresó ió invaliä foò thió logicaì unit¬ th堍
  4762. commanä shalì bå terminateä witè á CHECË CONDITIOΠstatuó anä thå senså keù 
  4763. shalì bå seô tï ILLEGAÌ REQUEST®  Thå extenô lisô shalì bå checkeä foò invali䠍
  4764. extenô overlapó (aó defineä bù reservatioî type© witè otheò extenô descriptoró 
  4765. iî thå extenô lisô anä iæ invaliä overlapó arå found¬ thå commanä shalì b堍
  4766. terminateä witè á CHECË CONDITIOΠstatuó anä thå senså keù shalì bå seô t
  4767. ILLEGAÌ REQUEST.
  4768.  
  4769.   (3©  Iæ thå requesteä reservatioî doeó noô conflicô witè anù activå oò 
  4770. previouslù requesteä reservation¬ thå extentó specifieä shalì bå reserve䠍
  4771. untiì supercedeä bù anotheò valiä RESERVÅ commanä froí thå initiatoò thaô mad堍
  4772. thå reservatioî oò untiì releaseä bù á RELEASÅ commanä froí thå sam堍
  4773. initiator¬ bù á BUÓ DEVICÅ RESEÔ messagå froí anù initiator¬ oò bù á "hard¢ 
  4774. RESEÔ condition®  Iæ eitheò oæ thå lasô twï conditionó occur¬ thå nexô comman䠍
  4775. froí eacè initiatoò shalì bå terminateä witè á CHECË CONDITIOΠstatuó anä th堍
  4776. senså keù shalì bå seô tï UNIÔ ATTENTION.
  4777.  
  4778.   (4©  Iæ thå reservatioî requesô conflictó witè á reservatioî alreadù activ堍
  4779. oò á reservatioî requesô thaô ió alreadù queued¬ theî thå targeô shalì either:
  4780.      (a)  return RESERVATION CONFLICT status
  4781.      (b©  queuå thå reservatioî anä disconnecô untiì iô ió alloweä tï b堍
  4782.   active®  Reservationó arå onlù madå activå wheî alì extentó arå freå froí 
  4783.   conflicô witè activå oò previouslù queueä reservations.Š
  4784.   Iæ thå extenô biô ió one¬ anä thå extenô reservatioî optioî ió noô 
  4785. implemented¬ theî thå RESERVÅ commanä shalì bå rejecteä witè CHECË CONDITIOЍ
  4786. statuó anä the senså keù shall be set to ILLEGAÌ REQUEST.
  4787.  
  4788.                                   Table 8-16
  4789.                       Data Format of Extent Descriptors
  4790.  
  4791. ==============================================================================
  4792.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  4793. Byte |        |        |        |        |        |        |        |        |
  4794. ==============================================================================
  4795.  0   |         Reserved                           | RelAdr | Reservation Type|
  4796. -----|-----------------------------------------------------------------------|
  4797.  1   |                           Number of Blocks (MSB)                      |
  4798. -----|-----------------------------------------------------------------------|
  4799.  2   |                           Number of Blocks                            |
  4800. -----|-----------------------------------------------------------------------|
  4801.  3   |                           Number of Blocks (LSB)                      |
  4802. -----|-----------------------------------------------------------------------|
  4803.  4   |                           Logical Block Address (MSB)                 |
  4804. -----|-----------------------------------------------------------------------|
  4805.  5   |                           Logical Block Address                       |
  4806. -----|-----------------------------------------------------------------------|
  4807.  6   |                           Logical Block Address                       |
  4808. -----|-----------------------------------------------------------------------|
  4809.  7   |                           Logical Block Address (LSB)                 |
  4810. ==============================================================================
  4811.  
  4812.   Thå sizå oæ thå extenô lisô shalì bå defineä bù thå extenô lisô lengt蠍
  4813. parameter®  Thå extenô lisô shalì consisô oæ zerï oò morå descriptoró aó show
  4814. iî Tablå 8-16®  Eacè extenô descriptoò defineó aî extenô beginninç aô th堍
  4815. specifieä logicaì blocë addresó foò thå specifieä numbeò oæ blocks®  Iæ th堍
  4816. numbeò oæ blockó ió zero¬ thå extenô shalì begiî aô thå specifieä logica젍
  4817. blocë addresó anä continuå througè thå lasô logicaì blocë addresó oî th堍
  4818. logicaì unit.
  4819.  
  4820.   Thå reservatioî typå fielä shalì determinå thå typå oæ reservatioî tï b堍
  4821. effecteä foò eacè extent®  Fouò typeó oæ reservationó arå possiblå aó follows:
  4822.  
  4823.   DB(1) DB(0)  Reservation Type
  4824.   ----- -----  ----------------
  4825.     1     °    Reaä Exclusive 
  4826.     0     1    Write Exclusive
  4827.     1     1    Exclusive Access
  4828.     0     0    Read Shared
  4829.  
  4830. Reaä Exclusive.‚  Whilå thió reservatioî ió active¬ nï otheò initiatoò shalì b堍
  4831. permitteä reaä operationó tï thå indicateä extent®  Thió reservatioî shalì noô 
  4832. inhibiô writå operationó froí anù initiatoò oò conflicô witè á writå exclusiv堍
  4833. reservation» however¬ reaä exclusive¬ exclusivå access¬ anä reaä share䠍
  4834. reservationó that overlað thió extenô shalì conflicô witè thió reservation.
  4835.  
  4836. Writå Exclusive.‚  Whilå thió reservatioî ió active¬ nï otheò initiatoò shal젍
  4837. bå permitteä writå operationó tï thå indicateä extent®  Thió reservatioî shal젍
  4838. noô inhibiô reaä operationó froí anù initiatoò oò conflicô witè á rea䠍Šexclusivå reservatioî froí anù initiator®  Thió reservatioî shalì conflicô 
  4839. witè writå exclusive¬ exclusivå access¬ anä reaä shareä reservationó that 
  4840. overlað thió extent.
  4841.  
  4842. Exclusivå Access.‚  Whilå thió reservatioî ió active¬ nï otheò initiatoò shal젍
  4843. bå permitteä anù accesó tï thå indicateä extent®  Alì reservatioî typeó that 
  4844. overlað thió extenô shalì conflicô witè thió reservation.
  4845.  
  4846. Reaä Shared.‚  Whilå thió reservatioî ió active¬ nï writå operationó shalì b堍
  4847. permitteä bù anù initiatoò tï thå indicateä extent®  Thió reservatioî shal젍
  4848. noô inhibiô reaä operationó froí anù initiatoò oò conflicô witè á reaä share䠍
  4849. reservation®  Reaä exclusive¬ writå exclusive¬ anä exclusivå accesó 
  4850. reservationó thaô overlað witè thió extenô shalì conflicô witè thió 
  4851. reservation.
  4852.  
  4853.   Iæ thå relativå addresó biô ió one¬ thå logicaì blocë addresó shalì b堍
  4854. treateä aó á two'ó complemenô displacement®  Thió displacemenô shalì bå adde䠍
  4855. tï thå logicaì blocë addresó lasô accesseä oî thå logicaì uniô tï forí th堍
  4856. logicaì blocë addresó foò thió extent®  Thió featurå ió onlù availablå whe
  4857. linkinç commandó anä requireó thaô á previouó commanä iî thå linkeä grouð haó 
  4858. accesseä á logicaì blocë oî thå logicaì unit» iæ not¬ thå RESERVÅ comman䠍
  4859. shalì bå terminateä witè á CHECË CONDITIOΠstatuó anä thå senså keù shalì b堍
  4860. seô tï ILLEGAÌ REQUEST.
  4861.  
  4862.   Iæ aî initiatoò attemptó á commanä tï á logicaì blocë that haó bee
  4863. reserveä anä thaô accesó ió prohibiteä bù thå reservation¬ thå commanä shal젍
  4864. noô bå performeä anä thå commanä shalì bå terminateä witè á RESERVATIOЍ
  4865. CONFLICÔ status®  Iæ á reservatioî conflicô precludeó anù parô oæ thå command¬ 
  4866. nonå oæ thå commanä shalì bå performed®  COPÙ commandó shalì bå terminate䠍
  4867. witè á CHECË CONDITIOΠstatuó anä thå senså keù shalì bå seô tï DATÁ PROTECÔ 
  4868. iæ anù parô oæ thå copù operatioî ió prohibiteä bù aî activå reservation®  I栍
  4869. anù extenô iî á logicaì uniô ió reserveä iî anù way¬ á FORMAÔ UNIÔ comman䠍
  4870. shalì bå rejecteä witè á RESERVATIOΠCONFLICÔ status.
  4871.  
  4872.      8.1.8.³ Thirä Partù Reservatioî (Optional).‚  Thå third-partù reservatio
  4873. optioî foò thå RESERVÅ commanä allowó aî initiatoò tï reservå á logicaì uniô 
  4874. oò extentó withiî á logicaì uniô foò anotheò SCSÉ device®  Thió optioî ió 
  4875. intendeä foò uså iî multiple-initiatoò systemó thaô uså thå COPÙ command®  Anù 
  4876. targeô thaô implementó thå third-partù reservatioî optioî shalì alsï implemenô 
  4877. thå third-partù releaså optioî (seå 8.1.9.3).
  4878.  
  4879.   Iæ thå third-partù (3rdPty© biô ió zero¬ theî thå third-partù reservatio
  4880. optioî ió noô requested®  Iæ thå 3rdPtù biô ió onå anä thå third-partù 
  4881. reservatioî optioî ió implemented¬ theî thå RESERVÅ commanä shalì reservå th堍
  4882. specifieä logicaì uniô oò extentó foò thå SCSÉ devicå specifieä iî thå third-
  4883. partù devicå IÄ field®  Thå targeô shalì preservå thå reservatioî untiì iô ió 
  4884. supercedeä bù anotheò valiä RESERVÅ commanä froí thå initiatoò thaô madå th堍
  4885. reservatioî oò untiì iô ió releaseä bù thå samå initiator¬ bù á BUÓ DEVICÅ 
  4886. RESEÔ messagå froí anù initiator¬ oò á "hard¢ RESEÔ condition®  Thå targeô 
  4887. shalì ignorå anù attempô tï releaså thå reservatioî madå bù anù otheò 
  4888. initiator.
  4889.  
  4890.   Iæ thå 3rdPtù biô ió onå anä thå third-partù reservatioî optioî ió noô 
  4891. implemented¬ theî thå targeô shalì rejecô thå RESERVÅ commanä witè a CHECË 
  4892. CONDITIOΠstatuó anä the senså keù shall be set to ILLEGAÌ REQUEST® 
  4893. Š     8.1.8.´ Supercedinç Reservations.‚  Aî initiatoò thaô holdó á currenô 
  4894. reservatioî maù modifù thaô reservatioî bù issuinç anotheò RESERVÅ commanä t
  4895. thå samå logicaì uniô and¬ iæ thå extenô biô ió one¬ usinç thå sam堍
  4896. reservatioî identification®  Thå supercedinç RESERVÅ commanä shalì releaså th堍
  4897. previouó reservatioî statå wheî thå ne÷ reservatioî requesô ió granted®  Th堍
  4898. previouó reservatioî shalì noô bå modifieä iæ thå ne÷ reservatioî requesô 
  4899. cannoô bå granted®  Iæ thå supercedinç reservatioî cannoô bå granteä becaus堍
  4900. oæ conflictó witè á previouó activå reservatioî (otheò thaî thå reservatio
  4901. beinç superceded)¬ theî thå targeô shalì either:
  4902.  
  4903.   (1)  return RESERVATION CONFLICT status
  4904.  
  4905.   (2©  queuå thå reservatioî requesô anä disconnecô untiì iô ió alloweä tï b堍
  4906. active®  Thå reservatioî requesô shalì bå madå activå wheî iô ió freå froí 
  4907. conflict with all active reservations.  Á supercedinç reservatioî takeó 
  4908. priority over any previously queued reservation request.
  4909.  
  4910. IMPLEMENTORÓ NOTEº  Supercedinç reservationó arå principallù intendeä tï allo÷ 
  4911. thå SCSÉ devicå IÄ tï bå changeä oî á reservatioî usinç thå third-partù 
  4912. reservatioî option®  Thió capabilitù ió necessarù foò certaiî situationó whe
  4913. usinç thå COPÙ command.
  4914.  
  4915.   8.1.9 RELEASE Command
  4916.  
  4917.      Peripheral Device Type:  Direct Access, Write-Once Read-Multiple, and
  4918.                               Read-Only Direct Access
  4919.         Operation Code Type:  Optional
  4920.              Operation Code:  17H
  4921.  
  4922.                                   Table 8-17
  4923.                                RELEASE Command
  4924.  
  4925. ==============================================================================
  4926.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  4927. Byte |        |        |        |        |        |        |        |        |
  4928. ==============================================================================
  4929.  0   |                           Operation Code                              | 
  4930. -----|-----------------------------------------------------------------------|
  4931.  1   | Logical Unit Number      | 3rdPty | Third Party Device ID    | Extent |
  4932. -----|-----------------------------------------------------------------------|
  4933.  2   |                           Reservation Identification                  |
  4934. -----|-----------------------------------------------------------------------|
  4935.  3   |                           Reserved                                    |
  4936. -----|-----------------------------------------------------------------------|
  4937.  4   |                           Reserved                                    |
  4938. -----|-----------------------------------------------------------------------|
  4939.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  4940. ==============================================================================
  4941.  
  4942.   Thå RELEASÅ commanä (Tablå 8-17© ió useä tï releaså previouslù reserve䠍
  4943. logicaì units¬ or¬ iæ thå extenô releaså optioî ió implemented¬ previouslù 
  4944. reserveä extentó withiî logicaì units®  Iô ió noô aî erroò foò aî initiatoò t
  4945. attempô tï releaså á reservatioî thaô ió noô currentlù active®  Iî thió case¬ 
  4946. the target returns GOOD status without altering any other reservation.
  4947.  
  4948.      8.1.9.± Logicaì Uniô Release.‚  Iæ thå extenô biô ió zero¬ thió comman䠍Šshalì causå thå targeô tï terminatå alì logicaì uniô anä extenô reservationó 
  4949. thaô arå activå froí thå initiatoò tï thå specifieä logicaì unit.
  4950.  
  4951.      8.1.9.² Extenô Releaså (Optional).‚  Iæ thå extenô biô ió onå anä th堍
  4952. extenô releaså optioî ió noô implemented¬ theî thå RELEASÅ commanä shalì b堍
  4953. terminateä witè á CHECË CONDITIOΠstatuó anä thå senså keù shalì bå seô t
  4954. ILLEGAÌ REQUEST®  Thió optioî shalì bå implementeä iæ thå extenô reservatio
  4955. optioî (seå 8.1.8.2© ió implemented.
  4956.  
  4957.   Iæ thå extenô biô ió onå anä thå extenô releaså optioî ió implemented¬ thió 
  4958. commanä shalì causå anù reservatioî froí thå requestinç initiatoò witè á 
  4959. matchinç reservatioî identificatioî tï bå terminated®  Otheò reservationó froí 
  4960. thå requestinç initiatoò shalì remaiî iî effect.
  4961.  
  4962.   Iæ thå logicaì uniô queueó reservations¬ theî wheî á RELEASÅ commanä ió 
  4963. processed¬ thå reservatioî queuå shalì bå examineä oî á first-iî first-ouô 
  4964. basis®  Iæ therå arå onå oò morå reservationó iî thå queuå thaô caî no÷ b堍
  4965. activated¬ thå logicaì uniô shalì firsô disconnecô froí thå initiator®  Iô 
  4966. shalì theî successivelù reconnecô witè eacè initiatoò whoså queueä reservatio
  4967. maù no÷ bå activated®  Á queueä reservatioî requesô shalì noô bå activateä i栍
  4968. iô conflictó witè anù previouslù queueä reservation®  Afteò firsô grantinç al젍
  4969. possiblå queueä reservations¬ thå uniô shalì reconnecô witè thå initiatoò o栍
  4970. thå RELEASÅ command to terminate the command.
  4971.  
  4972.   Iæ á logicaì uniô thaô queueó reservationó receiveó á RELEASÅ commanä froí á 
  4973. seconä initiatoò whilå iô ió disconnecteä durinç processinç oæ á previouó 
  4974. RELEASÅ command¬ iô shalì theî disconnecô froí thå seconä initiatoò an䠍
  4975. suspenä processinç oæ thå seconä RELEASÅ untiì afteò reconnectioî witè th堍
  4976. firsô initiator¬ oò untiì iô ió determineä thaô reconnectioî haó failed.
  4977.  
  4978.      8.1.9.³ Thirä Partù Releaså (Optional).‚  Thå third-partù releaså optio
  4979. foò thå RELEASÅ commanä allowó aî initiatoò tï releaså á logicaì uniô oò 
  4980. extentó withiî á logicaì uniô thaô werå previouslù reserveä usinç thå third-
  4981. partù reservatioî optioî (seå 8.1.8.3)®  Thió optioî shalì bå implementeä i栍
  4982. thå third-partù reservatioî optioî ió implemented®  Thió optioî ió intende䠍
  4983. foò uså iî multiple-initiatoò systemó thaô uså thå COPÙ command.
  4984.  
  4985.   Iæ thå third-partù (3rdPty© biô ió zero¬ theî thå third-partù releaså optio
  4986. ió noô requested®  Iæ thå 3rdPtù biô ió onå anä thå targeô implementó th堍
  4987. third-partù releaså option¬ theî thå targeô shalì releaså thå specifie䠍
  4988. logicaì uniô oò extents¬ buô onlù iæ thå reservatioî waó madå usinç thå third-
  4989. partù reservatioî optioî bù thå initiatoò thaô ió requestinç thå releaså foò 
  4990. thå samå SCSÉ devicå aó specifieä iî thå third-partù devicå IÄ field.
  4991.  
  4992.   Iæ thå 3rdPtù biô ió onå anä thå targeô doeó noô implemenô thå third-partù 
  4993. releaså option¬ theî thå targeô shalì terminatå thå commanä witè á CHECË 
  4994. CONDITIOΠstatuó anä thå senså keù shall be seô tï ILLEGAÌ REQUEST.
  4995. .paŠ  8.1.10 MODE SENSE Command
  4996.  
  4997.      Peripheral Device Type:  Direct Access
  4998.         Operation Code Type:  Optional
  4999.              Operation Code:  1AH
  5000.  
  5001.                                   Table 8-18
  5002.                               MODE SENSE Command
  5003.  
  5004. ==============================================================================
  5005.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  5006. Byte |        |        |        |        |        |        |        |        |
  5007. ==============================================================================
  5008.  0   |                           Operation Code                              | 
  5009. -----|-----------------------------------------------------------------------|
  5010.  1   | Logical Unit Number      |                  Reserved                  |
  5011. -----|-----------------------------------------------------------------------|
  5012.  2   |                           Reserved                                    |
  5013. -----|-----------------------------------------------------------------------|
  5014.  3   |                           Reserved                                    |
  5015. -----|-----------------------------------------------------------------------|
  5016.  4   |                           Allocation Length                           |
  5017. -----|-----------------------------------------------------------------------|
  5018.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  5019. ==============================================================================
  5020.  
  5021.   Thå MODÅ SENSÅ commanä (Tablå 8-18© provideó á meanó foò á targeô tï reporô 
  5022. itó medium¬ logicaì unit¬ oò peripheraì devicå parameteró tï thå initiator®  
  5023. Iô ió á complementarù commanä tï thå MODÅ SELECÔ commanä foò supporô oæ mediuí 
  5024. thaô maù contaiî multiplå blocë lengthó oò densities.
  5025.  
  5026.   Thå allocatioî lengtè specifieó thå numbeò oæ byteó thaô thå initiatoò haó 
  5027. allocateä foò returneä MODÅ SENSÅ data®  Aî allocatioî lengtè oæ zer
  5028. indicateó thaô nï MODÅ SENSÅ datá shalì bå transferred®  Thió conditioî shal젍
  5029. noô bå considereä aó aî error®  Anù otheò valuå indicateó thå maximuí numbeò 
  5030. oæ byteó thaô shalì bå transferred®  Thå targeô shalì terminatå thå DATÁ IЍ
  5031. phaså wheî allocatioî lengtè byteó havå beeî transferreä oò wheî alì availabl堍
  5032. MODÅ SENSÅ datá have beeî transferreä tï thå initiator, whichever is less®
  5033.  
  5034.   Thå MODÅ SENSÅ datá (Tablå 8-19© containó á four-bytå header¬ followeä bù 
  5035. zerï oò morå eight-bytå blocë descriptors¬ followeä bù thå vendoò uniqu堍
  5036. parameters¬ iæ any® 
  5037. .paŠ                                  Table 8-19
  5038.                                MODÅ SENSÅ Data
  5039.  
  5040. ==============================================================================
  5041.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  5042. Byte |        |        |        |        |        |        |        |        |
  5043. ==============================================================================
  5044.  0   |                           Sense Data Length                           |
  5045. -----|-----------------------------------------------------------------------|
  5046.  1   |                           Medium Type                                 |
  5047. -----|-----------------------------------------------------------------------|
  5048.  2   |   WP   |                  Reserved                                    |
  5049. -----|-----------------------------------------------------------------------|
  5050.  3   |                           Block Descriptor Length                     |
  5051. ==============================================================================
  5052.      |                        Blocë Descriptoò(s)                            |
  5053. ==============================================================================
  5054.  0   |                           Density Code                                |
  5055. -----|-----------------------------------------------------------------------|
  5056.  1   |                           Number of Blocks (MSB)                      |
  5057. -----|-----------------------------------------------------------------------|
  5058.  2   |                           Number of Blocks                            |
  5059. -----|-----------------------------------------------------------------------|
  5060.  3   |                           Number of Blocks (LSB)                      |
  5061. -----|-----------------------------------------------------------------------|
  5062.  4   |                           Reserved                                    |
  5063. -----|-----------------------------------------------------------------------|
  5064.  5   |                           Block Length (MSB)                          |
  5065. -----|-----------------------------------------------------------------------|
  5066.  6   |                           Block Length                                |
  5067. -----|-----------------------------------------------------------------------|
  5068.  7   |                           Block Length (LSB)                          |
  5069. ==============================================================================
  5070.      |                        Vendor Unique Parameter(s)                     |
  5071. ==============================================================================
  5072. 0 _ n|                           Vendor Unique                               |
  5073.      |                           Parameter Byte(s)                           |
  5074. ==============================================================================
  5075.  
  5076.   Thå senså datá lengtè specifieó thå lengtè iî byteó oæ thå followinç MODÅ 
  5077. SENSÅ datá thaô ió availablå tï bå transferreä durinç thå DATÁ IΠphase®  Th堍
  5078. sense data length does not include itself.
  5079.  
  5080.   Code values for the medium type field are defined in Table 8-14.1.
  5081.  
  5082.   Á writå protecteä (WP© biô oæ zerï indicateó thaô thå mediuí ió writ堍
  5083. enabled®  Á WРbiô oæ onå indicateó thaô thå mediuí ió writå protected.
  5084.  
  5085.   Thå blocë descriptoò lengtè specifieó thå lengtè iî byteó oæ alì thå bloc렍
  5086. descriptors®  Iô ió equaì tï thå numbeò oæ blocë descriptoró timeó eight and 
  5087. doeó noô includå thå vendoò uniquå parameters¬ iæ any®  Á blocë descriptoò 
  5088. lengtè oæ zerï indicateó thaô nï blocë descriptoró shalì bå includeä iî th堍
  5089. parameteò list®  Thió conditioî shalì noô bå considereä aó aî error.
  5090.  
  5091.   Eacè blocë descriptoò specifieó thå mediuí characteristicó foò alì oò parô 
  5092. oæ á logicaì unit®  Eacè blocë descriptoò containó á densitù code¬ á numbeò o栍Šblocks¬ anä á blocë length.
  5093.  
  5094.   Code values for the density code field shall be assigned as follows:
  5095.  
  5096.   00H         Default (only one density supported)
  5097.   01H         Flexible disk, single density
  5098.   02H         Flexible disk, double density
  5099.   03H _ 7FH   Reserved
  5100.   80H _ FFH   Vendor unique
  5101.  
  5102.   Thå numbeò oæ blockó fielä specifieó thå numbeò oæ logicaì blockó oæ th堍
  5103. mediuí thaô meetó thå densitù codå anä blocë lengtè iî thå blocë descriptor®  
  5104. Á numbeò oæ blockó oæ zerï indicateó thaô alì oæ thå remaininç logicaì blockó 
  5105. oæ thå logicaì uniô havå thå mediuí characteristicó specifieä bù thå bloc렍
  5106. descriptor.
  5107.  
  5108.   The block length specifies the length in bytes of each logical block.
  5109.  
  5110.   8.1.11 START/STOP UNIT Command
  5111.  
  5112.      Peripheral Device Type:  Direct Access, Write-Once Read-Multiple, and
  5113.                               Read-Only Direct Access
  5114.         Operation Code Type:  Optional
  5115.              Operation Code:  1BH
  5116.  
  5117.                                   Table 8-20
  5118.                            START/STOP UNIT Command
  5119.  
  5120. ==============================================================================
  5121.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  5122. Byte |        |        |        |        |        |        |        |        |
  5123. ==============================================================================
  5124.  0   |                           Operation Code                              | 
  5125. -----|-----------------------------------------------------------------------|
  5126.  1   | Logical Unit Number      |                  Reserved         | Immed  |
  5127. -----|-----------------------------------------------------------------------|
  5128.  2   |                           Reserved                                    |
  5129. -----|-----------------------------------------------------------------------|
  5130.  3   |                           Reserved                                    |
  5131. -----|-----------------------------------------------------------------------|
  5132.  4   |                           Reserved                           |  Start |
  5133. -----|-----------------------------------------------------------------------|
  5134.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  5135. ==============================================================================
  5136.  
  5137.   Thå START/STOРUNIÔ commanä (Tablå 8-20© requestó thaô thå targeô enablå oò 
  5138. disablå the logicaì uniô foò furtheò operations.
  5139.  
  5140.   Aî immediatå (Immed© biô oæ onå indicateó thaô statuó shalì bå returneä aó 
  5141. sooî aó thå operatioî ió initiated®  Aî Immeä biô oæ zerï indicateó thaô 
  5142. statuó shalì bå returneä afteò thå operatioî ió completed.
  5143.  
  5144.   Á starô biô oæ onå requestó thå logicaì uniô bå madå readù foò use®  Á starô 
  5145. biô oæ zerï requestó thaô thå logicaì uniô bå stopped®
  5146. .paŠ  8.1.12 PREVENT/ALLOW MEDIUM REMOVAL Command
  5147.  
  5148.      Peripheral Device Type:  Direct Access, Write-Once Read-Multiple, and
  5149.                               Read-Only Direct Access
  5150.         Operation Code Type:  Optional
  5151.              Operation Code:  1EH
  5152.  
  5153.                                   Table 8-21
  5154.                      PREVENT/ALLOW MEDIUM REMOVAL Command
  5155.  
  5156. ==============================================================================
  5157.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  5158. Byte |        |        |        |        |        |        |        |        |
  5159. ==============================================================================
  5160.  0   |                           Operation Code                              | 
  5161. -----|-----------------------------------------------------------------------|
  5162.  1   | Logical Unit Number      |                  Reserved                  |
  5163. -----|-----------------------------------------------------------------------|
  5164.  2   |                           Reserved                                    |
  5165. -----|-----------------------------------------------------------------------|
  5166.  3   |                           Reserved                                    |
  5167. -----|-----------------------------------------------------------------------|
  5168.  4   |                           Reserved                           | Prevent|
  5169. -----|-----------------------------------------------------------------------|
  5170.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  5171. ==============================================================================
  5172.  
  5173.   Thå PREVENT/ALLO× MEDIUÍ REMOVAÌ commanä (Tablå 8-21© requestó thaô th堍
  5174. targeô enablå oò disablå thå removaì oæ thå mediuí iî thå logicaì unit.
  5175.  
  5176.   Á prevenô biô oæ onå shalì inhibiô mechanismó thaô normallù allo÷ removaì o栍
  5177. thå medium®  Á prevenô biô oæ zerï shalì allo÷ removaì oæ thå medium.
  5178.  
  5179.   Thió preventioî oæ mediuí removaì conditioî shalì terminatå upoî receipô o栍
  5180. á PREVENT/ALLO× MEDIUÍ REMOVAÌ commanä witè thå prevenô biô seô tï zero¬ oò bù 
  5181. thå receipô oæ á BUÓ DEVICÅ RESEÔ messagå froí anù initiatoò oò bù á "hard¢ 
  5182. RESEÔ condition.
  5183. .paŠ8.² Grouð ± Commandó foò Direct-Accesó Devices.‚  Thå Grouð ± commandó foò 
  5184. direct-accesó deviceó shalì bå aó showî iî Tablå 8-22.
  5185.  
  5186.                                   Table 8-22
  5187.                   Group 1 Commands for Direct-Access Devices
  5188.  
  5189. ==============================================================================
  5190. Operation
  5191.   Code      Type   Command Name                       Section
  5192. ------------------------------------------------------------------------------
  5193.    20H       V
  5194.    21H       V
  5195.    22H       V
  5196.    23H       V
  5197.    24H       V
  5198.    25H       E     READ CAPACITY                      8.2.1
  5199.    26H       V
  5200.    27H       V
  5201.    28H       E     READ                               8.2.2
  5202.    29H       V
  5203.    2AH       E     WRITE                              8.2.3
  5204.    2BH       O     SEEK                               8.2.4
  5205.    2CH       V
  5206.    2DH       V
  5207.    2EH       O     WRITE AND VERIFY                   8.2.5
  5208.    2FH       O     VERIFY                             8.2.6
  5209.    30H       O     SEARCH DATA HIGH                   8.2.7.1
  5210.    31H       O     SEARCH DATA EQUAL                  8.2.7.2
  5211.    32H       O     SEARCH DATA LOW                    8.2.7.3
  5212.    33H       O     SET LIMITS                         8.2.8
  5213.    34H       R
  5214.    35H       R
  5215.    36H       R
  5216.    37H       R
  5217.    38H       R
  5218.    39H       O     COMPARE                            7.2.1
  5219.    3AH       O     COPY AND VERIFY                    7.2.2
  5220.    3BH       R
  5221.    3CH       R
  5222.    3DH       R
  5223.    3EH       R
  5224.    3FH       R
  5225. ==============================================================================
  5226.  
  5227. Key: M  =  Command implementation is mandatory.
  5228.      E  =  Commanä implementatioî ió requireä foò SCSÉ deviceó thaô supporô 
  5229.            device-independenô self-configurinç software.
  5230.      O  =  Command implementatioî is optional.
  5231.      R  =  Operation code is reserved for future standardization.
  5232.      V  =  Operation code is available for vendor unique commands.
  5233. .paŠ  8.2.1 READ CAPACITY Command
  5234.  
  5235.      Peripheral Device Type:  Direct Access, Write-Once Read-Multiple, and
  5236.                               Read-Only Direct Access
  5237.         Operation Code Type:  Extended
  5238.              Operation Code:  25H
  5239.  
  5240.                                   Table 8-23
  5241.                             READ CAPACITY Command
  5242.  
  5243. ==============================================================================
  5244.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  5245. Byte |        |        |        |        |        |        |        |        |
  5246. ==============================================================================
  5247.  0   |                           Operation Code                              | 
  5248. -----|-----------------------------------------------------------------------|
  5249.  1   | Logical Unit Number      |             Reserved              | RelAdr |
  5250. -----|-----------------------------------------------------------------------|
  5251.  2   |                           Logical Block Address (MSB)                 |
  5252. -----|-----------------------------------------------------------------------|
  5253.  3   |                           Logical Block Address                       |
  5254. -----|-----------------------------------------------------------------------|
  5255.  4   |                           Logical Block Address                       |
  5256. -----|-----------------------------------------------------------------------|
  5257.  5   |                           Logical Block Address (LSB)                 |
  5258. -----|-----------------------------------------------------------------------|
  5259.  6   |                           Reserved                                    |
  5260. -----|-----------------------------------------------------------------------|
  5261.  7   |                           Reserved                                    |
  5262. -----|-----------------------------------------------------------------------|
  5263.  8   | Vendor Unique   |         Reserved                           |  PMI   |
  5264. -----|-----------------------------------------------------------------------|
  5265.  9   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  5266. ==============================================================================
  5267.  
  5268.   Thå REAÄ CAPACITÙ commanä (Tablå 8-23© provideó á meanó foò thå initiatoò t
  5269. requesô informatioî regardinç thå capacitù oæ thå logicaì unit.
  5270.  
  5271.   Á partiaì mediuí indicatoò (PMI© biô oæ zerï indicateó thaô thå informatio
  5272. returneä iî thå REAÄ CAPACITÙ datá shalì bå thå logicaì blocë addresó an䠍
  5273. blocë lengtè (iî bytes© oæ thå lasô logicaì blocë oæ thå logicaì unit®  Th堍
  5274. logicaì blocë addresó iî thå commanä descriptoò blocë shalì bå tï seô zerï foò 
  5275. thió option.
  5276.  
  5277.   Á PMÉ biô oæ onå indicateó thaô thå informatioî returneä shalì bå th堍
  5278. logicaì blocë addresó anä blocë lengtè (iî bytes© oæ thå lasô logicaì bloc렍
  5279. address after which á substantiaì delaù iî datá transfeò wilì bå encountereä.  
  5280. Thió logicaì blocë addresó shalì bå greateò thaî oò equaì tï thå logicaì bloc렍
  5281. addresó specifieä iî thå commanä descriptoò block®  (Implementoró noteº  Thió 
  5282. functioî ió intendeä tï assisô storagå managemenô softwarå iî determinin砍
  5283. whetheò therå ió sufficienô spacå oî thå currenô track¬ cylinder¬ etc® t
  5284. contaiî á frequentlù accesseä datá structurå sucè aó á filå directorù oò fil堍
  5285. index.)
  5286.  
  5287.   Thå eighô byteó oæ REAÄ CAPACITÙ datá showî iî Tablå 8-24 shalì bå senô 
  5288. durinç thå DATÁ IΠphaså oæ thå command.Š                                  Table 8-24
  5289.                               REAÄ CAPACITÙ Data
  5290.  
  5291. ==============================================================================
  5292. Byte |                        Description                                    |
  5293. ==============================================================================
  5294.  0   |                           Logical Block Address (MSB)                 |
  5295. -----|-----------------------------------------------------------------------|
  5296.  1   |                           Logical Block Address                       |
  5297. -----|-----------------------------------------------------------------------|
  5298.  2   |                           Logical Block Address                       |
  5299. -----|-----------------------------------------------------------------------|
  5300.  3   |                           Logical Block Address (LSB)                 |
  5301. -----|-----------------------------------------------------------------------|
  5302.  4   |                           Block Length (MSB)                          |
  5303. -----|-----------------------------------------------------------------------|
  5304.  5   |                           Block Length                                |
  5305. -----|-----------------------------------------------------------------------|
  5306.  6   |                           Block Length                                |
  5307. -----|-----------------------------------------------------------------------|
  5308.  7   |                           Block Length (LSB)                          |
  5309. ==============================================================================
  5310.  
  5311.   8.2.2 READ Command
  5312.  
  5313.      Peripheral Device Type:  Direct Access
  5314.         Operation Code Type:  Extended
  5315.              Operation Code:  28H
  5316.  
  5317.                                   Table 8-25
  5318.                                  READ Command
  5319.  
  5320. ==============================================================================
  5321.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  5322. Byte |        |        |        |        |        |        |        |        |
  5323. ==============================================================================
  5324.  0   |                           Operation Code                              | 
  5325. -----|-----------------------------------------------------------------------|
  5326.  1   | Logical Unit Number      |             Reserved              | RelAdr |
  5327. -----|-----------------------------------------------------------------------|
  5328.  2   |                           Logical Block Address (MSB)                 |
  5329. -----|-----------------------------------------------------------------------|
  5330.  3   |                           Logical Block Address                       |
  5331. -----|-----------------------------------------------------------------------|
  5332.  4   |                           Logical Block Address                       |
  5333. -----|-----------------------------------------------------------------------|
  5334.  5   |                           Logical Block Address (LSB)                 |
  5335. -----|-----------------------------------------------------------------------|
  5336.  6   |                           Reserved                                    |
  5337. -----|-----------------------------------------------------------------------|
  5338.  7   |                           Transfer Length (MSB)                       |
  5339. -----|-----------------------------------------------------------------------|
  5340.  8   |                           Transfer Length (LSB)                       |
  5341. -----|-----------------------------------------------------------------------|
  5342.  9   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  5343. ==============================================================================Š  Thå REAÄ commanä (Tablå 8-25© requestó thaô thå targeô transfeò datá tï th堍
  5344. initiator.
  5345.  
  5346.   Thå logicaì blocë addresó specifieó thå logicaì blocë at which thå rea䠍
  5347. operatioî shalì begin.
  5348.  
  5349.   Thå transfeò lengtè specifieó thå numbeò oæ contiguouó logicaì blockó o栍
  5350. datá thaô shalì bå transferred®  Á transfeò lengtè oæ zerï indicateó thaô n
  5351. logicaì blockó shalì bå transferred®  Thió conditioî shalì noô bå considere䠍
  5352. aó aî error®  Anù otheò valuå indicateó thå numbeò oæ logicaì blockó thaô 
  5353. shalì bå transferred.
  5354.  
  5355.   Thå mosô recenô datá valuå writteî iî thå addresseä logicaì blocë shalì b堍
  5356. returned.
  5357.  
  5358.   Thió commanä shalì bå terminateä witè á RESERVATIOΠCONFLICÔ statuó iæ anù 
  5359. reservatioî accesó conflicô (seå 8.1.8© existó anä nï datá shalì bå read.
  5360.  
  5361.   Iæ anù oæ thå followinç conditionó occur¬ thió commanä shalì returî á CHECË 
  5362. CONDITIOΠstatuó anä thå senså keù shalì bå seô aó indicateä iî thå followin砍
  5363. table®  Thió tablå doeó noô providå aî exhaustivå enumeratioî oæ al젍
  5364. conditionó thaô maù causå thå CHECË CONDITIOΠstatus.
  5365.  
  5366.  
  5367. Condition                                         Sense Key
  5368. ----------------------------------------------    ----------------------------
  5369. Invalid logical block address                     ILLEGAL REQUEST (see note)
  5370.  
  5371. Target reset or medium change
  5372. since last command from this initiator            UNIT ATTENTION
  5373.  
  5374. Unrecovered read error                            MEDIUM ERROR
  5375.  
  5376. Recoverablå reaä erroò                            RECOVEREÄ ERROR
  5377.  
  5378. Overrun or other error that might
  5379. be resolved by repeating the command              ABORTED COMMAND
  5380.  
  5381.  
  5382. NOTEº  Thå extendeä senså informatioî byteó shalì bå seô tï thå logicaì bloc렍
  5383. addresó oæ thå firsô invaliä address® 
  5384. .paŠ  8.2.3 WRITE Command
  5385.  
  5386.      Peripheral Device Type:  Direct Access
  5387.         Operation Code Type:  Extended
  5388.              Operation Code:  2AH
  5389.  
  5390.                                   Table 8-26
  5391.                                 WRITE Command
  5392.  
  5393. ==============================================================================
  5394.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  5395. Byte |        |        |        |        |        |        |        |        |
  5396. ==============================================================================
  5397.  0   |                           Operation Code                              | 
  5398. -----|-----------------------------------------------------------------------|
  5399.  1   | Logical Unit Number      |             Reserved              | RelAdr |
  5400. -----|-----------------------------------------------------------------------|
  5401.  2   |                           Logical Block Address (MSB)                 |
  5402. -----|-----------------------------------------------------------------------|
  5403.  3   |                           Logical Block Address                       |
  5404. -----|-----------------------------------------------------------------------|
  5405.  4   |                           Logical Block Address                       |
  5406. -----|-----------------------------------------------------------------------|
  5407.  5   |                           Logical Block Address (LSB)                 |
  5408. -----|-----------------------------------------------------------------------|
  5409.  6   |                           Reserved                                    |
  5410. -----|-----------------------------------------------------------------------|
  5411.  7   |                           Transfer Length (MSB)                       |
  5412. -----|-----------------------------------------------------------------------|
  5413.  8   |                           Transfer Length (LSB)                       |
  5414. -----|-----------------------------------------------------------------------|
  5415.  9   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  5416. ==============================================================================
  5417.  
  5418.   Thå WRITÅ commanä (Tablå 8-26© requestó thaô thå targeô writå thå dat᠍
  5419. transferreä bù thå initiatoò tï thå medium.
  5420.  
  5421.   Thå logicaì blocë addresó specifieó thå logicaì blocë at which thå writ堍
  5422. operatioî shalì begin.
  5423.  
  5424.   Thå transfeò lengtè specifieó thå numbeò oæ contiguouó logicaì blockó o栍
  5425. datá thaô shalì bå transferred®  Á transfeò lengtè oæ zerï indicateó thaô n
  5426. logicaì blockó shalì bå transferred®  Thió conditioî shalì noô bå considere䠍
  5427. aó aî erroò anä nï datá shalì bå written®  Anù otheò valuå indicateó the 
  5428. numbeò oæ logicaì blockó that shalì bå transferred.
  5429.  
  5430.   Thió commanä shalì bå terminateä witè á RESERVATIOΠCONFLICÔ statuó iæ anù 
  5431. reservatioî accesó conflicô (seå 8.1.8© existó anä nï datá shalì bå written.
  5432.  
  5433.   Iæ anù oæ thå followinç conditionó occur¬ thió commanä shalì bå terminate䠍
  5434. witè á CHECË CONDITIOΠstatuó anä thå senså keù shalì bå seô aó indicateä i
  5435. thå followinç table®  Thió tablå doeó noô providå aî exhaustivå enumeratioî o栍
  5436. alì conditionó thaô maù causå thå CHECË CONDITIOΠstatus.
  5437. .paŠCondition                                         Sense Key
  5438. ----------------------------------------------    ----------------------------
  5439. Invalid logical block address                     ILLEGAL REQUEST (see note)
  5440.  
  5441. Target reset or medium change since the
  5442. last command from this initiator                  UNIT ATTENTION
  5443.  
  5444. Overrun or other error that might
  5445. be resolved by repeating the command              ABORTED COMMAND
  5446.  
  5447. NOTEº  Thå extendeä senså informatioî byteó shalì bå seô tï thå logicaì bloc렍
  5448. addresó oæ thå firsô invaliä address®  Iî thió case¬  nï datá shalì b堍
  5449. written oî thå logicaì unit® 
  5450.  
  5451.   8.2.4 SEEK Command
  5452.  
  5453.      Peripheral Device Type:  Direct Access, Write-Once Read-Multiple, and
  5454.                               Read-Only Direct Access
  5455.         Operation Code Type:  Optional
  5456.              Operation Code:  2BH
  5457.  
  5458.                                   Table 8-27
  5459.                                  SEEK Command
  5460.  
  5461. ==============================================================================
  5462.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  5463. Byte |        |        |        |        |        |        |        |        |
  5464. ==============================================================================
  5465.  0   |                           Operation Code                              | 
  5466. -----|-----------------------------------------------------------------------|
  5467.  1   | Logical Unit Number      |                  Reserved                  |
  5468. -----|-----------------------------------------------------------------------|
  5469.  2   |                           Logical Block Address (MSB)                 |
  5470. -----|-----------------------------------------------------------------------|
  5471.  3   |                           Logical Block Address                       |
  5472. -----|-----------------------------------------------------------------------|
  5473.  4   |                           Logical Block Address                       |
  5474. -----|-----------------------------------------------------------------------|
  5475.  5   |                           Logical Block Address (LSB)                 |
  5476. -----|-----------------------------------------------------------------------|
  5477.  6   |                           Reserved                                    |
  5478. -----|-----------------------------------------------------------------------|
  5479.  7   |                           Reserved                                    |
  5480. -----|-----------------------------------------------------------------------|
  5481.  8   |                           Reserved                                    |
  5482. -----|-----------------------------------------------------------------------|
  5483.  9   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  5484. ==============================================================================
  5485.  
  5486.   Thå SEEË commanä (Tablå 8-27© requestó thaô thå logicaì uniô seeë tï th堍
  5487. specifieä logicaì blocë address.
  5488. .paŠ  8.2.5 WRITE AND VERIFY Command
  5489.  
  5490.      Peripheral Device Type:  Direct Access
  5491.         Operation Code Type:  Optional
  5492.              Operation Code:  2EH
  5493.  
  5494.                                   Table 8-28
  5495.                            WRITE AND VERIFY Command
  5496.  
  5497. ==============================================================================
  5498.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  5499. Byte |        |        |        |        |        |        |        |        |
  5500. ==============================================================================
  5501.  0   |                           Operation Code                              | 
  5502. -----|-----------------------------------------------------------------------|
  5503.  1   | Logical Unit Number      |             Reserved     | BytChk | RelAdr |
  5504. -----|-----------------------------------------------------------------------|
  5505.  2   |                           Logical Block Address (MSB)                 |
  5506. -----|-----------------------------------------------------------------------|
  5507.  3   |                           Logical Block Address                       |
  5508. -----|-----------------------------------------------------------------------|
  5509.  4   |                           Logical Block Address                       |
  5510. -----|-----------------------------------------------------------------------|
  5511.  5   |                           Logical Block Address (LSB)                 |
  5512. -----|-----------------------------------------------------------------------|
  5513.  6   |                           Reserved                                    |
  5514. -----|-----------------------------------------------------------------------|
  5515.  7   |                           Transfer Length (MSB)                       |
  5516. -----|-----------------------------------------------------------------------|
  5517.  8   |                           Transfer Length (LSB)                       |
  5518. -----|-----------------------------------------------------------------------|
  5519.  9   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  5520. ==============================================================================
  5521.  
  5522.   Thå WRITÅ ANÄ VERIFÙ commanä (Tablå 8-28© requestó thaô thå targeô writå th堍
  5523. datá transferreä froí thå initiatoò tï thå mediuí anä theî verifù thaô th堍
  5524. datá ió correctlù written.
  5525.  
  5526.   Á bytå checë (BytChk© biô oæ zerï causeó thå verificatioî tï bå simplù á 
  5527. mediuí verificatioî (CRC¬ ECC¬ etc)®  Á BytChë biô oæ onå causeó á byte-by-
  5528. bytå comparå oæ datá writteî on thå peripheraì devicå anä thå datá transferre䠍
  5529. froí thå initiator®  Iæ thå comparå ió unsuccessfuì, thå commanä shalì b堍
  5530. terminateä witè á CHECË CONDITIOΠstatuó anä thå senså keù shalì bå seô t
  5531. MISCOMPARE.
  5532.  
  5533.   Thå logicaì blocë addresó specifieó thå logicaì blocë aô whicè thå writ堍
  5534. operatioî shalì begin.
  5535.  
  5536.   Thå transfeò lengtè specifieó thå numbeò oæ contiguouó logicaì blockó o栍
  5537. datá thaô shalì bå transferred®  Á transfeò lengtè oæ zerï indicateó thaô n
  5538. logicaì blockó shalì bå transferred®  Thió conditioî shalì noô bå considere䠍
  5539. aó aî erroò anä nï datá shalì bå written®  Anù otheò valuå indicateó th堍
  5540. numbeò oæ logicaì blockó thaô shalì bå transferred.
  5541. .paŠ  8.2.6 VERIFY Command
  5542.  
  5543.      Peripheral Device Type:  Direct Access
  5544.         Operation Code Type:  Optional
  5545.              Operation Code:  2FH
  5546.  
  5547.                                   Table 8-29
  5548.                                 VERIFY Command
  5549.  
  5550. ==============================================================================
  5551.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  5552. Byte |        |        |        |        |        |        |        |        |
  5553. ==============================================================================
  5554.  0   |                           Operation Code                              | 
  5555. -----|-----------------------------------------------------------------------|
  5556.  1   | Logical Unit Number      |         Reserved         | BytChk | RelAdr |
  5557. -----|-----------------------------------------------------------------------|
  5558.  2   |                           Logical Block Address (MSB)                 |
  5559. -----|-----------------------------------------------------------------------|
  5560.  3   |                           Logical Block Address                       |
  5561. -----|-----------------------------------------------------------------------|
  5562.  4   |                           Logical Block Address                       |
  5563. -----|-----------------------------------------------------------------------|
  5564.  5   |                           Logical Block Address (LSB)                 |
  5565. -----|-----------------------------------------------------------------------|
  5566.  6   |                           Reserved                                    |
  5567. -----|-----------------------------------------------------------------------|
  5568.  7   |                           Verification Length (MSB)                   |
  5569. -----|-----------------------------------------------------------------------|
  5570.  8   |                           Verification Length (LSB)                   |
  5571. -----|-----------------------------------------------------------------------|
  5572.  9   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  5573. ==============================================================================
  5574.  
  5575.   Thå VERIFÙ commanä (Tablå 8-29© requestó thaô thå targeô verifù thå dat᠍
  5576. writteî oî thå medium.
  5577.  
  5578.   Á bytå checë (BytChk© biô oæ zerï causeó thå verificatioî tï bå simplù á 
  5579. mediuí verificatioî (CRC¬ ECC¬ etc)®  Á BytChë biô oæ onå causeó á byte-by-
  5580. bytå comparå oæ datá oî thå mediuí anä thå datá transferreä froí th堍
  5581. initiator®  Iæ thå comparå ió unsuccessful¬ thå commanä shalì bå terminate䠍
  5582. witè á CHECË CONDITIOΠstatuó anä thå senså keù shall be seô tï MISCOMPARE.
  5583.  
  5584.   Thå logicaì blocë addresó specifieó thå logicaì blocë aô whicè thå verifù 
  5585. operatioî shalì begin.
  5586.  
  5587.   Thå verificatioî lengtè specifieó thå numbeò oæ contiguouó logicaì blockó o栍
  5588. datá thaô shalì bå verified®  Á transfeò lengtè oæ zerï indicateó thaô n
  5589. logicaì blockó shalì bå verified®  Thió conditioî shalì noô bå considereä aó 
  5590. aî error®  Anù otheò valuå indicateó thå numbeò oæ logicaì blockó thaô shal젍
  5591. bå verified.
  5592. .paŠ  8.2.7 SEARCH DATA Commands
  5593.  
  5594.      Peripheral Device Type:  Direct Access, Write-Once Read-Multiple, and
  5595.                               Read-Only Direct Access
  5596.         Operation Code Type:  Optional
  5597.              Operation Code:  30H, 31H, or 32H
  5598.  
  5599.                                   Table 8-30
  5600.                              SEARCH DATA Commands
  5601.  
  5602. ==============================================================================
  5603.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  5604. Byte |        |        |        |        |        |        |        |        |
  5605. ==============================================================================
  5606.  0   |                           Operation Code                              | 
  5607. -----|-----------------------------------------------------------------------|
  5608.  1   | Logical Unit Number      | Invert |     Reserved    | SpnDat | RelAdr |
  5609. -----|-----------------------------------------------------------------------|
  5610.  2   |                           Logical Block Address (MSB)                 |
  5611. -----|-----------------------------------------------------------------------|
  5612.  3   |                           Logical Block Address                       |
  5613. -----|-----------------------------------------------------------------------|
  5614.  4   |                           Logical Block Address                       |
  5615. -----|-----------------------------------------------------------------------|
  5616.  5   |                           Logical Block Address (LSB)                 |
  5617. -----|-----------------------------------------------------------------------|
  5618.  6   |                           Reserved                                    |
  5619. -----|-----------------------------------------------------------------------|
  5620.  7   |                           Transfer Length (MSB)                       |
  5621. -----|-----------------------------------------------------------------------|
  5622.  8   |                           Transfer Length (LSB)                       |
  5623. -----|-----------------------------------------------------------------------|
  5624.  9   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  5625. ==============================================================================
  5626.  
  5627.   Thå SEARCÈ DATÁ commandó (Tablå 8-30© searcè onå oò morå logicaì blockó foò 
  5628. equalitù oò inequalitù tï á datá pattern®  Thå concepô oæ recordó withiî á 
  5629. logicaì blocë ió useä tï allo÷ multiplå recordó withiî á logicaì blocë tï b堍
  5630. searched.
  5631.  
  5632.   Thå inverô biô determineó whetheò thå searcè conditioî ió tï bå inverted®  
  5633. Seå 8.2.7.± througè 8.2.7.³ foò á descriptioî oæ thå searcè conditionó foò th堍
  5634. individuaì SEARCÈ DATÁ commands.
  5635.  
  5636.   Á spanneä datá (SpnDat© biô oæ zerï indicateó thaô eacè recorä shalì b堍
  5637. whollù containeä withiî á singlå block®  Anù spacå aô thå enä oæ á blocë thaô 
  5638. ió smalleò thaî thå recorä lengtè ió ignoreä bù thå SEARCÈ DATÁ commands®   Á 
  5639. SpnDaô biô oæ onå indicateó thaô recordó spaî blocë boundaries®  Thus¬ á 
  5640. recorä maù starô iî onå blocë anä enä iî thå nexô oò á subsequenô block.
  5641.  
  5642.   Á transfeò lengtè oæ zerï indicateó thaô nï datá shalì bå searched®  Thió 
  5643. conditioî shalì bå treateä thå samå aó aî unsatisfied search® 
  5644.  
  5645.   Á linë biô oæ zerï indicateó á nonlinkeä commanä anä iæ thå searcè ió 
  5646. satisfied¬ thå commanä shalì bå terminateä witè á CONDITIOΠMEÔ status®  Á 
  5647. REQUESÔ SENSÅ commanä caî theî bå issueä tï determinå thå logicaì bloc렍Šaddresó anä recorä offseô oæ thå matchinç record®  Iæ thå searcè ió noô 
  5648. satisfieä anä nï erroò occurs¬ thå commanä shalì bå terminateä witè GOOÄ 
  5649. status.
  5650.  
  5651.   A linë bit oæ one indicateó á commanä ió linkeä tï thå SEARCÈ DATÁ comman䠍
  5652. anä iæ thå searcè ió satisfied¬ CONDITIOΠMEÔ statuó ió returneä anä thå nexô 
  5653. commanä ió executed®  Iæ thå RelAdò biô iî thå nexô commanä ió one¬ th堍
  5654. logicaì blocë addresó oæ thå nexô commanä ió useä aó á displacemenô froí th堍
  5655. logicaì blocë addresó aô whicè thå searcè waó satisfied®  Iæ á linkeä searc蠍
  5656. ió noô satisfied¬ thå commanä ió terminateä witè á CHECË CONDITIOΠstatus®  Á 
  5657. REQUESÔ SENSÅ commanä maù theî bå issued.
  5658.  
  5659.   Á REQUESÔ SENSÅ commanä followinç a satisfieä SEARCÈ DATÁ commanä shall:
  5660.  
  5661.   (1© Returî á senså keù oæ EQUAÌ iæ thå searcè waó satisfieä bù aî exacô 
  5662. match®  Iæ thå searcè waó satisfieä bù aî inequalitù theî á senså keù oæ NÏ 
  5663. SENSÅ shalì bå returned.
  5664.  
  5665.   (2) Return thå valiä biô set tï one.
  5666.  
  5667.   (3© Returî thå logicaì blocë addresó oæ thå logicaì blocë containinç th堍
  5668. firsô matchinç recorä iî thå informatioî bytes.
  5669.  
  5670.   (4© Returî thå recorä offseô oæ thå matchinç recorä iî thå firsô fouò byteó 
  5671. oæ additionaì senså bytes.
  5672.  
  5673.   Á REQUESÔ SENSÅ commanä followinç aî unsatisfieä SEARCÈ DATÁ commanä shall:
  5674.  
  5675.   (1© Returî á senså keù oæ NÏ SENSE¬ iæ nï erroró occurreä durinç thå comman䠍
  5676. execution.
  5677.  
  5678.   (2) Return thå valiä biô set tï zero.
  5679.  
  5680.   Thå SEARCÈ DATÁ parameteò lisô (Tablå 8-31© containó á fourteen-bytå header¬ 
  5681. followeä bù onå oò morå searcè argumenô descriptors® 
  5682. .paŠ                                  Table 8-31
  5683.                           SEARCH DATA Parameter List
  5684.  
  5685. ==============================================================================
  5686. Byte |                        Parameter List Header                          |
  5687. ==============================================================================
  5688.  0   |                           Logical Record Length (MSB)                 |
  5689. -----|-----------------------------------------------------------------------|
  5690.  1   |                           Logical Record Length                       |
  5691. -----|-----------------------------------------------------------------------|
  5692.  2   |                           Logical Record Length                       |
  5693. -----|-----------------------------------------------------------------------|
  5694.  3   |                           Logical Record Length (LSB)                 |
  5695. -----|-----------------------------------------------------------------------|
  5696.  4   |                           First Record Offset (MSB)                   |
  5697. -----|-----------------------------------------------------------------------|
  5698.  5   |                           First Record Offset                         |
  5699. -----|-----------------------------------------------------------------------|
  5700.  6   |                           First Record Offset                         |
  5701. -----|-----------------------------------------------------------------------|
  5702.  7   |                           First Record Offset (LSB)                   |
  5703. -----|-----------------------------------------------------------------------|
  5704.  8   |                           Number of Records (MSB)                     |
  5705. -----|-----------------------------------------------------------------------|
  5706.  9   |                           Number of Records                           |
  5707. -----|-----------------------------------------------------------------------|
  5708. 10   |                           Number of Records                           |
  5709. -----|-----------------------------------------------------------------------|
  5710. 11   |                           Number of Records (LSB)                     |
  5711. -----|-----------------------------------------------------------------------|
  5712. 12   |                           Search Argument Length (MSB)                |
  5713. -----|-----------------------------------------------------------------------|
  5714. 13   |                           Search Argument Length (LSB)                |
  5715. ==============================================================================
  5716.      |                        Search Argument Descriptor(s)                  |
  5717. ==============================================================================
  5718.  0   |                           Displacement (MSB)                          |
  5719. -----|-----------------------------------------------------------------------|
  5720.  1   |                           Displacement                                |
  5721. -----|-----------------------------------------------------------------------|
  5722.  2   |                           Displacement                                |
  5723. -----|-----------------------------------------------------------------------|
  5724.  3   |                           Displacement (LSB)                          |
  5725. -----|-----------------------------------------------------------------------|
  5726.  4   |                           Pattern Length (MSB)                        |
  5727. -----|-----------------------------------------------------------------------|
  5728.  5   |                           Pattern Length (LSB)                        |
  5729. -----|-----------------------------------------------------------------------|
  5730. 6 _ n|                           Pattern                                     |
  5731. ==============================================================================
  5732.  
  5733.   Thå logicaì recorä lengtè fielä specifieó thå recorä lengtè iî byteó.
  5734.  
  5735.   Thå firsô recorä offseô fielä specifieó thå numbeò oæ byteó thaô shalì b堍
  5736. ignoreä iî thå firsô logicaì blocë beforå thå searcè begins®  Thå valuå iî th堍
  5737. firsô recorä offseô fielä shalì noô exceeä thå lengtè oæ thå logicaì block®  ŠSubsequenô logicaì blockó shalì bå searcheä beginninç witè thå firsô bytå i
  5738. thå logicaì block®  Thió permitó onå oò morå recordó tï bå skippeä initially.
  5739.  
  5740.   Thå numbeò oæ recordó fielä specifieó thå maximuí numbeò oæ recordó thaô 
  5741. shalì bå searcheä bù thió command®  Aî unsatisfieä searcè shalì terminatå whe
  5742. thå numbeò oæ recordó oò thå numbeò oæ blockó (froí thå commanä descriptoò 
  5743. block© havå beeî exhausted.
  5744.  
  5745.   Thå searcè argumenô lengtè specifieó thå lengtè iî byteó oæ alì thå searc蠍
  5746. argumenô descriptoró thaô follow®  Sincå thå patterî lengtè caî vary¬ therå ió 
  5747. nï fixeä multiplå oæ thå searcè argumenô descriptoò tï determinå thå searc蠍
  5748. argumenô length.
  5749.  
  5750.   Thå searcè argumenô descriptoró specifù onå oò morå searcè conditionó t
  5751. execute withiî á singlå recorä iî ordeò tï satisfù thå search®  Eacè searc蠍
  5752. argumenô descriptoò ió madå uð oæ á displacement¬ á patterî length¬ anä á 
  5753. pattern®
  5754.  
  5755.   Thå displacemenô fielä specifieó thå displacemenô iî byteó oæ thå firsô byt堍
  5756. oæ thå datá tï bå compareä froí thå starô oæ thå logicaì record.
  5757.  
  5758.   Thå patterî lengtè fielä specifieó thå lengtè iî byteó oæ thå patterî thaô 
  5759. follows.
  5760.  
  5761.   Thå patterî specifieó thå datá tï comparå tï thå logicaì record.
  5762.  
  5763.      8.2.7.± SEARCÈ DATÁ HIGÈ Command.‚  Thå SEARCÈ DATÁ HIGÈ comman䠍
  5764. (Tablå 8-30¬ operatioî codå 30H© shalì bå satisfieä bù thå firsô logica젍
  5765. recorä searcheä thaô containó datá thaô satisfieó alì oæ thå searcè argumenô 
  5766. descriptor(s)®  Iæ thå inverô biô iî thå commanä descriptoò blocë ió zero¬ th堍
  5767. searcè argumenô descriptor(s© shalì bå satisfieä bù datá iî thå logicaì recor䠍
  5768. beinç greateò thaî thå datá iî thå pattern®  Iæ thå inverô biô ió one¬ th堍
  5769. searcè argumenô descriptor(s© shalì bå satisfieä bù datá iî thå logicaì recor䠍
  5770. beinç lesó thaî oò equaì tï thå datá iî thå pattern®  (Seå 8.2.7.)
  5771.  
  5772.      8.2.7.² SEARCÈ DATÁ EQUAÌ Command.‚  Thå SEARCÈ DATÁ EQUAÌ comman䠍
  5773. (Table8-30¬ operatioî codå 31H© shalì bå satisfieä bù thå firsô logica젍
  5774. recorä searcheä thaô containó datá thaô satisfieó alì oæ thå searcè argumenô 
  5775. descriptor(s)®  Iæ thå inverô biô iî thå commanä descriptoò blocë ió zero¬ th堍
  5776. searcè argumenô descriptor(s© shalì bå satisfieä bù datá iî thå logicaì recor䠍
  5777. beinç equaì tï thå datá iî thå pattern®  Iæ thå inverô biô ió one¬ thå searc蠍
  5778. argumenô descriptor(s© shalì bå satisfieä bù datá iî thå logicaì recorä bein砍
  5779. noô equaì tï thå datá iî thå pattern®  (Seå 8.2.7.)
  5780.  
  5781.      8.2.7.³ SEARCÈ DATÁ LO× Command.‚  Thå SEARCÈ DATÁ LO× comman䠍
  5782. (Tablå 8-30¬ operatioî codå 32H© shalì bå satisfieä bù thå firsô logica젍
  5783. recorä searcheä thaô containó datá thaô satisfieó alì oæ thå searcè argumenô 
  5784. descriptor(s)®  Iæ thå inverô biô iî thå commanä descriptoò blocë ió zero¬ th堍
  5785. searcè argumenô descriptor(s© shalì bå satisfieä bù datá iî thå logicaì recor䠍
  5786. beinç lesó thaî thå datá iî thå pattern®  Iæ thå inverô biô ió one¬ thå searc蠍
  5787. argumenô descriptor(s© shalì bå satisfieä bù datá iî thå logicaì recorä bein砍
  5788. greateò thaî oò equaì tï thå datá iî thå pattern®  (Seå 8.2.7.)
  5789. .paŠ 8.2.8 SET LIMITS Command
  5790.  
  5791.      Peripheral Device Type:  Direct Access, Write-Once Read-Multiple, and
  5792.                               Read-Only Direct Access
  5793.         Operation Code Type:  Optional
  5794.              Operation Code:  33H
  5795.  
  5796.                                   Table 8-32
  5797.                               SET LIMITS Command
  5798.  
  5799. ==============================================================================
  5800.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  5801. Byte |        |        |        |        |        |        |        |        |
  5802. ==============================================================================
  5803.  0   |                           Operation Code                              | 
  5804. -----|-----------------------------------------------------------------------|
  5805.  1   | Logical Unit Number      |         Reserved         | RdInh  | WrInh  |
  5806. -----|-----------------------------------------------------------------------|
  5807.  2   |                           Logical Block Address (MSB)                 |
  5808. -----|-----------------------------------------------------------------------|
  5809.  3   |                           Logical Block Address                       |
  5810. -----|-----------------------------------------------------------------------|
  5811.  4   |                           Logical Block Address                       |
  5812. -----|-----------------------------------------------------------------------|
  5813.  5   |                           Logical Block Address (LSB)                 |
  5814. -----|-----------------------------------------------------------------------|
  5815.  6   |                           Reserved                                    |
  5816. -----|-----------------------------------------------------------------------|
  5817.  7   |                           Number of Blocks (MSB)                      |
  5818. -----|-----------------------------------------------------------------------|
  5819.  8   |                           Number of Blocks (LSB)                      |
  5820. -----|-----------------------------------------------------------------------|
  5821.  9   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  5822. ==============================================================================
  5823.  
  5824.   Thå SEÔ LIMITÓ commanä (Tablå 8-32© defineó thå rangå withiî whic蠍
  5825. subsequenô linkeä commandó maù operate®  Á seconä SEÔ LIMITÓ commanä maù noô 
  5826. bå linkeä tï á chaiî oæ commandó iî whicè á SEÔ LIMITÓ commanä haó alreadù 
  5827. beeî issued.
  5828.  
  5829.   Á reaä inhibiô (RdInh© biô oæ onå indicateó thaô reaä operationó withiî th堍
  5830. rangå arå inhibited®  Á writå inhibiô (WrInh© biô oæ onå indicateó thaô writ堍
  5831. operationó withiî thå rangå arå inhibited.
  5832.  
  5833.   Thå logicaì blocë addresó specifieó thå startinç addresó foò thå range®  Th堍
  5834. numbeò oæ blockó specifieó thå numbeò oæ logicaì blockó withiî thå range®  Á 
  5835. numbeò oæ blockó oæ zerï indicateó thaô thå rangå shalì extenä tï thå lasô 
  5836. logicaì blocë oî thå logicaì unit.
  5837.  
  5838.   Anù attempô tï accesó outsidå oæ thå restricteä rangå oò anù attempô t
  5839. perforí aî inhibiteä operatioî withiî thå restricteä rangå shalì noô b堍
  5840. performeä.  Thå commanä shalì bå terminateä witè CHECË CONDITIOΠstatuó and¬ 
  5841. iæ extendeä senså ió implemented¬ thå senså keù shalì bå seô tï DATÁ PROTECT®  
  5842. Á seconä SEÔ LIMITÓ commanä withiî á linkeä lisô oæ commandó shalì bå rejecte䠍
  5843. witè CHECË CONDITIOΠstatuó and¬ iæ extendeä senså ió implemented¬ thå sens堍
  5844. keù shalì bå seô tï DATÁ PROTECT.Š.. To set ruler line, position cursor on the next line and type ^OF--!--!--!--!--!--!--!--!--!--!--!--!-----------------------------------------!
  5845. .fo Section 9                            #
  5846. 9. Group 0 Command Descriptions for Sequential-Access Devices
  5847.  
  5848. Thå Grouð ° commandó foò sequential-accesó deviceó shalì bå aó showî i
  5849. Table9-1.
  5850.  
  5851.                                   Table 9-1
  5852.                 Group 0 Commands for Sequential-Access Devices
  5853.  
  5854. ==============================================================================
  5855. Operation
  5856.   Code      Type   Command Name                       Section
  5857. ------------------------------------------------------------------------------
  5858.    00H       O     TEST UNIT READY                    7.1.1 
  5859.    01H       M     REWIND                             9.1
  5860.    02H       V
  5861.    03H       M     REQUEST SENSE                      7.1.2
  5862.    04H       R
  5863.    05H       E     READ BLOCK LIMITS                  9.2
  5864.    06H       V
  5865.    07H       V
  5866.    08H       M     READ                               9.3
  5867.    09H       V
  5868.    0AH       M     WRITE                              9.4
  5869.    0BH       O     TRACK SELECT                       9.5
  5870.    0CH       V
  5871.    0DH       V
  5872.    0EH       V
  5873.    0FH       O     READ REVERSE                       9.6
  5874.    10H       M     WRITE FILEMARKS                    9.7
  5875.    11H       O     SPACE                              9.8
  5876.    12H       E     INQUIRY                            7.1.3
  5877.    13H       O     VERIFY                             9.9
  5878.    14H       O     RECOVER BUFFERED DATA              9.10
  5879.    15H       O     MODE SELECT                        9.11
  5880.    16H       O     RESERVE UNIT                       9.12.1
  5881.    17H       O     RELEASE UNIT                       9.12.2
  5882.    18H       O     COPY                               7.1.4
  5883.    19H       O     ERASE                              9.13
  5884.    1AH       O     MODE SENSE                         9.14
  5885.    1BH       O     LOAD/UNLOAD                        9.15
  5886.    1CH       O     RECEIVE DIAGNOSTIC RESULTS         7.1.5
  5887.    1DH       O     SEND DIAGNOSTIC                    7.1.6
  5888.    1EH       O     PREVENT/ALLOW MEDIUM REMOVAL       9.16
  5889.    1FH       R
  5890. ==============================================================================
  5891.  
  5892. Key: M  =  Command implementation is mandatory.
  5893.      E  =  Commanä implementatioî ió requireä foò SCSÉ deviceó thaô supporô 
  5894.            device-independenô self-configurinç software.
  5895.      O  =  Command implementatioî is optional.
  5896.      R  =  Operation code is reserved for future standardization.
  5897.      V  =  Operation code is available for vendor unique commands.
  5898. .paŠ9.1 REWIND Command
  5899.  
  5900.      Peripheral Device Type:  Sequential Access
  5901.         Operation Code Type:  Mandatory
  5902.              Operation Code:  01H
  5903.  
  5904.                                   Table 9-2
  5905.                                 REWIND Command
  5906.  
  5907. ==============================================================================
  5908.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  5909. Byte |        |        |        |        |        |        |        |        |
  5910. ==============================================================================
  5911.  0   |                           Operation Code                              |
  5912. -----|-----------------------------------------------------------------------|
  5913.  1   | Logical Unit Number      |                  Reserved         | Immed  |
  5914. -----|-----------------------------------------------------------------------|
  5915.  2   |                           Reserved                                    |
  5916. -----|-----------------------------------------------------------------------|
  5917.  3   |                           Reserved                                    |
  5918. -----|-----------------------------------------------------------------------|
  5919.  4   |                           Reserved                                    |
  5920. -----|-----------------------------------------------------------------------|
  5921.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  5922. ==============================================================================
  5923.  
  5924.   Thå REWINÄ commanä (Tablå 9-2© requestó thaô thå targeô rewinä thå logica젍
  5925. uniô tï the beginning-of-mediuí oò load-point®
  5926.  
  5927.   Aî immediatå (Immed© biô oæ onå indicateó thaô statuó shalì bå returneä aó 
  5928. sooî aó thå operatioî ió initiated®  Aî Immeä biô oæ zerï indicateó thaô 
  5929. statuó shalì bå returneä afteò thå operatioî ió completed.
  5930. .paŠ9.2 READ BLOCK LIMITS Command
  5931.  
  5932.      Peripheral Device Type:  Sequential Access
  5933.         Operation Code Type:  Extended
  5934.              Operation Code:  05H
  5935.  
  5936.                                   Table 9-3
  5937.                           READ BLOCK LIMITS Command
  5938.  
  5939. ==============================================================================
  5940.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  5941. Byte |        |        |        |        |        |        |        |        |
  5942. ==============================================================================
  5943.  0   |                           Operation Code                              |
  5944. -----|-----------------------------------------------------------------------|
  5945.  1   | Logical Unit Number      |                  Reserved                  |
  5946. -----|-----------------------------------------------------------------------|
  5947.  2   |                           Reserved                                    |
  5948. -----|-----------------------------------------------------------------------|
  5949.  3   |                           Reserved                                    |
  5950. -----|-----------------------------------------------------------------------|
  5951.  4   |                           Reserved                                    |
  5952. -----|-----------------------------------------------------------------------|
  5953.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  5954. ==============================================================================
  5955.  
  5956.   Thå REAÄ BLOCË LIMITÓ commanä (Tablå 9-3© requestó thaô thå target'ó 
  5957. capabilitù foò blocë lengtè limitó bå returneä foò thå logicaì unit®  Thå REAÄ 
  5958. BLOCË LIMITÓ datá showî iî Tablå 9-´ shalì bå senô durinç thå DATÁ IΠphaså o栍
  5959. thå command.
  5960.  
  5961.                                   Table 9-4
  5962.                             REAÄ BLOCË LIMITÓ Data
  5963.  
  5964. ==============================================================================
  5965. Byte |                        Description                                    |
  5966. ==============================================================================
  5967.  0   |                           Reserved                                    |
  5968. -----|-----------------------------------------------------------------------|
  5969.  1   |                           Maximum Block Length (MSB)                  |
  5970. -----|-----------------------------------------------------------------------|
  5971.  2   |                           Maximum Block Length                        |
  5972. -----|-----------------------------------------------------------------------|
  5973.  3   |                           Maximum Block Length (LSB)                  |
  5974. -----|-----------------------------------------------------------------------|
  5975.  4   |                           Minimum Block Length (MSB)                  |
  5976. -----|-----------------------------------------------------------------------|
  5977.  µ   ü                           Minimuí Blocë Lengtè (LSB©                  |
  5978. ==============================================================================
  5979.  
  5980.   Iæ thå maximuí blocë lengtè equaló thå minimuí blocë length¬ onlù fixed-
  5981. lengtè blockó oæ thå lengtè indicateä arå supported®  Otherwise¬ variable-
  5982. lengtè blockó arå supported®  Foò variable-lengtè blocks¬ iæ thå maximuí bloc렍
  5983. lengtè equaló zero¬ nï uppeò limiô ió specified.
  5984. .paŠ9.3 READ Command
  5985.  
  5986.      Peripheral Device Type:  Sequential Access
  5987.         Operation Code Type:  Mandatory
  5988.              Operation Code:  08H
  5989.  
  5990.                                   Table 9-5
  5991.                                  READ Command
  5992.  
  5993. ==============================================================================
  5994.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  5995. Byte |        |        |        |        |        |        |        |        |
  5996. ==============================================================================
  5997.  0   |                           Operation Code                              |
  5998. -----|-----------------------------------------------------------------------|
  5999.  1   | Logical Unit Number      |                  Reserved         | Fixed  |
  6000. -----|-----------------------------------------------------------------------|
  6001.  2   |                           Transfer Length (MSB)                       |
  6002. -----|-----------------------------------------------------------------------|
  6003.  3   |                           Transfer Length                             |
  6004. -----|-----------------------------------------------------------------------|
  6005.  4   |                           Transfer Length (LSB)                       |
  6006. -----|-----------------------------------------------------------------------|
  6007.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  6008. ==============================================================================
  6009.  
  6010.   Thå REAÄ commanä (Tablå 9-5© transferó onå oò morå block(s© tï thå initiatoò 
  6011. beginninç witè thå nexô blocë oî thå logicaì unit®  Thå fixeä biô specifieó 
  6012. botè thå meaninç oæ thå transfeò lengtè fielä anä whetheò fixed-lengtè oò 
  6013. variable-lengtè block(s© arå tï bå transferred.
  6014.  
  6015.   Iæ thå fixeä biô ió zero¬ á singlå blocë shalì bå transferreä witè th堍
  6016. transfeò lengtè specifyinç thå maximuí numbeò oæ byteó thå initiatoò haó 
  6017. allocateä foò thå returneä data®  Iæ thå actuaì blocë lengtè ió differenô froí 
  6018. thå specifieä transfeò length¬ a CHECË CONDITIOΠstatuó shalì bå senô tï th堍
  6019. initiatoò anä thå incorrecô lengtè indicatoò (ILI© biô anä valiä biô i
  6020. extendeä senså shalì bå seô tï one®  Thå informatioî byteó iî extendeä sens堍
  6021. shalì bå seô tï thå differencå (residue© betweeî thå requesteä transfeò lengt蠍
  6022. anä thå actuaì blocë length®  Targetó thaô dï noô supporô negativå residueó 
  6023. shalì seô thå ILÉ biô tï onå anä thå residuå tï zerï wheî thå actuaì bloc렍
  6024. lengtè ió largeò thaî thå transfeò length®  Iî anù case¬ nï morå thaî transfeò 
  6025. lengtè byteó shalì bå transferreä tï thå initiatoò anä thå mediuí shalì b堍
  6026. positioneä afteò thå blocë (end-of-mediuí side).
  6027.  
  6028.   Iæ thå fixeä biô ió one¬ thå transfeò lengtè specifieó thå numbeò oæ blockó 
  6029. tï bå transferreä tï thå initiator®  Thió forí oæ thå REAÄ commanä ió vali䠍
  6030. onlù iæ thå logicaì uniô ió currentlù operatinç iî fixeä blocë mode®  Á 
  6031. logicaì uniô ió iî fixeä blocë modå wheî eitheò oæ thå followinç conditionó 
  6032. arå true:
  6033.  
  6034.   (1© Thå logicaì uniô reportó thå samå valuå foò minimuí blocë lengtè an䠍
  6035. maximuí blocë lengtè iî responså tï thå REAÄ BLOCË LIMITÓ command®  Iî thió 
  6036. case¬ thå currenô blocë lengtè ió thå valuå returned.
  6037.  
  6038.   (2© Thå logicaì uniô uniô haó beeî instructeä tï uså fixed-lengtè blockó 
  6039. witè thå MODÅ SELECÔ command®  Iî thió case¬ thå currenô blocë lengtè ió th堍Šblocë lengtè defineä iî thå MODÅ SELECÔ command.
  6040.  
  6041.   Otherwise¬ thå logicaì uniô ió iî variablå blocë mode®  Thå targeô maù 
  6042. implemenô fixeä blocë mode¬ variablå blocë mode¬ oò botè modes®  Iæ thå fixe䠍
  6043. biô doeó noô matcè thå currenô mode¬ oò thå modå indicateä bù thå fixeä biô ió 
  6044. noô implemented¬ thå targeô shalì rejecô thå commanä bù returninç a CHECË 
  6045. CONDITIOΠstatuó anä bù settinç thå senså keù tï ILLEGAÌ REQUEST.
  6046.  
  6047.   Á successfuì REAÄ commanä witè thå fixeä biô equaì tï onå shalì transfeò th堍
  6048. currenô blocë lengtè timeó thå transfeò lengtè byteó oæ datá tï thå initiator®  
  6049. Upoî terminatioî oæ thå REAÄ command¬ thå mediuí shalì bå positioneä afteò th堍
  6050. lasô blocë transferreä (end-of-mediuí side).
  6051.  
  6052.   Iæ thå fixeä biô ió onå anä iæ á blocë ió reaä thaô ió largeò oò smalleò 
  6053. thaî thå currenô blocë length¬ á CHECË CONDITIOΠstatuó shalì bå returneä t
  6054. thå initiator®  Thå ILÉ biô anä thå valiä biô iî extendeä senså shalì bå seô 
  6055. tï one®  Thå informatioî byteó shalì bå seô tï thå differencå (residue© 
  6056. betweeî thå requesteä transfeò lengtè anä thå actuaì numbeò oæ blockó rea䠍
  6057. (noô includinç thå incorrecô lengtè block)®  Upoî termination¬ thå mediuí 
  6058. shalì bå positioneä afteò thå incorrecô lengtè blocë (end-of-mediuí side)® 
  6059.  
  6060.   Iæ á logicaì uniô readó á filemarë durinç á REAÄ command¬ iô shalì senä á 
  6061. CHECË CONDITIOΠstatuó tï thå initiatoò anä shalì seô thå filemarë biô i
  6062. extendeä sense®  Upoî termination¬ thå mediuí shalì bå positioneä afteò th堍
  6063. filemarë (end-of-mediuí side)®  Iæ thå fixeä biô ió one¬ thå targeô shalì seô 
  6064. thå valiä biô tï onå anä thå informatioî byteó shalì bå seô tï thå differenc堍
  6065. (residue© betweeî thå requesteä transfeò lengtè anä thå actuaì numbeò o栍
  6066. blockó reaä (noô includinç thå filemark).
  6067.  
  6068.   Iæ á logicaì uniô encounteró thå physicaì end-of-mediuí durinç á REAÄ 
  6069. command¬ thå targeô shalì returî á CHECË CONDITIOΠstatuó tï thå initiatoò an䠍
  6070. shalì seô thå end-of-mediuí (EOM© biô tï onå iî extendeä sense®  Thå senså keù 
  6071. shalì bå seô tï MEDIUÍ ERROR®  Iæ thå fixeä biô ió one¬ thå targeô shalì seô 
  6072. thå valiä biô tï onå anä thå informatioî byteó tï thå differencå (residue© 
  6073. betweeî thå requesteä transfeò lengtè anä thå actuaì numbeò oæ blockó 
  6074. successfullù read®  Thå mediuí positioî followinç thió conditioî ió noô 
  6075. defined® 
  6076.  
  6077.   Wheî thå transfeò lengtè ió zero¬ nï datá shalì bå transferreä anä th堍
  6078. currenô positioî oî thå logicaì uniô shalì noô bå changed®  Thió conditio
  6079. shalì noô bå considereä aó aî error® 
  6080. .paŠ9.4 WRITE Command
  6081.  
  6082.      Peripheral Device Type:  Sequential Access
  6083.         Operation Code Type:  Mandatory
  6084.              Operation Code:  0AH
  6085.  
  6086.                                   Table 9-6
  6087.                                 WRITE Command
  6088.  
  6089. ==============================================================================
  6090.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  6091. Byte |        |        |        |        |        |        |        |        |
  6092. ==============================================================================
  6093.  0   |                           Operation Code                              |
  6094. -----|-----------------------------------------------------------------------|
  6095.  1   | Logical Unit Number      |                  Reserved         | Fixed  |
  6096. -----|-----------------------------------------------------------------------|
  6097.  2   |                           Transfer Length (MSB)                       |
  6098. -----|-----------------------------------------------------------------------|
  6099.  3   |                           Transfer Length                             |
  6100. -----|-----------------------------------------------------------------------|
  6101.  4   |                           Transfer Length (LSB)                       |
  6102. -----|-----------------------------------------------------------------------|
  6103.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  6104. ==============================================================================
  6105.  
  6106.   Thå WRITÅ commanä (Tablå 9-6© transferó onå oò morå block(s© froí th堍
  6107. initiatoò tï thå currenô positioî oî thå logicaì unit®  Thå fixeä biô 
  6108. specifieó botè thå meaninç oæ thå transfeò lengtè fielä anä whetheò fixed-
  6109. lengtè oò variable-lengtè block(s© arå tï bå transferred.
  6110.  
  6111.   Iæ thå fixeä biô ió zero¬ á singlå blocë shalì bå transferreä froí th堍
  6112. initiatoò anä shalì bå writteî tï thå logicaì uniô beginninç aô thå currenô 
  6113. mediuí position®  Thå transfeò lengtè specifieó thå lengtè oæ thå blocë tï b堍
  6114. writteî (iî bytes)®  Thå requesteä blocë lengtè shalì bå withiî thå minimuí 
  6115. anä maximuí blocë lengtè rangå (returneä bù thå REAÄ BLOCË LIMITÓ command¬ 
  6116. Sectioî 9.2)®  Iæ thió conditioî ió noô met¬ á CHECË CONDITIOΠstatuó  shal젍
  6117. bå returneä anä thå senså keù shalì bå seô tï ILLEGAÌ REQUESÔ anä nï dat᠍
  6118. shalì bå written®  Upoî successfuì termination¬ thå mediuí shalì bå positione䠍
  6119. afteò thå blocë writteî bù thió commanä (end-of-mediuí side).
  6120.  
  6121.   Iæ thå fixeä biô ió one¬ thå transfeò lengtè fielä specifieó thå numbeò o栍
  6122. block(s© tï bå transferreä tï thå logicaì uniô beginninç aô thå currenô mediuí 
  6123. position®  Thió forí oæ thå WRITÅ commanä ió valiä onlù iæ thå logicaì uniô ió 
  6124. currentlù operatinç iî fixeä blocë modå (seå 9.3)®  Upoî termination¬ th堍
  6125. mediuí shalì bå positioneä afteò thå block(s© writteî bù thió commanä (end-of-
  6126. mediuí side)
  6127.  
  6128.   Thå targeô maù implemenô fixeä blocë mode¬ variablå blocë mode¬ oò bot蠍
  6129. modes®  Iæ thå fixeä biô doeó noô matcè thå currenô mode¬ oò thå mod堍
  6130. indicateä bù thå fixeä biô ió noô implemented¬ thå targeô shalì rejecô th堍
  6131. commanä bù returninç á CHECË CONDITIOΠstatuó anä bù settinç thå senså keù t
  6132. ILLEGAÌ REQUEST.
  6133.  
  6134.   Iæ thå earlù warninç end-of-mediuí conditioî ió encountereä whilå writing¬ 
  6135. aî attempô tï finisè writinç anù buffereä datá maù bå made®  Thå commanä shal젍Šterminatå witè á CHECË CONDITIOΠstatuó anä thå EOÍ biô iî extendeä sens堍
  6136. shalì bå seô tï one®  Iæ anù datá remainó iî thå target'ó buffer¬ theî th堍
  6137. senså keù shalì bå seô tï VOLUMÅ OVERFLOW®  Iæ thå fixeä biô ió onå anä th堍
  6138. logicaì uniô ió noô buffereä (buffereä modå oæ thå MODÅ SENSÅ commanä ió 
  6139. zero)¬ theî thå valiä biô iî extendeä senså shalì bå seô tï onå anä th堍
  6140. informatioî byteó shalì bå seô tï thå differencå (residue© betweeî th堍
  6141. requesteä transfeò lengtè anä thå actuaì numbeò oæ blockó writteî tï th堍
  6142. medium®  Iæ thå fixeä biô ió onå anä thå logicaì uniô ió buffereä (buffere䠍
  6143. modå oæ thå MODÅ SENSÅ commanä ió one)¬ theî thå valiä biô shalì bå seô tï on堍
  6144. anä thå informatioî byteó shalì bå seô tï thå totaì numbeò oæ blockó noô 
  6145. writteî (thå numbeò oæ blockó noô transferreä froí thå initiatoò pluó th堍
  6146. numbeò oæ blockó remaininç iî thå target'ó buffer)®  Notå thaô iî thió caså iô 
  6147. ió possiblå foò thå valuå iî thå informatioî byteó tï exceeä thå transfeò 
  6148. length®
  6149.  
  6150.   Wheî thå transfeò lengtè ió zero¬ nï datá shalì bå transferreä anä th堍
  6151. currenô positioî oî thå logicaì uniô shalì noô bå changed®  Thió conditio
  6152. shalì noô bå considereä aó aî error.
  6153.  
  6154. 9.5 TRACK SELECT Command
  6155.  
  6156.      Peripheral Device Type:  Sequential Access
  6157.         Operation Code Type:  Optional
  6158.              Operation Code:  0BH
  6159.  
  6160.                                   Table 9-7
  6161.                              TRACK SELECT Command
  6162.  
  6163. ==============================================================================
  6164.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  6165. Byte |        |        |        |        |        |        |        |        |
  6166. ==============================================================================
  6167.  0   |                           Operation Code                              |
  6168. -----|-----------------------------------------------------------------------|
  6169.  1   | Logical Unit Number      |                  Reserved                  |
  6170. -----|-----------------------------------------------------------------------|
  6171.  2   |                           Reserved                                    |
  6172. -----|-----------------------------------------------------------------------|
  6173.  3   |                           Reserved                                    |
  6174. -----|-----------------------------------------------------------------------|
  6175.  4   |                           Track Value                                 |
  6176. -----|-----------------------------------------------------------------------|
  6177.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  6178. ==============================================================================
  6179.  
  6180.   Thå TRACË SELECÔ commanä (Tablå 9-7© requestó thaô thå tracë specifieä i
  6181. thå tracë valuå field bå selected.
  6182. .paŠ9.6 READ REVERSE Command
  6183.  
  6184.      Peripheral Device Type:  Sequential Access
  6185.         Operation Code Type:  Optional
  6186.              Operation Code:  0FH
  6187.  
  6188.                                   Table 9-8
  6189.                              READ REVERSE Command
  6190.  
  6191. ==============================================================================
  6192.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  6193. Byte |        |        |        |        |        |        |        |        |
  6194. ==============================================================================
  6195.  0   |                           Operation Code                              |
  6196. -----|-----------------------------------------------------------------------|
  6197.  1   | Logical Unit Number      |                  Reserved         | Fixed  |
  6198. -----|-----------------------------------------------------------------------|
  6199.  2   |                           Transfer Length (MSB)                       |
  6200. -----|-----------------------------------------------------------------------|
  6201.  3   |                           Transfer Length                             |
  6202. -----|-----------------------------------------------------------------------|
  6203.  4   |                           Transfer Length (LSB)                       |
  6204. -----|-----------------------------------------------------------------------|
  6205.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  6206. ==============================================================================
  6207.  
  6208.   Thå REAÄ REVERSÅ commanä (Tablå 9-8© functionó identicallù tï thå REAÄ 
  6209. commanä excepô thaô mediuí motioî ió iî thå reverså direction®  Thus¬ th堍
  6210. block(s© anä byteó withiî thå block(s© arå transferreä iî thå reverså ordeò 
  6211. anä thå mediuí positioî upoî terminatioî ió beforå thå lasô blocë rea䠍
  6212. (beginning-of-mediuí side)®  Thió commanä shalì terminatå witè á CHECË 
  6213. CONDITIOΠstatuó anä thå EOÍ biô iî extendeä senså shalì bå seô tï onå i栍
  6214. beginning-of-mediuí oò load-poinô ió encountered®  Thå senså keù shalì bå seô 
  6215. tï NÏ SENSE®  Iæ thå fixeä biô ió one¬ theî thå valiä biô shalì bå seô tï on堍
  6216. anä thå informatioî byteó shalì contaiî thå differencå (residue© oæ th堍
  6217. requesteä transfeò lengtè anä thå actuaì numbeò oæ blockó transferreä befor堍
  6218. beginning-of-mediuí oò load-poinô waó encountered.
  6219.  
  6220.   Filemarë handlinç ió thå samå aó iî thå REAÄ commanä excepô thaô thå mediuí 
  6221. positioî upoî commanä terminatioî shalì bå beforå thå filemarë (beginning-of-
  6222. mediuí side).
  6223.  
  6224.   Iæ thå transfeò lengtè ió zero¬ nï datá shalì bå transferreä anä thå currenô 
  6225. positioî oî thå logicaì uniô shalì noô bå changed®  Thió conditioî shalì noô 
  6226. bå considereä aó aî error.
  6227.  
  6228.   Thå targeô maù implemenô fixeä blocë mode¬ variablå blocë mode¬ oò bot蠍
  6229. modes®  Iæ thå fixeä biô doeó noô matcè thå currenô mode¬ oò thå mod堍
  6230. indicateä bù thå fixeä biô ió noô implemented¬ thå targeô shalì rejecô th堍
  6231. commanä bù returninç á CHECË CONDITIOΠstatuó anä bù settinç thå senså keù t
  6232. ILLEGAÌ REQUEST.
  6233. .paŠ9.7 WRITE FILEMARKS Command
  6234.  
  6235.      Peripheral Device Type:  Sequential Access
  6236.         Operation Code Type:  Mandatory
  6237.              Operation Code:  10H
  6238.  
  6239.                                   Table 9-9
  6240.                            WRITE FILEMARKS Command
  6241.  
  6242. ==============================================================================
  6243.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  6244. Byte |        |        |        |        |        |        |        |        |
  6245. ==============================================================================
  6246.  0   |                           Operation Code                              |
  6247. -----|-----------------------------------------------------------------------|
  6248.  1   | Logical Unit Number      |                  Reserved                  |
  6249. -----|-----------------------------------------------------------------------|
  6250.  2   |                           Number of Filemarks (MSB)                   |
  6251. -----|-----------------------------------------------------------------------|
  6252.  3   |                           Number of Filemarks                         |
  6253. -----|-----------------------------------------------------------------------|
  6254.  4   |                           Number of Filemarks (LSB)                   |
  6255. -----|-----------------------------------------------------------------------|
  6256.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  6257. ==============================================================================
  6258.  
  6259.   Thå WRITÅ FILEMARKÓ commanä (Tablå 9-9© causeó thå specifieä numbeò o栍
  6260. filemarkó tï bå writteî beginninç aô thå currenô mediuí positioî oî th堍
  6261. logicaì unit®  Á zerï iî thió fielä indicateó thaô nï filemarkó arå tï b堍
  6262. written.
  6263.  
  6264.   Thió commanä ió alsï useä tï forcå anù buffereä datá (seå buffereä modå i
  6265. thå MODÅ SENSÅ command¬ Sectioî 9.14© tï bå written®  Thió commanä shalì noô 
  6266. returî á GOOÄ statuó unlesó alì buffereä datá blockó anä thå filemarkó (i栍
  6267. any© arå correctlù writteî oî thå medium.
  6268.  
  6269.   Iæ thå earlù warninç end-of-mediuí conditioî ió encountereä whilå writing¬ 
  6270. aî attempô tï finisè writinç anù buffereä datá maù bå made®  Thå commanä shal젍
  6271. terminatå witè á CHECË CONDITIOΠstatuó anä thå EOÍ biô iî extendeä sens堍
  6272. shalì bå seô tï one®  Iæ anù filemarkó remaiî tï bå written¬ theî thå sens堍
  6273. keù shalì bå seô tï VOLUMÅ OVERFLOW®  Iæ thå logicaì uniô ió noô buffere䠍
  6274. (buffereä modå oæ thå MODÅ SENSÅ commanä ió zero)¬ theî thå valiä biô i
  6275. extendeä senså shalì bå seô tï onå anä thå informatioî byteó shalì bå seô t
  6276. thå numbeò oæ unwritteî filemarks®  Iæ thå logicaì uniô ió buffereä (buffere䠍
  6277. modå oæ thå MODÅ SENSÅ commanä ió one)¬ theî thå valiä biô shalì bå seô tï on堍
  6278. anä thå informatioî byteó shalì bå seô tï thå totaì numbeò oæ blockó noô 
  6279. writteî (thå numbeò oæ unwritteî filemarkó pluó thå numbeò oæ blockó remainin砍
  6280. iî thå target'ó buffer)®  Notå thaô iî thió caså iô ió possiblå foò thå valu堍
  6281. iî thå informatioî byteó tï exceeä thå transfeò length.
  6282. .paŠ9.8 SPACE Command
  6283.  
  6284.      Peripheral Device Type:  Sequential Access
  6285.         Operation Code Type:  Optional
  6286.              Operation Code:  11H
  6287.  
  6288.                                   Table 9-10
  6289.                                 SPACE Command
  6290.  
  6291. ==============================================================================
  6292.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  6293. Byte |        |        |        |        |        |        |        |        |
  6294. ==============================================================================
  6295.  0   |                           Operation Code                              |
  6296. -----|-----------------------------------------------------------------------|
  6297.  1   | Logical Unit Number      |         Reserved         |      Code       |
  6298. -----|-----------------------------------------------------------------------|
  6299.  2   |                           Count (MSB)                                 |
  6300. -----|-----------------------------------------------------------------------|
  6301.  3   |                           Count                                       |
  6302. -----|-----------------------------------------------------------------------|
  6303.  4   |                           Count (LSB)                                 |
  6304. -----|-----------------------------------------------------------------------|
  6305.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  6306. ==============================================================================
  6307.  
  6308.   Thå SPACÅ commanä (Tablå 9-10© provideó á varietù oæ positioninç functionó 
  6309. thaô arå determineä bù thå codå anä count®  Botè forwarä (towarä end-of-
  6310. medium© anä reverså (towarä beginning-of-medium© positioninç arå provided¬ 
  6311. althougè somå SCSÉ deviceó maù onlù supporô á subseô oæ thió command®  Suc蠍
  6312. SCSÉ deviceó shalì returî á CHECË CONDITIOΠstatuó anä seô thå senså keù t
  6313. ILLEGAÌ REQUESÔ iî responså tï anù attempô tï invokå á functioî thaô ió noô 
  6314. supported.
  6315.  
  6316.   The code is defined as follows:
  6317.  
  6318. DB(1)  DB(0)       Description
  6319. -----  -----   --------------------
  6320.   0      0     Blocks
  6321.   0      1     Filemarks
  6322.   1      0     Sequential Filemarks
  6323.   1      1     Physical End-of-Data
  6324.  
  6325.   Wheî spacinç oveò blockó oò filemarks¬ thå counô fielä specifieó thå numbeò 
  6326. oæ blockó oò filemarkó tï bå spaceä over®  Á positivå valuå Î iî thå counô 
  6327. fielä shalì causå forwarä mediuí movemenô oveò Î blockó oò filemarkó endinç o
  6328. thå end-of-mediuí sidå oæ thå lasô blocë oò filemark®  Á zerï valuå iî th堍
  6329. counô fielä shalì causå nï mediuí movement®  Á negativå valuå -Π(2'ó 
  6330. complemenô notation© iî thå counô fielä shalì causå reverså mediuí movemenô 
  6331. oveò Î blockó oò filemarkó endinç oî thå beginning-of-mediuí sidå oæ thå lasô 
  6332. blocë oò filemark.
  6333.  
  6334.   Iæ á filemarë ió encountereä whilå spacinç oveò blocks¬ mediuí movemenô 
  6335. shalì bå stopped®  Thå mediuí shalì bå positioneä oî thå end-of-mediuí sidå o栍
  6336. thå filemarë iæ movemenô waó iî thå forwarä directioî anä oî thå beginning-of-
  6337. mediuí sidå oæ thå filemarë iæ movemenô waó iî thå reverså direction®  Á CHECË ŠCONDITIOΠstatuó shalì bå senô tï thå initiatoò anä thå filemarë anä vali䠍
  6338. bitó iî extendeä senså shalì bå seô tï one®  Thå informatioî byteó shalì b堍
  6339. seô tï thå differencå (residue© iî thå requesteä counô anä thå actuaì numbeò 
  6340. oæ blockó spaceä oveò (noô includinç thå filemark).
  6341.  
  6342.   Iæ thå physicaì end-of-mediuí ió encountereä whilå spacinç forwarä oveò 
  6343. blockó oò filemarks¬ thå targeô shalì returî á CHECË CONDITIOΠstatuó tï th堍
  6344. initiatoò anä shalì seô thå end-of-mediuí (EOM© biô iî extendeä senså tï one®  
  6345. Thå senså keù shalì bå seô tï MEDIUÍ ERROR®  Thå targeô shalì seô thå vali䠍
  6346. biô tï onå anä thå informatioî byteó tï thå differencå (residue© betweeî th堍
  6347. requesteä counô anä thå actuaì numbeò oæ blockó oò filemarkó spaceä over.
  6348.  
  6349.   Iæ beginning-of-mediuí oò load-poinô ió encountereä whilå spacinç oveò 
  6350. blockó oò filemarkó iî thå reverså direction¬ thå targeô shalì returî á CHECË 
  6351. CONDITIOΠstatuó tï thå initiatoò anä shalì seô thå end-of-mediuí (EOM© biô i
  6352. extendeä senså tï one®  Thå senså keù shalì bå seô tï NÏ SENSE®  Thå targeô 
  6353. shalì seô thå valiä biô tï onå anä thå informatioî byteó tï thå differenc堍
  6354. (residue© betweeî thå requesteä counô anä thå actuaì numbeò oæ blockó oò 
  6355. filemarkó spaceä over.
  6356.  
  6357.   Wheî spacinç oveò sequentiaì filemarks¬ thå counô fielä ió interpreteä aó 
  6358. follows:
  6359.  
  6360.   (1© Á positivå valuå Î shalì causå forwarä mediuí movemenô tï thå firsô 
  6361. occurrencå oæ Î oò morå consecutivå filemarkó stoppinç afteò thå Nth” filemark.
  6362.  
  6363.   (2© Á zerï valuå shalì causå nï mediuí movement.
  6364.  
  6365.   (3© Á negativå valuå -Π(2'ó complemenô notation© shalì causå reverså mediuí 
  6366. movemenô tï thå firsô occurrencå oæ Î oò morå consecutivå filemarkó stoppin砍
  6367. oî thå beginning-of-mediuí sidå oæ thå Nth” filemark.
  6368.  
  6369.   Wheî spacinç tï physicaì end-of-data¬ thå counô fielä ió ignored®  Forwar䠍
  6370. mediuí movemenô shalì occuò untiì thå logicaì uniô encounteró physicaì end-of-
  6371. datá aó defineä bù thå sequential-accesó device®  Somå sequential-accesó 
  6372. deviceó  definå physicaì end-of-datá aó aî eraseä areá oî thå medium» however¬ 
  6373. otheò definitionó arå noô precluded®  Targetó thaô implemenô thió functio
  6374. shalì leavå thå mediuí positioneä sucè thaô á subsequenô WRITÅ commanä woul䠍
  6375. appenä datá tï thå lasô recordeä informatioî oî thå medium.
  6376. .paŠ9.9 VERIFY Command
  6377.  
  6378.      Peripheral Device Type:  Sequential Access
  6379.         Operation Code Type:  Optional
  6380.              Operation Code:  13H
  6381.  
  6382.                                   Table 9-11
  6383.                                 VERIFY Command
  6384.  
  6385. ==============================================================================
  6386.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  6387. Byte |        |        |        |        |        |        |        |        |
  6388. ==============================================================================
  6389.  0   |                           Operation Code                              |
  6390. -----|-----------------------------------------------------------------------|
  6391.  1   | Logical Unit Number      |         Reserved         | BytCmp | Fixed  |
  6392. -----|-----------------------------------------------------------------------|
  6393.  2   |                           Verification Length (MSB)                   | 
  6394. -----|-----------------------------------------------------------------------|
  6395.  3   |                           Verification Length                         |
  6396. -----|-----------------------------------------------------------------------|
  6397.  4   |                           Verification Length (LSB)                   | 
  6398. -----|-----------------------------------------------------------------------|
  6399.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  6400. ==============================================================================
  6401.  
  6402.   Thå VERIFÙ commanä (Tablå 9-11© verifieó onå oò morå block(s© beginninç wit蠍
  6403. thå nexô blocë oî thå logicaì unit®  Thå fixeä biô specifieó botè thå meanin砍
  6404. oæ thå verificatioî lengtè fielä anä whetheò fixed-lengtè oò variable-lengt蠍
  6405. block(s© arå tï bå verified.
  6406.  
  6407.   Á bytå comparå (BytCmp© biô oæ zerï indicateó thaô thå verificatioî shalì b堍
  6408. simplù á mediuí verificatioî (CRC¬ ECC¬ etc)®  Nï datá shalì bå transferre䠍
  6409. betweeî thå initiatoò anä target®  Á bytå comparå biô oæ onå indicateó thaô á 
  6410. byte-by-bytå comparå oæ thå datá oî thå medium¬ anä thå datá transferreä froí 
  6411. thå initiatoò shalì bå performeä bù thå target®  Datá shalì bå transferre䠍
  6412. froí thå initiatoò tï thå targeô aó iî á WRITÅ command.
  6413.  
  6414.   Á fixeä biô oæ zerï requestó thaô thå nexô blocë oæ thå logicaì uniô b堍
  6415. verified®  Thå verificatioî lengtè specifieó thå numbeò oæ byteó tï verify®  Á 
  6416. fixeä biô oæ onå requestó verificatioî lengtè blockó bå verifieä beginnin砍
  6417. witè thå nexô logicaì blocë oî thå logicaì unit®  Thió forí oæ thå VERIFÙ 
  6418. commanä ió onlù valiä iæ thå logicaì uniô ió currentlù iî fixeä blocë modå aó 
  6419. defineä iî thå REAÄ command®  Iæ thå datá doeó noô comparå (bytå comparå biô 
  6420. equaló one)¬ thå commanä shalì terminatå witè á CHECË CONDITIOΠstatuó anä th堍
  6421. senså keù shalì bå seô tï MISCOMPARE®  Iæ thå fixeä biô ió one¬ thå valiä biô 
  6422. shalì bå seô tï onå anä thå informatioî byteó shalì bå seô tï thå differenc堍
  6423. (residue© betweeî thå verificatioî lengtè anä thå actuaì numbeò oæ blockó 
  6424. successfullù verified®  Thå mediuí shalì bå positioneä afteò thå bloc렍
  6425. containinç thå miscomparå (end-of-mediuí side).
  6426.  
  6427.   Thå targeô maù implemenô fixeä blocë mode¬ variablå blocë mode¬ oò bot蠍
  6428. modes®  Iæ thå fixeä biô doeó noô matcè thå currenô mode¬ oò thå mod堍
  6429. indicateä bù thå fixeä biô ió noô implemented¬ thå targeô shalì rejecô th堍
  6430. commanä bù returninç á CHECË CONDITIOΠstatuó anä bù settinç thå senså keù t
  6431. ILLEGAÌ REQUEST.Š
  6432.   Thå VERIFY commanä shalì terminatå wheî thå verificatioî lengtè haó bee
  6433. satisfied¬ wheî á filemarë ió encountered¬ oò wheî physicaì end-of-mediuí ió 
  6434. encountered®  Thå statuó anä senså datá foò eacè oæ theså conditionó ar堍
  6435. handleä thå samå aó iî thå REAÄ command®  Upoî completioî oæ thå VERIFY 
  6436. command¬ thå mediuí shalì bå positioneä afteò thå lasô blocë froí whicè dat᠍
  6437. waó verifieä oò afteò thå filemark¬ iæ encountered® 
  6438.  
  6439.   Wheî thå verificatioî lengtè ió zero¬ nï datá shalì bå verifieä anä th堍
  6440. currenô positioî oî thå logicaì uniô shalì noô bå changed®  Thió conditio
  6441. shalì noô bå considereä aó aî error.
  6442.  
  6443. 9.10 RECOVER BUFFERED DATA Command
  6444.  
  6445.      Peripheral Device Type:  Sequential Access
  6446.         Operation Code Type:  Optional
  6447.              Operation Code:  14H
  6448.  
  6449.                                   Table 9-12
  6450.                         RECOVER BUFFERED DATA Command
  6451.  
  6452. ==============================================================================
  6453.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  6454. Byte |        |        |        |        |        |        |        |        |
  6455. ==============================================================================
  6456.  0   |                           Operation Code                              |
  6457. -----|-----------------------------------------------------------------------|
  6458.  1   | Logical Unit Number      |                  Reserved         | Fixed  |
  6459. -----|-----------------------------------------------------------------------|
  6460.  2   |                           Transfer Length (MSB)                       |
  6461. -----|-----------------------------------------------------------------------|
  6462.  3   |                           Transfer Length                             |
  6463. -----|-----------------------------------------------------------------------|
  6464.  4   |                           Transfer Length (LSB)                       |
  6465. -----|-----------------------------------------------------------------------|
  6466.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  6467. ==============================================================================
  6468.  
  6469.   Thå RECOVEÒ BUFFEREÄ DATÁ commanä (Tablå 9-12© ió useä tï reaä datá thaô haó 
  6470. beeî transferreä tï aî SCSÉ devicå buffeò buô haó noô beeî writteî oî th堍
  6471. medium®  Iô ió normallù onlù useä tï recoveò froí erroò oò exceptio
  6472. conditionó thaô makå iô impossiblå tï writå thå buffereä datá oî thå medium®
  6473.  
  6474.   Thió commanä functionó similarlù tï thå REAÄ commanä excepô thaô thå datá ió 
  6475. transferreä froí thå SCSÉ devicå buffeò insteaä oæ thå medium®  Thå ordeò i
  6476. whicè block(s© arå transferreä ió thå samå aó iæ theù woulä havå bee
  6477. transferreä tï thå medium®  Onå oò morå RECOVEÒ BUFFEREÄ DATÁ commandó maù b堍
  6478. useä tï reaä thå unwritteî buffereä data.
  6479.  
  6480.   Thå targeô maù implemenô fixeä blocë mode¬ variablå blocë mode¬ oò bot蠍
  6481. modes®  Iæ thå fixeä biô doeó noô matcè thå currenô mode¬ oò thå mod堍
  6482. indicateä bù thå fixeä biô ió noô implemented¬ thå targeô shalì rejecô th堍
  6483. commanä bù returninç á CHECË CONDITIOΠstatuó anä bù settinç thå senså keù t
  6484. ILLEGAÌ REQUEST.
  6485.  
  6486.   Iæ aî attempô ió madå tï recoveò morå logicaì blockó oæ datá thaî ar堍Šcontaineä iî thå SCSÉ devicå buffer¬ thå commanä shalì bå terminateä witè á 
  6487. CHECË CONDITIOΠstatus®  Thå EOÍ biô iî extendeä senså shalì bå seô tï one®  
  6488. Iæ thå fixeä biô ió one¬ thå valiä biô shalì bå seô tï onå anä thå informatio
  6489. byteó shalì bå seô tï thå differencå (residue© betweeî thå requesteä transfeò 
  6490. lengtè anä thå actuaì numbeò oæ blockó transferred.
  6491.  
  6492.   Thå transfeò lengtè specifieó thå numbeò oæ contiguouó logicaì blockó o栍
  6493. datá tï bå transferred®  Á transfeò lengtè oæ zerï indicateó thaô nï dat᠍
  6494. shalì bå transferred®  Thió conditioî shalì noô bå considereä aó aî error.
  6495.  
  6496. 9.11 MODE SELECT Command
  6497.  
  6498.      Peripheral Device Type:  Sequential Access
  6499.         Operation Code Type:  Optional
  6500.              Operation Code:  15H
  6501.  
  6502.                                   Table 9-13
  6503.                              MODE SELECT Command
  6504.  
  6505. ==============================================================================
  6506.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  6507. Byte |        |        |        |        |        |        |        |        |
  6508. ==============================================================================
  6509.  0   |                           Operation Code                              |
  6510. -----|-----------------------------------------------------------------------|
  6511.  1   | Logical Unit Number      |                  Reserved                  |
  6512. -----|-----------------------------------------------------------------------|
  6513.  2   |                           Reserved                                    |
  6514. -----|-----------------------------------------------------------------------|
  6515.  3   |                           Reserved                                    |
  6516. -----|-----------------------------------------------------------------------|
  6517.  4   |                           Parameter List Length                       |
  6518. -----|-----------------------------------------------------------------------|
  6519.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  6520. ==============================================================================
  6521.  
  6522.   Thå MODÅ SELECÔ commanä (Tablå 9-13© provideó á meanó foò thå initiatoò t
  6523. specifù medium¬ logicaì unit¬ oò peripheraì devicå parameteró tï thå target®
  6524.  
  6525.   Thå  parameteò lisô lengtè specifieó thå lengtè iî byteó oæ thå MODÅ SELECÔ 
  6526. parameteò lisô thaô shalì bå transferreä durinç thå DATÁ OUÔ phase®  Á zer
  6527. parameteò lisô lengtè indicateó thaô nï datá shalì bå transferred®  Thió 
  6528. conditioî shalì noô bå considereä aó aî error.
  6529.  
  6530.   Thå MODÅ SELECÔ parameteò lisô showî iî Tablå 9-1´ containó á fouò-byt堍
  6531. header¬ followeä bù zerï oò morå eight-bytå blocë descriptors¬ followeä bù th堍
  6532. vendoò uniquå parameters¬ iæ any.
  6533. .paŠ                                  Table 9-14
  6534.                           MODÅ SELECÔ Parameter List
  6535.  
  6536. ==============================================================================
  6537.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  6538. Byte |        |        |        |        |        |        |        |        |
  6539. ==============================================================================
  6540.  0   |                           Reserved                                    |
  6541. -----|-----------------------------------------------------------------------|
  6542.  1   |                           Reserved                                    |
  6543. -----|-----------------------------------------------------------------------|
  6544.  2   |Reserved|      Buffered Mode       |          Speed                    |
  6545. -----|-----------------------------------------------------------------------|
  6546.  3   |                           Block Descriptor Length                     |
  6547. ============================================================================== 
  6548.      |                        Blocë Descriptoò(s)                            |
  6549. ==============================================================================
  6550.  0   |                           Density Code                                |
  6551. -----|-----------------------------------------------------------------------|
  6552.  1   |                           Number of Blocks (MSB)                      |
  6553. -----|-----------------------------------------------------------------------|
  6554.  2   |                           Number of Blocks                            |
  6555. -----|-----------------------------------------------------------------------|
  6556.  3   |                           Number of Blocks (LSB)                      |
  6557. -----|-----------------------------------------------------------------------|
  6558.  4   |                           Reserved                                    |
  6559. -----|-----------------------------------------------------------------------|
  6560.  5   |                           Block Length (MSB)                          |
  6561. -----|-----------------------------------------------------------------------|
  6562.  6   |                           Block Length                                |
  6563. -----|-----------------------------------------------------------------------|
  6564.  7   |                           Block Length (LSB)                          |
  6565. ==============================================================================
  6566.      |                        Vendor Unique Parameter(s)                     |
  6567. ==============================================================================
  6568. 0 _ n|                           Vendor Unique                               |
  6569.      |                           Parameter Byte(s)                           |
  6570. ==============================================================================
  6571.  
  6572.   Á buffereä modå oæ zerï indicateó thaô thå targeô shalì noô reporô a GOOÄ 
  6573. statuó oî WRITÅ commandó untiì thå datá blockó arå actuallù writteî oî th堍
  6574. medium®  Á buffereä modå oæ onå indicateó thaô thå targeô maù reporô a GOOÄ 
  6575. statuó oî WRITÅ commandó aó sooî aó thå datá blocë haó beeî transferreä tï th堍
  6576. SCSÉ devicå buffer®  Onå oò morå blockó maù bå buffereä prioò tï writinç th堍
  6577. block(s© tï thå medium®  Buffereä modeó oæ 2H– througè 7H– arå reserved.
  6578.  
  6579.   Code values for the speed field shall be assigned as follows:
  6580.  
  6581.    0H         Default (Use the  peripheral device's default speed).
  6582.    1H         Use the peripheral device's lowest speed.
  6583.    2H _ FH    Use increasing peripheral device speeds.
  6584.  
  6585.   Thå blocë descriptoò lengtè specifieó thå lengtè iî byteó oæ alì thå bloc렍
  6586. descriptors®  Iô ió equaì tï thå numbeò oæ blocë descriptoró timeó eight and 
  6587. doeó noô includå thå vendoò uniquå parameters¬ iæ any®  Á blocë descriptoò 
  6588. lengtè oæ zerï indicateó thaô nï blocë descriptoró arå includeä iî th堍Šparameteò list®  Thió conditioî shalì noô bå considereä aó aî error.
  6589.  
  6590.   Eacè blocë descriptoò specifieó thå mediuí characteristicó foò alì oò parô 
  6591. oæ á logicaì unit®  Eacè blocë descriptoò containó á densitù code¬ á numbeò o栍
  6592. blocks¬ anä á blocë length.
  6593.  
  6594.   Code values for the density code field are defined in Table 9-14.1.
  6595.  
  6596.                                  Table 9-14.1
  6597.                        Sequential-access Density Codes
  6598.  
  6599. ==============================================================================
  6600. Code Value                             Density
  6601. ----------  ------------------------------------------------------------------
  6602.    00H      Default (peripheral device's default or only density)
  6603.        
  6604.                                     Magnetic Tapes
  6605.             Width                  Density                 Reference
  6606.             mm. (Inch)   Tracks  BPMM   (BPI)  Code  Type  Standard      Note
  6607.             ----------   ------  ------------  ----  ----  ------------  ----
  6608.    01H      12.7 (0.5)      9     32    (800)  NRZI   R    X3.22-1983      3
  6609.    02H      12.7 (0.5)      9     63  (1 600)  PE     R    X3.39-1973      3
  6610.    03H      12.7 (0.5)      9    246  (6 250)  GCR    R    X3.54-1976      3
  6611.    04H       6.3 (0.25)    4/9   315  (8 000)  GCR    C                  2,4
  6612.    05H       6.3 (0.25)    4/9   315  (8 000)  GCR    C    X3.136-198X     2
  6613.    06H      12.7 (0.5)      9    126  (3 200)  PE     R    X3B5/85-98    1,3
  6614.    07H       6.3 (0.25)     4    252  (6 400)  IMFM   C    X3.116-198X     2
  6615.    08H      3.81 (0.15)     4    315  (8 000)  GCR    CS   X3B5/85-77    1,2
  6616.    09H      12.7 (0.5)     18                         C    X3B5/85-76    1,3
  6617.    0AH      12.7 (0.5)     22    267  (6 667)  MFM    C                    2
  6618.    0BH       6.3 (0.25)     4     63  (1 600)  PE     C    X3.56-198X      2
  6619.    0CH      12.7 (0.5)     24    500 (12 690)  GCR    C                    2
  6620.    0DH      12.7 (0.5)     24    999 (25 380)  GCR    C                    2
  6621.  
  6622. 80H _ FFH   Vendor unique
  6623. All others  Reserved
  6624. ==============================================================================
  6625. Key:
  6626.                Code                                       Type
  6627. --------------------------------------------       -----------------------
  6628. NRZI  Non Return to Zero, change on ones           R   Reel-to-Reel
  6629. GCR   Group Code Recording                         C   Cartridge
  6630. PE    Phase Encoded                                CS  Cassette
  6631. IMFM  Inverted Modified Frequency Modulation
  6632.  
  6633. NOTES:
  6634.   (1©  Workinç Draft®  X3Bµ assignó á ne÷ documenô numbeò tï eacè revisioî o栍
  6635. theiò documents®  Pleaså contacô thå Chairmaî oæ X3Bµ foò thå latesô documenô 
  6636. number.
  6637.   (2)  Serially Recorded.
  6638.   (3)  Parallel Recorded.
  6639.   (4)  Old format known as QIC-11.
  6640.  
  6641.  
  6642.   Thå numbeò oæ blockó fielä specifieó thå numbeò oæ logicaì blockó on th堍
  6643. mediuí thaô meeô thå densitù codå anä blocë lengtè iî thå blocë descriptor®  Á Šnumbeò oæ blockó oæ zerï indicateó thaô alì oæ thå remaininç logicaì blockó o栍
  6644. thå logicaì uniô shalì havå thå mediuí characteristicó specifieä bù thå bloc렍
  6645. descriptor.
  6646.  
  6647.   Thå blocë lengtè specifieó thå lengtè iî byteó oæ eacè logicaì bloc렍
  6648. describeä bù thå blocë descriptor®  Á blocë lengtè oæ zerï indicateó thaô th堍
  6649. length shall be variable.
  6650. .fo Section 9                          132.1
  6651. .paŠ.fo Section 9                          132.2
  6652. 9.12 RESERVE UNIT and RELEASE UNIT Commands
  6653.  
  6654.      Peripheral Device Type:  Sequential Access
  6655.         Operation Code Type:  Optional
  6656.              Operation Code:  16H and 17H, respectively
  6657.  
  6658.                                   Table 9-15
  6659.                     RESERVE UNIT and RELEASE UNIT Commands
  6660.  
  6661. ==============================================================================
  6662.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  6663. Byte |        |        |        |        |        |        |        |        |
  6664. ==============================================================================
  6665.  0   |                           Operation Code                              |
  6666. -----|-----------------------------------------------------------------------|
  6667.  1   | Logical Unit Number      | 3rdPty | Third Party Device ID    |Reserved|
  6668. -----|-----------------------------------------------------------------------|
  6669.  2   |                           Reserved                                    |
  6670. -----|-----------------------------------------------------------------------|
  6671.  3   |                           Reserved                                    |
  6672. -----|-----------------------------------------------------------------------|
  6673.  4   |                           Reserved                                    |
  6674. -----|-----------------------------------------------------------------------|
  6675.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  6676. ==============================================================================
  6677.  
  6678.   Thå RESERVÅ UNIÔ anä RELEASÅ UNIÔ commandó botè uså thå commanä descriptoò 
  6679. block shown in Table 9-15.
  6680.  
  6681.   9.12.± RESERVÅ UNIÔ Command.‚  Thå RESERVÅ UNIÔ commanä (Tablå 9-15¬ 
  6682. operatioî codå 16H© shalì reservå thå specifieä logicaì uniô foò thå exclusiv堍
  6683. uså bù thå requestinç initiatoò or¬ iæ third-partù reservatioî optioî ió 
  6684. implemented, to another specified SCSI device.
  6685.  
  6686.   Thå reservatioî shalì remaiî iî effecô untiì supercedeä bù anotheò RESERVÅ 
  6687. UNIÔ commanä froí thå initiatoò thaô madå thå reservatioî oò untiì releaseä bù 
  6688. á RELEASÅ UNIÔ commanä froí thå samå initiator¬ oò á BUÓ DEVICÅ RESEÔ messag堍
  6689. froí anù initiator¬ oò á "hard¢ RESEÔ condition®  Thå occurrencå oæ thå lasô 
  6690. twï conditionó ió indicateä bù á senså keù oæ UNIÔ ATTENTIOΠoî thå nexô 
  6691. commanä followinç thå condition®  Iô ió noô aî erroò tï issuå thió commanä t
  6692. á logicaì uniô thaô ió currentlù reserveä tï thå requestinç initiator.
  6693.  
  6694.   Iæ thå logicaì uniô ió previouslù reserveä by anotheò initiator¬ theî th堍
  6695. targeô shalì either:
  6696.  
  6697.   (1©  returî á RESERVATIOΠCONFLICÔ status
  6698.  
  6699.   (2©  queuå thå reservatioî requesô anä disconnecô untiì alì previouslù 
  6700. queueä reservationó havå beeî released®  Wheî thå logicaì uniô ió available¬ 
  6701. thå targeô shalì reconnecô tï perforí thå reservation
  6702.  
  6703.   If¬ afteò honorinç thå reservation¬ anù otheò initiatoò theî subsequentlù 
  6704. attemptó tï perforí anù commanä oî thå reserveä logicaì uniô otheò thaî á 
  6705. RESERVÅ UNIÔ command¬ whicè maù bå queued¬ oò á RELEASÅ UNIÔ command¬ whic蠍
  6706. shalì bå ignored¬ theî thå commanä shalì bå rejecteä witè á RESERVATIOЍ
  6707. CONFLICÔ status® Š.pn 133
  6708. .fo Section 9                            #
  6709.  
  6710.   Thå third-partù reservatioî optioî foò thå RESERVÅ UNIÔ commanä allowó a
  6711. initiatoò tï reservå á logicaì uniô foò anotheò SCSÉ device®  Thió optioî ió 
  6712. intendeä foò uså iî multiple-initiatoò systemó thaô uså thå COPÙ command®  Anù 
  6713. targeô thaô implementó thå third-partù reservatioî optioî shalì alsï implemenô 
  6714. thå third-partù releaså optioî (seå 9.12.2).
  6715.  
  6716.   Iæ thå third-partù (3rdPty© biô ió zero¬ theî thå third-partù reservatio
  6717. optioî ió noô requested®  Iæ thå 3rdPtù biô ió onå anä thå third-partù 
  6718. reservatioî optioî ió implemented¬ theî thå RESERVÅ UNIÔ commanä shalì reserv堍
  6719. thå specifieä logicaì uniô foò thå SCSÉ devicå specifieä iî thå third-partù 
  6720. devicå IÄ field®  Thå targeô shalì preservå thå reservatioî untiì supercede䠍
  6721. bù anotheò RESERVÅ UNIÔ commanä froí thå initiatoò thaô madå thå reservatio
  6722. oò untiì releaseä bù thå samå initiator¬ bù á BUÓ DEVICÅ RESEÔ messagå froí 
  6723. anù initiator¬ oò bù á "hard¢ RESEÔ condition®  Thå targeô shalì ignorå (i.e.¬ 
  6724. returî GOOÄ status© anù attempô madå bù anù otheò initiatoò tï releaså th堍
  6725. reservation.
  6726.  
  6727.   Iæ thå 3rdPtù biô ió onå anä thå third-partù reservatioî optioî ió noô 
  6728. implemented¬ theî thå targeô shalì rejecô thå RESERVÅ UNIÔ commanä witè á 
  6729. CHECË CONDITIOΠstatuó anä á senså keù oæ ILLEGAÌ REQUEST® 
  6730.  
  6731.   Aî initiatoò thaô holdó á currenô reservatioî maù modifù thaô reservatio
  6732. (e.g.¬ switcè third-parties© bù issuinç anotheò RESERVÅ UNIÔ commanä tï th堍
  6733. samå logicaì unit®  Thå supercedinç RESERVÅ UNIÔ commanä shalì releaså th堍
  6734. previouó reservatioî statå onlù wheî thå ne÷ reservatioî ió granted®  Á 
  6735. supercedinç reservatioî takeó prioritù oveò anù previouslù queueä reservatio
  6736. request.
  6737.  
  6738.   9.12.² RELEASÅ UNIÔ Command.‚  Thå RELEASÅ UNIÔ commanä (Tablå 9-15¬ 
  6739. operatioî codå 17H© shalì releaså thå logicaì uniô iæ iô ió currentlù reserve䠍
  6740. by thå requestinç initiator® 
  6741.  
  6742.   Iô ió noô aî erroò tï attempô tï releaså á logicaì uniô thaô ió noô 
  6743. currentlù reserveä tï thå requestinç initiator®  However¬ iô shalì noô b堍
  6744. releaseä iæ iô ió reserveä bù anotheò initiator.
  6745.  
  6746.   Thå third-partù releaså optioî foò thå RELEASÅ UNIÔ commanä allowó a
  6747. initiatoò tï releaså á logicaì uniô thaô waó previouslù reserveä usinç th堍
  6748. third-partù reservatioî optioî (seå 9.12.1)®  Thió optioî shalì bå implemente䠍
  6749. iæ thå third-partù reservatioî optioî ió implemented®  Thió optioî ió intende䠍
  6750. foò uså iî multiple-initiatoò systemó thaô uså thå COPÙ command.
  6751.  
  6752.   Iæ thå third-partù (3rdPty© biô ió zero¬ theî thå third-partù releaså optio
  6753. ió noô requested®  Iæ thå 3rdPtù biô ió onå anä thå targeô implementó th堍
  6754. third-partù releaså option¬ theî thå targeô shalì releaså thå specifie䠍
  6755. logicaì unit¬ buô onlù iæ thå reservatioî waó madå usinç thå third-partù 
  6756. reservatioî optioî bù thå initiatoò thaô ió requestinç thå releaså anä foò th堍
  6757. samå SCSÉ devicå aó specifieä iî thå third-partù devicå IÄ field.
  6758.  
  6759.   Iæ thå 3rdPtù biô ió onå anä thå targeô doeó noô implemenô thå third-partù 
  6760. releaså option¬ theî thå targeô shalì terminatå thå commanä witè á CHECË 
  6761. CONDITIOΠstatuó anä thå senså keù shall be seô tï ILLEGAÌ REQUEST.
  6762. .paŠ9.13 ERASE Command
  6763.  
  6764.      Peripheral Device Type:  Sequential Access
  6765.         Operation Code Type:  Optional
  6766.              Operation Code:  19H
  6767.  
  6768.                                   Table 9-16
  6769.                                 ERASE Command
  6770.  
  6771. ==============================================================================
  6772.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  6773. Byte |        |        |        |        |        |        |        |        |
  6774. ==============================================================================
  6775.  0   |                           Operation Code                              |
  6776. -----|-----------------------------------------------------------------------|
  6777.  1   | Logical Unit Number      |                  Reserved         | Long   |
  6778. -----|-----------------------------------------------------------------------|
  6779.  2   |                           Reserved                                    |
  6780. -----|-----------------------------------------------------------------------|
  6781.  3   |                           Reserved                                    |
  6782. -----|-----------------------------------------------------------------------|
  6783.  4   |                           Reserved                                    |
  6784. -----|-----------------------------------------------------------------------|
  6785.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  6786. ==============================================================================
  6787.  
  6788.   Thå ERASÅ commanä (Tablå 9-16© causeó parô oò alì oæ thå remaininç mediuí t
  6789. bå eraseä beginninç froí thå currenô mediuí position®  Aó useä here¬ "erased¢ 
  6790. meanó eitheò thå mediuí shalì bå eraseä oò á patterî shalì bå writteî oî th堍
  6791. mediuí thaô appearó aó gað tï thå target®
  6792.  
  6793.   Thå distancå tï bå eraseä ió controlleä bù thå lonç bit®  Á lonç biô oæ on堍
  6794. indicateó thaô alì remaininç mediuí oî thå logicaì uniô shalì bå erased®  Á 
  6795. lonç biô oæ zerï indicateó thaô á peripheraì devicå specifieä portioî oæ th堍
  6796. mediuí shalì bå erased®  Normally¬ shorô eraseó arå useä tï creatå aî extende䠍
  6797. gað foò softwarå controlleä erroò recoverù oò foò supporô oæ "updatå iî place¢ 
  6798. functions®  Thå mediuí positioî followinç aî ERASÅ commanä witè á lonç biô o栍
  6799. one is not defined by this standard.
  6800.  
  6801. NOTEº  Somå targetó maù rejecô ERASÅ commandó witè thå lonç biô seô tï onå i栍
  6802. thå mediuí ió noô positioneä aô the beginning-of-medium.
  6803. .paŠ9.14 MODE SENSE Command
  6804.  
  6805.      Peripheral Device Type:  Sequential Access
  6806.         Operation Code Type:  Optional
  6807.              Operation Code:  1AH
  6808.  
  6809.                                   Table 9-17
  6810.                               MODE SENSE Command
  6811.  
  6812. ==============================================================================
  6813.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  6814. Byte |        |        |        |        |        |        |        |        |
  6815. ==============================================================================
  6816.  0   |                           Operation Code                              |
  6817. -----|-----------------------------------------------------------------------|
  6818.  1   | Logical Unit Number      |                  Reserved                  |
  6819. -----|-----------------------------------------------------------------------|
  6820.  2   |                           Reserved                                    |
  6821. -----|-----------------------------------------------------------------------|
  6822.  3   |                           Reserved                                    |
  6823. -----|-----------------------------------------------------------------------|
  6824.  4   |                           Allocation Lengtè                           |
  6825. -----|-----------------------------------------------------------------------|
  6826.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  6827. ==============================================================================
  6828.  
  6829.   Thå MODÅ SENSÅ commanä (Tablå 9-17© provideó á meanó foò á targeô tï reporô 
  6830. itó medium¬ logicaì unit¬ oò peripheraì devicå parameteró tï thå initiator®  
  6831. Iô ió á complementarù commanä tï thå MODÅ SELECÔ commanä (seå 9.11© foò 
  6832. supporô oæ á mediuí thaô maù contaiî differenô densities¬ sucè aó half-inc蠍
  6833. tapes.
  6834.  
  6835.   Thå allocatioî lengtè specifieó thå numbeò oæ byteó thaô thå initiatoò haó 
  6836. allocateä foò returneä MODÅ SENSÅ data®  Aî allocatioî lengtè oæ zer
  6837. indicateó thaô nï MODÅ SENSÅ datá shalì bå transferred®  Thió conditioî shal젍
  6838. noô bå considereä aó aî error®  Anù otheò valuå indicateó thå maximuí numbeò 
  6839. oæ byteó thaô shalì bå transferred®  Thå targeô shalì terminatå thå DATÁ IЍ
  6840. phaså wheî allocatioî lengtè byteó havå beeî transferreä oò wheî alì availabl堍
  6841. MODÅ SENSÅ datá have beeî transferreä tï thå initiator, whichever is less®
  6842.  
  6843.   Thå MODÅ SENSÅ datá (Tablå 9-18© containó á four-bytå header¬ followeä bù 
  6844. zerï oò morå eight-bytå blocë descriptors¬ followeä bù thå vendoò uniqu堍
  6845. parameters¬ iæ any.
  6846. .paŠ                                  Table 9-18
  6847.                                MODÅ SENSÅ Data
  6848.  
  6849. ==============================================================================
  6850.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  6851. Byte |        |        |        |        |        |        |        |        |
  6852. ==============================================================================
  6853.  0   |                           Sense Data Length                           |
  6854. -----|-----------------------------------------------------------------------|
  6855.  1   |                           Medium Type                                 |
  6856. -----|-----------------------------------------------------------------------|
  6857.  2   |   WP   |   Buffered Mode          |         Speed                     |
  6858. -----|-----------------------------------------------------------------------|
  6859.  3   |                           Block Descriptor Length                     |
  6860. ==============================================================================
  6861.      |                        Blocë Descriptoò(s)                            |
  6862. ==============================================================================
  6863.  0   |                           Density Code                                |
  6864. -----|-----------------------------------------------------------------------|
  6865.  1   |                           Number of Blocks (MSB)                      |
  6866. -----|-----------------------------------------------------------------------|
  6867.  2   |                           Number of Blocks                            |
  6868. -----|-----------------------------------------------------------------------|
  6869.  3   |                           Number of Blocks (LSB)                      |
  6870. -----|-----------------------------------------------------------------------|
  6871.  4   |                           Reserved                                    |
  6872. -----|-----------------------------------------------------------------------|
  6873.  5   |                           Block Length (MSB)                          |
  6874. -----|-----------------------------------------------------------------------|
  6875.  6   |                           Block Length                                |
  6876. -----|-----------------------------------------------------------------------|
  6877.  7   |                           Block Length (LSB)                          |
  6878. ==============================================================================
  6879.      |                        Vendor Unique Parameter(s)                     |
  6880. ==============================================================================
  6881. 0 _ n|                           Vendor Unique                               |
  6882.      |                           Parameter Byte(s)                           |
  6883. ==============================================================================
  6884.  
  6885.   Thå senså datá lengtè specifieó thå lengtè iî byteó oæ thå followinç mod堍
  6886. senså datá thaô ió availablå tï bå transferreä durinç thå DATÁ IΠphase®  Th堍
  6887. sense data length does not include itself.
  6888.  
  6889.   Code values for the medium type field shall be assigned as follows:
  6890.  
  6891.    00H        Default (Only one medium type supported)
  6892.    01H _ 7FH  Reserved
  6893.    80H _ FFH  Vendor unique
  6894.  
  6895.   Á writå protecteä (WP© biô oæ zerï indicateó thaô thå mediuí ió writ堍
  6896. enabled®  Á writå protecteä biô oæ onå indicateó thaô thå mediuí ió writ堍
  6897. protected.
  6898.  
  6899.   Á buffereä modå oæ zerï indicateó thaô thå targeô does noô reporô a GOOÄ 
  6900. statuó oî WRITÅ commandó untiì thå datá blockó arå actuallù writteî oî th堍
  6901. medium®  Á buffereä modå oæ onå indicateó thaô thå targeô maù reporô a GOOÄ Šstatuó oî WRITÅ commandó aó sooî aó thå datá blocë haó beeî transferreä tï th堍
  6902. SCSÉ devicå buffer®  Onå oò morå blockó maù bå buffereä prioò tï writinç th堍
  6903. block(s© tï thå medium®  Buffereä modeó oæ 2H– througè 7H– arå reserved.
  6904.  
  6905.   Code values for the speed field shall be assigned as follows:
  6906.  
  6907.    0H         Default (only one speed supported)
  6908.    1H         Lowest peripheral device speed
  6909.    2H _ FH    Increasing peripheral device speeds
  6910.  
  6911.   Thå blocë descriptoò lengtè specifieó thå lengtè iî byteó oæ alì thå bloc렍
  6912. descriptors®  Iô ió equaì tï thå numbeò oæ blocë descriptoró timeó eight and 
  6913. doeó noô includå thå vendoò uniquå parameters¬ iæ any®  Á blocë descriptoò 
  6914. lengtè oæ zerï indicateó thaô nï blocë descriptoró shalì bå includeä iî th堍
  6915. parameteò list®  Thió conditioî shalì noô bå considereä aó aî error.
  6916.  
  6917.   Eacè blocë descriptoò specifieó thå mediuí characteristicó foò alì oò parô 
  6918. oæ á logicaì unit®  Eacè blocë descriptoò containó á densitù code¬ á numbeò o栍
  6919. blocks¬ anä á blocë length.
  6920.  
  6921.   Code values for the density code field are defined in Table 9-14.1.
  6922.  
  6923.   Thå numbeò oæ blockó fielä specifieó thå numbeò oæ logicaì blockó on th堍
  6924. mediuí thaô meeô thå densitù codå anä blocë lengtè iî thå blocë descriptor®  Á 
  6925. numbeò oæ blockó oæ zerï indicateó thaô alì oæ thå remaininç logicaì blockó o栍
  6926. thå logicaì uniô havå thå mediuí characteristicó specifieä bù thå bloc렍
  6927. descriptor.
  6928.  
  6929.   Thå blocë lengtè specifieó thå lengtè iî byteó oæ eacè logicaì bloc렍
  6930. describeä bù thå blocë descriptor®  Á blocë lengtè oæ zerï indicateó thaô th堍
  6931. length is variable.
  6932. .paŠ9.15 LOAD/UNLOAD Command
  6933.  
  6934.      Peripheral Device Type:  Sequential Access
  6935.         Operation Code Type:  Optional
  6936.              Operation Code:  1BH
  6937.  
  6938.                                   Table 9-19
  6939.                              LOAD/UNLOAD Command 
  6940.  
  6941. ==============================================================================
  6942.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  6943. Byte |        |        |        |        |        |        |        |        |
  6944. ==============================================================================
  6945.  0   |                           Operation Code                              |
  6946. -----|-----------------------------------------------------------------------|
  6947.  1   | Logical Unit Number      |                  Reserved         | Immed  |
  6948. -----|-----------------------------------------------------------------------|
  6949.  2   |                           Reserved                                    |
  6950. -----|-----------------------------------------------------------------------|
  6951.  3   |                           Reserved                                    |
  6952. -----|-----------------------------------------------------------------------|
  6953.  4   |                           Reserved                  | Re-Ten |  Load  |
  6954. -----|-----------------------------------------------------------------------|
  6955.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  6956. ==============================================================================
  6957.  
  6958.   Thå LOAD/UNLOAÄ commanä (Tablå 9-19© requestó thaô thå targeô enablå oò 
  6959. disablå thå logicaì uniô foò furtheò operations®  Thió commanä maù alsï b堍
  6960. useä tï requesô thå re-tensioî functioî oî peripheraì deviceó thaô supporô 
  6961. thió function.
  6962.  
  6963.   Á loaä biô oæ onå indicateó thaô thå mediuí oî thå logicaì uniô shalì b堍
  6964. loadeä anä positioneä tï thå beginning-of-mediuí oò load-poinô aó determine䠍
  6965. bù thå peripheraì device®  Á loaä biô oæ zerï indicateó thaô thå mediuí oî th堍
  6966. logicaì uniô shalì bå positioneä foò removaì froí thå peripheraì device.
  6967.  
  6968.   Statuó shalì bå returneä afteò thå mediuí ió positioneä unlesó thå immediat堍
  6969. (Immed© biô ió one®  Iæ thå Immeä biô ió one¬ statuó maù bå returneä aó soo
  6970. aó thå commanä haó beeî accepted.
  6971.  
  6972.   Á re-tensioî (Re-Ten© biô oæ onå indicateó thaô thå mediuí oî thå addresse䠍
  6973. logicaì uniô shalì bå correctlù tensioneä beforå thå LOAD/UNLOAÄ commanä ió 
  6974. completed®  Thió ió aî optionaì functioî intendeä foò uså bù thoså periphera젍
  6975. deviceó thaô supporô thå re-tensioî function.
  6976. .paŠ9.16 PREVENT/ALLOW MEDIUM REMOVAL Command
  6977.  
  6978.      Peripheral Device Type:  Sequential Access
  6979.         Operation Code Type:  Optional
  6980.              Operation Code:  1EH
  6981.  
  6982.                                   Table 9-20
  6983.                      PREVENT/ALLOW MEDIUM REMOVAL Command
  6984.  
  6985. ==============================================================================
  6986.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  6987. Byte |        |        |        |        |        |        |        |        |
  6988. ==============================================================================
  6989.  0   |                           Operation Code                              | 
  6990. -----|-----------------------------------------------------------------------|
  6991.  1   | Logical Unit Number      |                  Reserved                  |
  6992. -----|-----------------------------------------------------------------------|
  6993.  2   |                           Reserved                                    |
  6994. -----|-----------------------------------------------------------------------|
  6995.  3   |                           Reserved                                    |
  6996. -----|-----------------------------------------------------------------------|
  6997.  4   |                           Reserved                           | Prevent|
  6998. -----|-----------------------------------------------------------------------|
  6999.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  7000. ==============================================================================
  7001.  
  7002.   Thå PREVENT/ALLO× MEDIUÍ REMOVAÌ commanä (Tablå 9-20© requestó thaô th堍
  7003. targeô enablå oò disablå thå removaì oæ thå mediuí iî thå logicaì unit.
  7004.  
  7005.   Á prevenô biô oæ onå shalì inhibiô mechanismó thaô normallù allo÷ removaì o栍
  7006. thå medium®  Á prevenô biô oæ zerï shalì allo÷ removaì oæ thå medium.
  7007.  
  7008.   Thió preventioî oæ mediuí removaì conditioî shalì terminatå upoî receipô o栍
  7009. á PREVENT/ALLO× MEDIUÍ REMOVAÌ commanä witè thå prevenô biô seô tï zero¬ oò bù 
  7010. thå receipô oæ á BUÓ DEVICÅ RESEÔ messagå froí anù initiatoò oò bù á "hard¢ 
  7011. RESEÔ condition.
  7012. .paŠ.. To set ruler line, position cursor on the next line and type ^OF--!--!--!--!--!--!--!--!--!--!--!--!-----------------------------------------!
  7013. .fo Section 10                           #
  7014. 10. Group 0 Command Descriptions for Printer Devices
  7015.  
  7016. The Group 0 commands for printer devices shall be as shown in Table 10-1.
  7017.  
  7018.                                   Table 10-1
  7019.                      Group 0 Commands for Printer Devices
  7020.  
  7021. ==============================================================================
  7022. Operation
  7023.   Code      Type   Command Name                       Section
  7024. ------------------------------------------------------------------------------
  7025.    00H       O     TEST UNIT READY                    7.1.1
  7026.    01H       V
  7027.    02H       V
  7028.    03H       M     REQUEST SENSE                      7.1.2
  7029.    04H       O     FORMAT                             10.1
  7030.    05H       V
  7031.    06H       V
  7032.    07H       V
  7033.    08H       V
  7034.    09H       V
  7035.    0AH       M     PRINT                              10.2
  7036.    0BH       O     SLEW AND PRINT                     10.3
  7037.    0CH       V
  7038.    0DH       V
  7039.    0EH       V
  7040.    0FH       V
  7041.    10H       O     FLUSH BUFFER                       10.4
  7042.    11H       V
  7043.    12H       E     INQUIRY                            7.1.3
  7044.    13H       V
  7045.    14H       O     RECOVER BUFFERED DATA              10.5
  7046.    15H       O     MODE SELECT                        10.6
  7047.    16H       O     RESERVE UNIT                       10.7.1
  7048.    17H       O     RELEASE UNIT                       10.7.2
  7049.    18H       O     COPY                               7.1.4
  7050.    19H       V
  7051.    1AH       O     MODE SENSE                         10.8
  7052.    1BH       O     STOP PRINT                         10.9
  7053.    1CH       O     RECEIVE DIAGNOSTIC RESULTS         7.1.5
  7054.    1DH       O     SEND DIAGNOSTIC                    7.1.6
  7055.    1EH       R
  7056.    1FH       R
  7057. ==============================================================================
  7058.  
  7059. Key: M  =  Command implementation is mandatory.
  7060.      E  =  Commanä implementatioî ió requireä foò SCSÉ deviceó thaô supporô 
  7061.            device-independenô self-configurinç software.
  7062.      O  =  Command implementatioî is optional.
  7063.      R  =  Operation code is reserved for future standardization.
  7064.      V  =  Operation code is available for vendor unique commands.
  7065. .paŠ10.1 FORMAT Command
  7066.  
  7067.      Peripheral Device Type:  Printer 
  7068.         Operation Code Type:  Optional
  7069.              Operation Code:  04H
  7070.  
  7071.                                   Table 10-2
  7072.                                 FORMAT Command
  7073.  
  7074. ==============================================================================
  7075.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  7076. Byte |        |        |        |        |        |        |        |        |
  7077. ==============================================================================
  7078.  0   |                           Operation Code                              | 
  7079. -----|-----------------------------------------------------------------------|
  7080.  1   | Logical Unit Number      |         Reserved         | Format Type     |
  7081. -----|-----------------------------------------------------------------------|
  7082.  2   |                           Transfer Length (MSB)                       |
  7083. -----|-----------------------------------------------------------------------|
  7084.  3   |                           Transfer Length                             |
  7085. -----|-----------------------------------------------------------------------|
  7086.  4   |                           Transfer Length (LSB)                       |
  7087. -----|-----------------------------------------------------------------------|
  7088.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  7089. ==============================================================================
  7090.  
  7091.   Thå FORMAÔ commanä (Tablå 10-2© provideó á meanó foò thå initiatoò t
  7092. specifù formó oò fontó tï printeró thaô supporô programmablå formó oò fonts®  
  7093. Thå formaô informatioî senô ió vendoò uniquå sincå iô ió peripheral-devic堍
  7094. specific.
  7095.  
  7096.   Thå formaô typå fielä specifieó thå typå oæ formaô informatioî tï b堍
  7097. transferreä froí thå initiatoò tï thå target®  Thió fielä ió defineä aó 
  7098. follows:
  7099.  
  7100.    DB(1)  DB(0)    Format Type
  7101.    -----  -----    -------------
  7102.      0      0      Set Form
  7103.      0      1      Set Font
  7104.      1      0      Vendor Unique
  7105.      1      1      Reserved
  7106.  
  7107.  
  7108.   Thå transfeò lengtè specifieó thå lengtè iî byteó oæ formaô informatioî thaô 
  7109. shalì bå senô durinç thå DATÁ OUÔ phase®  Á transfeò lengtè oæ zerï indicateó 
  7110. thaô nï formaô informatioî shalì bå sent®  Thió conditioî shalì noô b堍
  7111. considereä aó aî error.
  7112. .paŠ10.2 PRINT Command
  7113.  
  7114.      Peripheral Device Type:  Printer 
  7115.         Operation Code Type:  Mandatory
  7116.              Operation Code:  0AH
  7117.  
  7118.                                   Table 10-3
  7119.                                 PRINT Command
  7120.  
  7121. ==============================================================================
  7122.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  7123. Byte |        |        |        |        |        |        |        |        |
  7124. ==============================================================================
  7125.  0   |                           Operation Code                              | 
  7126. -----|-----------------------------------------------------------------------|
  7127.  1   | Logical Unit Number      |                  Reserved                  |
  7128. -----|-----------------------------------------------------------------------|
  7129.  2   |                           Transfer Length (MSB)                       |
  7130. -----|-----------------------------------------------------------------------|
  7131.  3   |                           Transfer Length                             |
  7132. -----|-----------------------------------------------------------------------|
  7133.  4   |                           Transfer Length (LSB)                       |
  7134. -----|-----------------------------------------------------------------------|
  7135.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  7136. ==============================================================================
  7137.  
  7138.   Thå PRINÔ commanä (Tablå 10-3© transferó thå specifieä numbeò oæ byteó froí 
  7139. thå initiatoò tï thå targeô tï bå printed®  Thå datá senô ió applicatio
  7140. dependent.
  7141.  
  7142.   Thå transfeò lengtè specifieó thå lengtè iî byteó oæ datá thaô shalì bå senô 
  7143. durinç thå DATÁ OUÔ phase®  Á transfeò lengtè oæ zerï indicateó thaô nï dat᠍
  7144. shalì bå sent®  Thió conditioî shalì noô bå considereä aó aî error®
  7145. .paŠ10.3 SLEW AND PRINT Command
  7146.  
  7147.      Peripheral Device Type:  Printer 
  7148.         Operation Code Type:  Optional
  7149.              Operation Code:  0BH
  7150.  
  7151.                                   Table 10-4
  7152.                             SLEW AND PRINT Command
  7153.  
  7154. ==============================================================================
  7155.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  7156. Byte |        |        |        |        |        |        |        |        |
  7157. ==============================================================================
  7158.  0   |                           Operation Code                              | 
  7159. -----|-----------------------------------------------------------------------|
  7160.  1   | Logicaì Uniô Numbeò      ü                  Reserved         ü Channel|
  7161. -----|-----------------------------------------------------------------------|
  7162.  2   |                           Slew Value                                  |
  7163. -----|-----------------------------------------------------------------------|
  7164.  3   |                           Transfer Length (MSB)                       |
  7165. -----|-----------------------------------------------------------------------|
  7166.  4   |                           Transfer Length (LSB)                       |
  7167. -----|-----------------------------------------------------------------------|
  7168.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  7169. ==============================================================================
  7170.  
  7171.   Thå SLE× ANÄ PRINÔ commanä (Tablå 10-4© transferó thå specifieä numbeò o栍
  7172. byteó froí thå initiatoò tï thå targeô tï bå printed®  Thå datá senô ió 
  7173. applicatioî dependent®  Thió commanä ió provideä foò printeró thaô dï noô 
  7174. supporô formó controì informatioî imbeddeä withiî thå prinô data®
  7175.  
  7176.   Thå transfeò lengtè specifieó thå lengtè iî byteó oæ datá thaô shalì bå senô 
  7177. durinç thå DATÁ OUÔ phase®  Á transfeò lengtè oæ zerï indicateó thaô nï dat᠍
  7178. shalì bå sent®  Thió conditioî shalì noô bå considereä aó aî error®
  7179.  
  7180.   Iæ thå channeì biô ió zero¬ thå sle÷ valuå specifieó thå numbeò oæ lineó th堍
  7181. forí shalì bå advanceä beforå printing®  Á valuå oæ 25µ indicateó thaô th堍
  7182. forí shalì bå advanceä tï thå firsô linå oæ thå nexô forí beforå printing®  I栍
  7183. thå channeì biô ió one¬ thå sle÷ valuå specifieó thå formó controì channe젍
  7184. numbeò tï whicè thå forí shalì bå advanceä prioò tï printinç thå data.
  7185.  
  7186.   Iæ thå channeì biô ió one¬ anä thå channeì optioî ió noô implemented¬ th堍
  7187. commanä shalì bå terminateä witè á CHECË CONDITIOΠstatuó anä thå senså keù 
  7188. shall be seô tï ILLEGAÌ REQUEST.
  7189. .paŠ10.4 FLUSH BUFFER Command
  7190.  
  7191.      Peripheral Device Type:  Printer 
  7192.         Operation Code Type:  Optional
  7193.              Operation Code:  10H
  7194.  
  7195.                                   Table 10-5
  7196.                              FLUSH BUFFER Command
  7197.  
  7198. ==============================================================================
  7199.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  7200. Byte |        |        |        |        |        |        |        |        |
  7201. ==============================================================================
  7202.  0   |                           Operation Code                              | 
  7203. -----|-----------------------------------------------------------------------|
  7204.  1   | Logicaì Uniô Numbeò      ü                  Reserved                  |
  7205. -----|-----------------------------------------------------------------------|
  7206.  2   |                           Reserved                                    |
  7207. -----|-----------------------------------------------------------------------|
  7208.  3   |                           Reserved                                    |
  7209. -----|-----------------------------------------------------------------------|
  7210.  4   |                           Reserved                                    |
  7211. -----|-----------------------------------------------------------------------|
  7212.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  7213. ==============================================================================
  7214.  
  7215.   Thå FLUSÈ BUFFEÒ commanä (Tablå 10-5© provideó á meanó foò aî initiatoò t
  7216. ensurå thaô thå datá have beeî successfullù printeä prioò tï releasinç th堍
  7217. peripheraì device®  Thió ió usefuì foò applicationó thaô wisè tï handlå anù 
  7218. erroò oò exceptioî conditionó (e.g.¬ end-of-medium© prioò tï terminatioî o栍
  7219. the application.
  7220.  
  7221.   Wheî alì buffereä datá arå actuallù printeä thå commanä shalì bå terminate䠍
  7222. witè a GOOÄ status®  Iæ iô ió noô possiblå tï finisè printinç alì oæ th堍
  7223. buffereä datá (duå tï aî erroò oò exceptioî conditioî oî thå periphera젍
  7224. device)¬ theî thió commanä shalì bå terminateä witè á CHECË CONDITIOΠstatuó 
  7225. anä thå appropriatå senså key.
  7226. .paŠ10.5 RECOVER BUFFERED DATA Command
  7227.  
  7228.      Peripheral Device Type:  Printer 
  7229.         Operation Code Type:  Optional
  7230.              Operation Code:  14H
  7231.  
  7232.                                   Table 10-6
  7233.                         RECOVER BUFFERED DATA Command
  7234.  
  7235. ==============================================================================
  7236.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  7237. Byte |        |        |        |        |        |        |        |        |
  7238. ==============================================================================
  7239.  0   |                           Operation Code                              | 
  7240. -----|-----------------------------------------------------------------------|
  7241.  1   | Logicaì Uniô Numbeò      ü                  Reserved                  |
  7242. -----|-----------------------------------------------------------------------|
  7243.  2   |                           Transfer Length (MSB)                       |
  7244. -----|-----------------------------------------------------------------------|
  7245.  3   |                           Transfer Length                             |
  7246. -----|-----------------------------------------------------------------------|
  7247.  4   |                           Transfer Length (LSB)                       |
  7248. -----|-----------------------------------------------------------------------|
  7249.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  7250. ==============================================================================
  7251.  
  7252.   Thå RECOVEÒ BUFFEREÄ DATÁ commanä (Tablå 10-6© returnó tï thå initiatoò th堍
  7253. datá thaô haó beeî senô tï thå target¬ buô noô yeô printed®
  7254.  
  7255.   Thió commanä ió normallù useä onlù tï recoveò froí erroò oò exceptio
  7256. conditionó thaô makå iô impossiblå tï prinô thå buffereä data®  Thå ordeò i
  7257. whicè thå datá ió transferreä froí thå targeô tï thå initiatoò ió thå samå aó 
  7258. iô waó wheî thå datá waó previouslù transferreä usinç thå PRINÔ commanä oò 
  7259. SLE× ANÄ PRINÔ command®  Datá thaô ió transferreä bù thió commanä ió delete䠍
  7260. froí thå targeô datá buffer®  Onå oò morå RECOVEÒ BUFFEREÄ DATÁ commandó maù 
  7261. bå useä tï returî thå unprinteä buffereä data.
  7262.  
  7263.   Iæ aî attempô ió madå tï recoveò morå datá thaî ió containeä iî thå buffer¬ 
  7264. thå commanä shalì bå terminateä witè á CHECË CONDITIOΠstatuó anä thå sens堍
  7265. keù shalì bå seô tï NÏ SENSE®  Iî addition¬ thå EOM¬ thå valid¬ anä thå ILÉ 
  7266. bitó iî extendeä senså shalì bå seô tï one®  Thå informatioî byteó shalì b堍
  7267. seô tï thå differencå (residue© betweeî thå transfeò lengtè anä thå actua젍
  7268. numbeò oæ byteó returned® 
  7269.  
  7270.   Thå transfeò lengtè specifieó thå maximuí lengtè iî byteó oæ datá thaô shal젍
  7271. bå transferreä durinç thå DATÁ IΠphase®  Á transfeò lengtè oæ zerï indicateó 
  7272. thaô nï datá shalì bå transferred®  Thió conditioî shalì noô bå considereä aó 
  7273. aî error.
  7274. .paŠ10.6 MODE SELECT Command
  7275.  
  7276.      Peripheral Device Type:  Printer 
  7277.         Operation Code Type:  Optional
  7278.              Operation Code:  15H
  7279.  
  7280.                                   Table 10-7
  7281.                              MODE SELECT Command
  7282.  
  7283. ==============================================================================
  7284.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  7285. Byte |        |        |        |        |        |        |        |        |
  7286. ==============================================================================
  7287.  0   |                           Operation Code                              | 
  7288. -----|-----------------------------------------------------------------------|
  7289.  1   | Logicaì Uniô Numbeò      ü                  Reserved                  |
  7290. -----|-----------------------------------------------------------------------|
  7291.  2   |                           Reserved                                    |
  7292. -----|-----------------------------------------------------------------------|
  7293.  3   |                           Reserved                                    |
  7294. -----|-----------------------------------------------------------------------|
  7295.  4   |                           Parameter List Length                       |
  7296. -----|-----------------------------------------------------------------------|
  7297.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  7298. ==============================================================================
  7299.  
  7300.   Thå MODÅ SELECÔ commanä (Tablå 10-7© provideó á meanó foò thå initiatoò t
  7301. specifù medium¬ logicaì unit¬ oò peripheraì devicå parameteró tï thå target.
  7302.  
  7303.   Thå parameteò lisô lengtè specifieó thå lengtè iî byteó oæ thå MODÅ SELECÔ 
  7304. parameteò lisô thaô shalì bå transferreä durinç thå DATÁ OUÔ phase®  Á 
  7305. parameteò lisô lengtè oæ zerï indicateó thaô nï datá shalì bå transferred®  
  7306. Thió conditioî shalì noô bå considereä aó aî error®  Thå MODÅ SELECÔ parameteò 
  7307. lisô (Tablå 10-8© containó á four-bytå header¬ followeä bù thå vendoò uniqu堍
  7308. parameters¬ iæ any.
  7309.  
  7310.                                   Table 10-8
  7311.                           MODÅ SELECÔ Parameter List
  7312.  
  7313. ==============================================================================
  7314.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  7315. Byte |        |        |        |        |        |        |        |        |
  7316. ==============================================================================
  7317.  0   |                           Reserved                                    |
  7318. -----|-----------------------------------------------------------------------|
  7319.  1   |                           Reserved                                    |
  7320. -----|-----------------------------------------------------------------------|
  7321.  2   |Reserved|      Buffered Mode       |             Reserved              |
  7322. -----|-----------------------------------------------------------------------|
  7323.  3   |                           Reserved                                    |
  7324. ==============================================================================
  7325.      |                        Vendor Unique Parameter(s)                     |
  7326. ==============================================================================
  7327. 0 _ n|                           Vendor Unique                               |
  7328.      |                           Parameter Byte(s)                           |
  7329. ==============================================================================Š
  7330.   Á buffereä modå oæ zerï indicateó thaô thå targeô shalì noô reporô a GOOÄ 
  7331. statuó oî PRINÔ commandó oò SLE× ANÄ PRINÔ commandó untiì thå datá ar堍
  7332. actuallù printed®  Á buffereä modå oæ onå indicateó thaô thå targeô maù reporô 
  7333. a GOOÄ statuó oî PRINÔ commandó oò SLE× ANÄ PRINÔ commandó aó sooî aó thå dat᠍
  7334. havå beeî transferreä tï thå SCSÉ devicå buffer®  Thå datá froí onå oò mor堍
  7335. commandó maù bå buffereä prioò tï printing®  Buffereä modeó oæ 2H– througè 7H– 
  7336. arå reserved.
  7337.  
  7338. 10.7 RESERVE UNIT and RELEASE UNIT Commands
  7339.  
  7340.      Peripheral Device Type:  Printer
  7341.         Operation Code Type:  Optional
  7342.              Operation Code:  16H and 17H, respectively
  7343.  
  7344.                                   Table 10-9
  7345.                     RESERVE UNIT and RELEASE UNIT Commands
  7346.  
  7347. ==============================================================================
  7348.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  7349. Byte |        |        |        |        |        |        |        |        |
  7350. ==============================================================================
  7351.  0   |                           Operation Code                              |
  7352. -----|-----------------------------------------------------------------------|
  7353.  1   | Logical Unit Number      | 3rdPty | Third Party Device ID    |Reserved|
  7354. -----|-----------------------------------------------------------------------|
  7355.  2   |                           Reserved                                    |
  7356. -----|-----------------------------------------------------------------------|
  7357.  3   |                           Reserved                                    |
  7358. -----|-----------------------------------------------------------------------|
  7359.  4   |                           Reserved                                    |
  7360. -----|-----------------------------------------------------------------------|
  7361.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  7362. ==============================================================================
  7363.  
  7364.   Thå RESERVÅ UNIÔ anä RELEASÅ UNIÔ commandó botè uså thå commanä descriptoò 
  7365. block shown in Table 10-9.
  7366.  
  7367.   10.7.1 RESERVÅ UNIÔ Command.‚  Thå RESERVÅ UNIÔ commanä (Tablå 10-9¬ 
  7368. operatioî codå 16H© shalì reservå thå specifieä logicaì uniô foò thå exclusiv堍
  7369. uså bù thå requestinç initiatoò or¬ iæ third-partù reservatioî optioî ió 
  7370. implemented, to another specified SCSI device.
  7371.  
  7372.   Thå reservatioî shalì remaiî iî effecô untiì supercedeä bù anotheò RESERVÅ 
  7373. UNIÔ commanä froí thå initiatoò thaô madå thå reservatioî oò untiì releaseä bù 
  7374. á RELEASÅ UNIÔ commanä froí thå samå initiator¬ oò á BUÓ DEVICÅ RESEÔ messag堍
  7375. froí anù initiator¬ oò á "hard¢ RESEÔ condition®  Thå occurrencå oæ thå lasô 
  7376. twï conditionó ió indicateä bù á senså keù oæ UNIÔ ATTENTIOΠoî thå nexô 
  7377. commanä followinç thå condition®  Iô ió noô aî erroò tï issuå thió commanä t
  7378. á logicaì uniô thaô ió currentlù reserveä tï thå requestinç initiator.
  7379.  
  7380.   Iæ thå logicaì uniô ió previouslù reserveä by anotheò initiator¬ theî th堍
  7381. targeô shalì either:
  7382.  
  7383.   (1©  returî á RESERVATIOΠCONFLICÔ status
  7384. Š  (2©  queuå thå reservatioî requesô anä disconnecô untiì alì previouslù 
  7385. queueä reservationó havå beeî released®  Wheî thå logicaì uniô ió available¬ 
  7386. thå targeô shalì reconnecô tï perforí thå reservation
  7387.  
  7388.   If¬ afteò honorinç thå reservation¬ anù otheò initiatoò theî subsequentlù 
  7389. attemptó tï perforí anù commanä oî thå reserveä logicaì uniô otheò thaî á 
  7390. RESERVÅ UNIÔ command¬ whicè maù bå queued¬ oò á RELEASÅ UNIÔ command¬ whic蠍
  7391. shalì bå ignored¬ theî thå commanä shalì bå rejecteä witè á RESERVATIOЍ
  7392. CONFLICÔ status® 
  7393.  
  7394.   Thå third-partù reservatioî optioî foò thå RESERVÅ UNIÔ commanä allowó a
  7395. initiatoò tï reservå á logicaì uniô foò anotheò SCSÉ device®  Thió optioî ió 
  7396. intendeä foò uså iî multiple-initiatoò systemó thaô uså thå COPÙ command®  Anù 
  7397. targeô thaô implementó thå third-partù reservatioî optioî shalì alsï implemenô 
  7398. thå third-partù releaså optioî (seå 10.7.2).
  7399.  
  7400.   Iæ thå third-partù (3rdPty© biô ió zero¬ theî thå third-partù reservatio
  7401. optioî ió noô requested®  Iæ thå 3rdPtù biô ió onå anä thå third-partù 
  7402. reservatioî optioî ió implemented¬ theî thå RESERVÅ UNIÔ commanä shalì reserv堍
  7403. thå specifieä logicaì uniô foò thå SCSÉ devicå specifieä iî thå third-partù 
  7404. devicå IÄ field®  Thå targeô shalì preservå thå reservatioî untiì supercede䠍
  7405. bù anotheò RESERVÅ UNIÔ commanä froí thå initiatoò thaô madå thå reservatio
  7406. oò untiì releaseä bù thå samå initiator¬ bù á BUÓ DEVICÅ RESEÔ messagå froí 
  7407. anù initiator¬ oò bù á "hard¢ RESEÔ condition®  Thå targeô shalì ignorå (i.e.¬ 
  7408. returî GOOÄ status© anù attempô madå bù anù otheò initiatoò tï releaså th堍
  7409. reservation.
  7410.  
  7411.   Iæ thå 3rdPtù biô ió onå anä thå third-partù reservatioî optioî ió noô 
  7412. implemented¬ theî thå targeô shalì rejecô thå RESERVÅ UNIÔ commanä witè á 
  7413. CHECË CONDITIOΠstatuó anä á senså keù oæ ILLEGAÌ REQUEST® 
  7414.  
  7415.   Aî initiatoò thaô holdó á currenô reservatioî maù modifù thaô reservatio
  7416. (e.g.¬ switcè third-parties© bù issuinç anotheò RESERVÅ UNIÔ commanä tï th堍
  7417. samå logicaì unit®  Thå supercedinç RESERVÅ UNIÔ commanä shalì releaså th堍
  7418. previouó reservatioî statå onlù wheî thå ne÷ reservatioî ió granted®  Á 
  7419. supercedinç reservatioî takeó prioritù oveò anù previouslù queueä reservatio
  7420. request.
  7421.  
  7422.   10.7.² RELEASÅ UNIÔ Command.‚  Thå RELEASÅ UNIÔ commanä (Tablå 10-9¬ 
  7423. operatioî codå 17H© shalì releaså thå logicaì uniô iæ iô ió currentlù reserve䠍
  7424. by thå requestinç initiator® 
  7425.  
  7426.   Iô ió noô aî erroò tï attempô tï releaså á logicaì uniô thaô ió noô 
  7427. currentlù reserveä tï thå requestinç initiator®  However¬ iô shalì noô b堍
  7428. releaseä iæ iô ió reserveä bù anotheò initiator.
  7429.  
  7430.   Thå third-partù releaså optioî foò thå RELEASÅ UNIÔ commanä allowó a
  7431. initiatoò tï releaså á logicaì uniô thaô waó previouslù reserveä usinç th堍
  7432. third-partù reservatioî optioî (seå 10.7.1)®  Thió optioî shalì bå implemente䠍
  7433. iæ thå third-partù reservatioî optioî ió implemented®  Thió optioî ió intende䠍
  7434. foò uså iî multiple-initiatoò systemó thaô uså thå COPÙ command.
  7435.  
  7436.   Iæ thå third-partù (3rdPty© biô ió zero¬ theî thå third-partù releaså optio
  7437. ió noô requested®  Iæ thå 3rdPtù biô ió onå anä thå targeô implementó th堍
  7438. third-partù releaså option¬ theî thå targeô shalì releaså thå specifie䠍
  7439. logicaì unit¬ buô onlù iæ thå reservatioî waó madå usinç thå third-partù Šreservatioî optioî bù thå initiatoò thaô ió requestinç thå releaså anä foò th堍
  7440. samå SCSÉ devicå aó specifieä iî thå third-partù devicå IÄ field.
  7441.  
  7442.   Iæ thå 3rdPtù biô ió onå anä thå targeô doeó noô implemenô thå third-partù 
  7443. releaså option¬ theî thå targeô shalì terminatå thå commanä witè á CHECË 
  7444. CONDITIOΠstatuó anä thå senså keù shall be seô tï ILLEGAÌ REQUEST.
  7445.  
  7446. 10.8 MODE SENSE Command
  7447.  
  7448.      Peripheral Device Type:  Printer 
  7449.         Operation Code Type:  Optional
  7450.              Operation Code:  1AH
  7451.  
  7452.                                  Table 10-10
  7453.                               MODE SENSE Command
  7454.  
  7455. ==============================================================================
  7456.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  7457. Byte |        |        |        |        |        |        |        |        |
  7458. ==============================================================================
  7459.  0   |                           Operation Code                              | 
  7460. -----|-----------------------------------------------------------------------|
  7461.  1   | Logicaì Uniô Numbeò      ü                  Reserved                  |
  7462. -----|-----------------------------------------------------------------------|
  7463.  2   |                           Reserved                                    |
  7464. -----|-----------------------------------------------------------------------|
  7465.  3   |                           Reserved                                    |
  7466. -----|-----------------------------------------------------------------------|
  7467.  4   |                           Allocation Length                           |
  7468. -----|-----------------------------------------------------------------------|
  7469.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  7470. ==============================================================================
  7471.  
  7472.   Thå MODÅ SENSÅ commanä (Tablå 10-10© provideó á meanó foò á targeô tï reporô 
  7473. itó medium¬ logicaì unit¬ oò peripheraì devicå parameteró tï thå initiator®  
  7474. Iô ió á complementarù commanä tï thå MODÅ SELECÔ command.
  7475.  
  7476.   Thå allocatioî lengtè specifieó thå numbeò oæ byteó thaô thå initiatoò haó 
  7477. allocateä foò returneä MODÅ SENSÅ data®  Aî allocatioî lengtè oæ zer
  7478. indicateó thaô nï MODÅ SENSÅ datá shalì bå transferred®  Thió conditioî shal젍
  7479. noô bå considereä aó aî error®   Anù otheò valuå indicateó thå maximuí numbeò 
  7480. oæ byteó thaô shalì bå transferred®  Thå targeô shalì terminatå thå DATÁ IЍ
  7481. phaså wheî allocatioî lengtè byteó havå beeî transferreä oò wheî alì availabl堍
  7482. MODÅ SENSÅ datá havå beeî transferreä tï thå initiator, whichever is less®
  7483.  
  7484.   Thå MODÅ SENSÅ datá (Tablå 10-11© containó á four-bytå header¬ followeä th堍
  7485. vendoò uniquå parameters¬ iæ any.
  7486. .paŠ                                 Table 10-11
  7487.                                MODÅ SENSÅ Data
  7488.  
  7489. ==============================================================================
  7490.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  7491. Byte |        |        |        |        |        |        |        |        |
  7492. ==============================================================================
  7493.  0   |                           Sense Data Length                           |
  7494. -----|-----------------------------------------------------------------------|
  7495.  1   |                           Reserved                                    |
  7496. -----|-----------------------------------------------------------------------|
  7497.  2   |Reserved|      Buffered Mode       |             Reserved              |
  7498. -----|-----------------------------------------------------------------------|
  7499.  3   |                           Reserved                                    |
  7500. ==============================================================================
  7501.      |                        Vendor Unique Parameter(s)                     |
  7502. ==============================================================================
  7503. 0 _ n|                           Vendor Unique                               |
  7504.      |                           Parameter Byte(s)                           |
  7505. ==============================================================================
  7506.  
  7507.   Thå senså datá lengtè specifieó thå lengtè iî byteó oæ thå followinç MODÅ 
  7508. SENSÅ datá thaô ió availablå tï bå transferreä durinç thå DATÁ IΠphase®  Th堍
  7509. sense data length does not include itself.
  7510.  
  7511.   Á buffereä modå oæ zerï indicateó thaô thå targeô doeó noô reporô a GOOÄ 
  7512. statuó oî PRINÔ commandó oò SLE× ANÄ PRINÔ commandó untiì thå datá ar堍
  7513. actuallù printed®  Á buffereä modå oæ onå indicateó thaô thå targeô maù reporô 
  7514. a GOOÄ statuó oî PRINÔ commandó oò SLE× ANÄ PRINÔ commandó aó sooî aó thå dat᠍
  7515. havå beeî transferreä tï thå SCSÉ devicå buffer®  Thå datá froí onå oò mor堍
  7516. commandó maù bå buffereä prioò tï printing®  Buffereä modeó oæ 2H– througè 7H– 
  7517. arå reserved.
  7518. .paŠ10.9 STOP PRINT Command
  7519.  
  7520.      Peripheral Device Type:  Printer 
  7521.         Operation Code Type:  Optional
  7522.              Operation Code:  1BH
  7523.  
  7524.                                  Table 10-12
  7525.                               STOP PRINT Command
  7526.  
  7527. ==============================================================================
  7528.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  7529. Byte |        |        |        |        |        |        |        |        |
  7530. ==============================================================================
  7531.  0   |                           Operation Code                              | 
  7532. -----|-----------------------------------------------------------------------|
  7533.  1   | Logicaì Uniô Numbeò      ü                  Reserved         | Retain |
  7534. -----|-----------------------------------------------------------------------|
  7535.  2   |                           Vendor Unique                               |
  7536. -----|-----------------------------------------------------------------------|
  7537.  3   |                           Reserved                                    |
  7538. -----|-----------------------------------------------------------------------|
  7539.  4   |                           Reserved                                    |
  7540. -----|-----------------------------------------------------------------------|
  7541.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  7542. ==============================================================================
  7543.  
  7544.   Thå STOРPRINÔ commanä (Tablå 10-12© ió useä tï halô printinç oî buffere䠍
  7545. deviceó iî aî orderlù fashion®
  7546.  
  7547.   Á retaiî biô oæ zerï requestó thaô thå targeô datá buffeò bå discarded» 
  7548. otherwise¬ thå unprinteä datá ió retained®  Thå unprinteä datá maù b堍
  7549. recovereä bù uså oæ thå RECOVEÒ BUFFEREÄ DATÁ command¬ iæ supported®  Á 
  7550. subsequenô PRINÔ commanä oò SLE× ANÄ PRINÔ commanä shalì causå thå remainin砍
  7551. unprinteä anä unrecovereä datá tï bå printeä followeä bù thå datá transferre䠍
  7552. bù thå subsequenô command®  Thå poinô aô whicè printinç ió suspendeä bù thió 
  7553. commanä ió peripheral-devicå specifiã anä ió noô defineä bù thió standard.
  7554. .paŠ.. To set ruler line, position cursor on the next line and type ^OF--!--!--!--!--!--!--!--!--!--!--!--!-----------------------------------------!
  7555. .fo Section 11                           #
  7556. 11. Group 0 Command Descriptions for Processor Devices
  7557.  
  7558. The Group 0 commands for processor devices shall be as shown in Table 11-1.
  7559.  
  7560.                                   Table 11-1
  7561.                     Group 0 Commands for Processor Devices
  7562.  
  7563. ==============================================================================
  7564. Operation
  7565.   Code      Type   Command Name                       Section
  7566. ------------------------------------------------------------------------------
  7567.    00H       O     TEST UNIT READY                    7.1.1
  7568.    01H       V
  7569.    02H       V
  7570.    03H       M     REQUEST SENSE                      7.1.2
  7571.    04H       V
  7572.    05H       V
  7573.    06H       V
  7574.    07H       V
  7575.    08H       O     RECEIVE                            11.1
  7576.    09H       V
  7577.    0AH       M     SEND                               11.2
  7578.    0BH       V
  7579.    0CH       V
  7580.    0DH       V
  7581.    0EH       V
  7582.    0FH       V
  7583.    10H       V
  7584.    11H       V
  7585.    12H       E     INQUIRY                            7.1.3
  7586.    13H       V
  7587.    14H       V
  7588.    15H       V
  7589.    16H       V
  7590.    17H       V
  7591.    18H       O     COPY                               7.1.4
  7592.    19H       R
  7593.    1AH       R
  7594.    1BH       R
  7595.    1CH       O     RECEIVE DIAGNOSTIC RESULTS         7.1.5
  7596.    1DH       O     SEND DIAGNOSTIC                    7.1.6
  7597.    1EH       R
  7598.    1FH       R
  7599. ==============================================================================
  7600.  
  7601. Key: M  =  Command implementation is mandatory.
  7602.      E  =  Commanä implementatioî ió requireä foò SCSÉ deviceó thaô supporô 
  7603.            device-independenô self-configurinç software.
  7604.      O  =  Command implementatioî is optional.
  7605.      R  =  Operation code is reserved for future standardization.
  7606.      V  =  Operation code is available for vendor unique commands.
  7607. .paŠ11.1 RECEIVE Command
  7608.  
  7609.      Peripheral Device Type:  Processor Devices
  7610.         Operation Code Type:  Optional
  7611.              Operation Code:  08H
  7612.  
  7613.                                   Table 11-2
  7614.                                RECEIVE Command
  7615.  
  7616. ==============================================================================
  7617.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  7618. Byte |        |        |        |        |        |        |        |        |
  7619. ==============================================================================
  7620.  0   |                           Operation Code                              | 
  7621. -----|-----------------------------------------------------------------------|
  7622.  1   | Logical Unit Number      |                  Reserved                  |
  7623. -----|-----------------------------------------------------------------------|
  7624.  2   |                           Allocation Length (MSB)                     |
  7625. -----|-----------------------------------------------------------------------|
  7626.  3   |                           Allocation Length                           |
  7627. -----|-----------------------------------------------------------------------|
  7628.  4   |                           Allocation Length (LSB)                     |
  7629. -----|-----------------------------------------------------------------------|
  7630.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  7631. ==============================================================================
  7632.  
  7633.   Thå RECEIVÅ commanä (Tablå 11-2© transferó datá froí thå targeô tï th堍
  7634. initiatoò.
  7635.  
  7636.   Thå allocatioî lengtè specifieó thå numbeò oæ byteó thaô thå initiatoò haó 
  7637. allocateä foò thå returneä data®  Aî allocatioî lengtè oæ zerï indicateó thaô 
  7638. nï datá shalì bå transferred®  Thió conditioî shalì noô bå considereä aó a
  7639. error®   Anù otheò valuå indicateó thå maximuí numbeò oæ byteó thaô shalì b堍
  7640. transferred®  Thå targeô shalì terminatå thå DATÁ IΠphaså wheî allocatio
  7641. lengtè byteó havå beeî transferreä oò wheî alì availablå datá havå bee
  7642. transferreä tï thå initiator¬ whicheveò ió less.
  7643. .paŠ11.2 SEND Command
  7644.  
  7645.      Peripheral Device Type:  Processor Devices
  7646.         Operation Code Type:  Mandatory
  7647.              Operation Code:  0AH
  7648.  
  7649.                                   Table 11-3
  7650.                                  SEND Command
  7651.  
  7652. ==============================================================================
  7653.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  7654. Byte |        |        |        |        |        |        |        |        |
  7655. ==============================================================================
  7656.  0   |                           Operation Code                              | 
  7657. -----|-----------------------------------------------------------------------|
  7658.  1   | Logical Unit Number      |                  Reserved                  |
  7659. -----|-----------------------------------------------------------------------|
  7660.  2   |                           Transfer Length (MSB)                       |
  7661. -----|-----------------------------------------------------------------------|
  7662.  3   |                           Transfer Length                             |
  7663. -----|-----------------------------------------------------------------------|
  7664.  4   |                           Transfer Length (LSB)                       |
  7665. -----|-----------------------------------------------------------------------|
  7666.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  7667. ==============================================================================
  7668.  
  7669.   Thå SENÄ commanä (Tablå 11-3© transferó datá froí thå initiatoò tï th堍
  7670. targeô.
  7671.  
  7672.   Thå transfeò lengtè specifieó thå lengtè iî byteó oæ datá thaô shalì bå senô 
  7673. durinç thå DATÁ OUÔ phase®  Á transfeò lengtè oæ zerï indicateó thaô nï dat᠍
  7674. shalì bå sent®  Thió conditioî shalì noô bå considereä aó aî error.
  7675. .paŠ.. To set ruler line, position cursor on the next line and type ^OF--!--!--!--!--!--!--!--!--!--!--!--!-----------------------------------------!
  7676. .fo Section 12                           #
  7677. 12. Command Descriptions for Write-Once Read-Multiple Devices
  7678.  
  7679. 12.± Grouð ° Commandó foò Write-Oncå Read-Multiplå Devices.‚  Thå Grouð ° 
  7680. commandó foò write-oncå read-multiplå deviceó shalì bå aó showî iî Tablå 12-1.
  7681.  
  7682.                                   Table 12-1
  7683.             Group 0 Commands for Write-Once Read-Multiple Devices
  7684.  
  7685. ==============================================================================
  7686. Operation
  7687.   Code      Type   Command Name                       Section
  7688. ------------------------------------------------------------------------------
  7689.    00H       O     TEST UNIT READY                    7.1.1
  7690.    01H       O     REZERO UNIT                        8.1.1
  7691.    02H       V
  7692.    03H       M     REQUEST SENSE                      7.1.2
  7693.    04H       R
  7694.    05H       V
  7695.    06H       V
  7696.    07H       O     REASSIGN BLOCKS                    8.1.3
  7697.    08H       O     READ                               12.1.1
  7698.    09H       V
  7699.    0AH       O     WRITE                              12.1.2
  7700.    0BH       O     SEEK                               8.1.6
  7701.    0CH       V
  7702.    0DH       V
  7703.    0EH       V
  7704.    0FH       V
  7705.    10H       V
  7706.    11H       V
  7707.    12H       E     INQUIRY                            7.1.3
  7708.    13H       V
  7709.    14H       V
  7710.    15H       O     MODE SELECT                        12.1.3
  7711.    16H       O     RESERVE                            8.1.8
  7712.    17H       O     RELEASE                            8.1.9
  7713.    18H       O     COPY                               7.1.4
  7714.    19H       V
  7715.    1AH       O     MODE SENSE                         12.1.4
  7716.    1BH       O     START/STOP UNIT                    8.1.11
  7717.    1CH       O     RECEIVE DIAGNOSTIC RESULTS         7.1.5
  7718.    1DH       O     SEND DIAGNOSTIC                    7.1.6
  7719.    1EH       O     PREVENT/ALLOW MEDIUM REMOVAL       8.1.12
  7720.    1FH       R
  7721. ==============================================================================
  7722.  
  7723. Key: M  =  Command implementation is mandatory.
  7724.      E  =  Commanä implementatioî ió requireä foò SCSÉ deviceó thaô supporô 
  7725.            device-independenô self-configurinç software.
  7726.      O  =  Command implementatioî is optional.
  7727.      R  =  Operation code is reserved for future standardization.
  7728.      V  =  Operation code is available for vendor unique commands.
  7729. .paŠ12.1.1 READ Command
  7730.  
  7731.      Peripheraì Devicå Typeº  Writå-Once Read-Multiple and
  7732.                               Read-Onlù Direcô Access
  7733.         Operation Code Type:  Optional
  7734.              Operation Code:  08H
  7735.  
  7736.                                   Table 12-2
  7737.                                  READ Command
  7738.  
  7739. ==============================================================================
  7740.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  7741. Byte |        |        |        |        |        |        |        |        |
  7742. ==============================================================================
  7743.  0   |                           Operation Code                              | 
  7744. -----|-----------------------------------------------------------------------|
  7745.  1   | Logical Unit Number      |Logical Block Address (MSB)                 |
  7746. -----|-----------------------------------------------------------------------|
  7747.  2   |                           Logical Block Address                       |
  7748. -----|-----------------------------------------------------------------------|
  7749.  3   |                           Logical Block Address (LSB)                 |
  7750. -----|-----------------------------------------------------------------------|
  7751.  4   |                           Transfer Length                             |
  7752. -----|-----------------------------------------------------------------------|
  7753.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  7754. ==============================================================================
  7755.  
  7756.   Thå REAÄ commanä (Tablå 12-2© requestó thaô thå targeô transfeò datá tï th堍
  7757. initiator.
  7758.  
  7759.   Thå logicaì blocë addresó specifieó thå logicaì blocë aô whicè thå rea䠍
  7760. operatioî shalì begin.
  7761.  
  7762.   Thå transfeò lengtè specifieó thå numbeò oæ contiguouó logicaì blockó o栍
  7763. datá tï bå transferred®  Á Transfeò Lengtè oæ zerï indicateó thaô 25¶ logica젍
  7764. blockó shalì bå transferred®  Anù otheò valuå indicateó thå numbeò oæ logica젍
  7765. blockó thaô shalì bå transferred.
  7766.  
  7767.   Thió commanä shalì bå terminateä witè á statuó oæ RESERVATIOΠCONFLICÔ i栍
  7768. anù reservatioî accesó conflicô (seå 8.1.8© existó anä nï datá shalì b堍
  7769. transferred.
  7770.  
  7771.   Iæ anù oæ thå followinç conditionó occur¬ thió commanä shalì bå terminate䠍
  7772. witè á CHECË CONDITIOΠstatus¬ anä iæ extendeä senså ió implemented¬ thå sens堍
  7773. keù shalì bå seô aó indicateä iî thå followinç table®  Thió tablå doeó noô 
  7774. providå aî exhaustivå enumeratioî oæ alì conditionó thaô maù causå the CHECË 
  7775. CONDITIOΠstatus.
  7776. .paŠCondition                                         Sense Key
  7777. ----------------------------------------------    ----------------------------
  7778. Invalid logical block address                     ILLEGAL REQUEST (see note 1)
  7779.  
  7780. Target reset or medium change since the
  7781. last command from this initiator                  UNIT ATTENTION
  7782.  
  7783. Unrecoverable read error                          MEDIUM ERROR
  7784.  
  7785. Overrun or other error that might 
  7786. be resolved by repeating the command              ABORTED COMMAND
  7787.  
  7788. Attempt to read a blank or previously
  7789. unwritten block                                   BLANK CHECK (see note 2)
  7790.  
  7791. NOTES:
  7792.  (1© Thå extendeä senså informatioî byteó shalì bå seô tï thå logicaì bloc렍
  7793. addresó oæ thå firsô invaliä address®
  7794.  
  7795. (2© Thå extendeä senså informatioî byteó shalì bå seô tï thå logicaì bloc렍
  7796. addresó oæ thå firsô blanë blocë encountered®  Thå datá reaä uð tï thaô bloc렍
  7797. shalì bå transferred® 
  7798.  
  7799. 12.1.2 WRITE Command
  7800.  
  7801.      Peripheral Device Type:  Write-Once Read-Multiple
  7802.         Operation Code Type:  Optional
  7803.              Operation Code:  0AH
  7804.  
  7805.                                   Table 12-3
  7806.                                 WRITE Command
  7807.  
  7808. ==============================================================================
  7809.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  7810. Byte |        |        |        |        |        |        |        |        |
  7811. ==============================================================================
  7812.  0   |                           Operation Code                              | 
  7813. -----|-----------------------------------------------------------------------|
  7814.  1   | Logical Unit Number      |Logical Block Address (MSB)                 |
  7815. -----|-----------------------------------------------------------------------|
  7816.  2   |                           Logical Block Address                       |
  7817. -----|-----------------------------------------------------------------------|
  7818.  3   |                           Logical Block Address (LSB)                 |
  7819. -----|-----------------------------------------------------------------------|
  7820.  4   |                           Transfer Length                             |
  7821. -----|-----------------------------------------------------------------------|
  7822.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  7823. ==============================================================================
  7824.  
  7825.   Thå WRITÅ commanä (Tablå 12-3© requestó thaô thå targeô writå thå dat᠍
  7826. transferreä from thå initiatoò tï thå medium®
  7827.  
  7828.   Thå logicaì blocë addresó specifieó thå logicaì blocë aô whicè thå writ堍
  7829. operatioî shalì begin.
  7830.  
  7831.   Thå transfeò lengtè specifieó thå numbeò oæ contiguouó logicaì blockó o栍Šdatá thaô shalì bå written®  Á transfeò lengtè oæ zerï indicateó thaô 25¶ 
  7832. logicaì blockó shalì bå written®  Anù otheò valuå indicateó thå numbeò o栍
  7833. logicaì blockó thaô shalì bå written.
  7834.  
  7835.   Thió commanä shalì bå terminateä witè á statuó oæ RESERVATIOΠCONFLICÔ i栍
  7836. anù reservatioî accesó conflicô (seå 8.1.8© existó anä nï datá shalì b堍
  7837. written.
  7838.  
  7839.   Iæ anù oæ thå followinç conditionó occur¬ thió commanä shalì bå terminate䠍
  7840. witè á CHECË CONDITIOΠstatus¬ anä iæ extendeä senså ió implemented¬ thå sens堍
  7841. keù shalì bå seô aó indicateä iî thå followinç table®  Thió tablå doeó noô 
  7842. providå aî exhaustivå enumeratioî oæ alì conditionó thaô maù causå the CHECË 
  7843. CONDITIOΠstatus.
  7844.  
  7845. Condition                                         Sense Key
  7846. ----------------------------------------------    ----------------------------
  7847. Invalid logical block address                     ILLEGAL REQUEST (see note 1)
  7848.  
  7849. Target reset or medium change since the
  7850. last command from this initiator                  UNIT ATTENTION
  7851.  
  7852. Overrun or other error that might
  7853. be resolved by repeating the command              ABORTED COMMAND
  7854.  
  7855. Attempt to write a previously
  7856. written block and blank checking is
  7857. enabled (see 12.1.3)                              BLANK CHECK (see note 2)
  7858.  
  7859. NOTES:
  7860.   (1© Thå extendeä senså informatioî byteó shalì bå seô tï thå logicaì Bloc렍
  7861. Addresó oæ thå firsô invaliä address®
  7862.  
  7863.   (2© Thå extendeä senså informatioî byteó shalì bå seô tï thå logicaì bloc렍
  7864. addresó oæ thå firsô non-blanë blocë encountered®
  7865. .paŠ12.1.3 MODE SELECT Command
  7866.  
  7867.      Peripheraì Devicå Typeº  Writå-Once Read-Multiple and
  7868.                               Read-Onlù Direcô Access
  7869.         Operation Code Type:  Optional
  7870.              Operation Code:  15H
  7871.  
  7872.                                   Table 12-4
  7873.                              MODE SELECT Command
  7874.  
  7875. ==============================================================================
  7876.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  7877. Byte |        |        |        |        |        |        |        |        |
  7878. ==============================================================================
  7879.  0   |                           Operation Code                              | 
  7880. -----|-----------------------------------------------------------------------|
  7881.  1   | Logical Unit Number      |                  Reserved                  |
  7882. -----|-----------------------------------------------------------------------|
  7883.  2   |                           Reserved                                    |
  7884. -----|-----------------------------------------------------------------------|
  7885.  3   |                           Reserved                                    |
  7886. -----|-----------------------------------------------------------------------|
  7887.  4   |                           Parameter List Length                       |
  7888. -----|-----------------------------------------------------------------------|
  7889.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  7890. ==============================================================================
  7891.  
  7892.   Thå MODÅ SELECÔ commanä (Tablå 12-4© provideó á meanó foò thå initiatoò t
  7893. specifù medium¬ logicaì unit¬ oò peripheraì devicå parameteró tï thå target®
  7894.  
  7895.   Thå parameteò lisô lengtè specifieó thå lengtè iî byteó oæ thå MODÅ SELECÔ 
  7896. parameteò lisô thaô shalì bå transferreä froí thå initiatoò tï thå target®  Á 
  7897. parameteò lisô lengtè  oæ zerï indicateó thaô nï datá shalì bå transferred® 
  7898. Thió conditioî shalì noô bå considereä aó aî error.
  7899.  
  7900.   Thå MODÅ SELECÔ parameteò lisô (Tablå 12-5© containó á four-bytå header¬ 
  7901. followeä bù zerï oò morå eight-bytå blocë descriptors¬ followeä bù thå vendoò 
  7902. uniquå parameters¬ iæ any.
  7903. .paŠ                                  Table 12-5
  7904.                           MODÅ SELECÔ Parameter List
  7905.  
  7906. ==============================================================================
  7907.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  7908. Byte |        |        |        |        |        |        |        |        |
  7909. ==============================================================================
  7910.  0   |                           Reserved                                    |
  7911. -----|-----------------------------------------------------------------------|
  7912.  1   |                           Reserved                                    |
  7913. -----|-----------------------------------------------------------------------|
  7914.  2   |                           Reserved                           |  EBC   |
  7915. -----|-----------------------------------------------------------------------|
  7916.  3   |                           Block Descriptor Length                     |
  7917. ==============================================================================
  7918.      |                        Blocë Descriptor(s©                            |
  7919. ==============================================================================
  7920.  0   |                           Reserved                                    |
  7921. -----|-----------------------------------------------------------------------|
  7922.  1   |                           Number of Blocks (MSB)                      |
  7923. -----|-----------------------------------------------------------------------|
  7924.  2   |                           Number of Blocks                            |
  7925. -----|-----------------------------------------------------------------------|
  7926.  3   |                           Number of Blocks (LSB)                      |
  7927. -----|-----------------------------------------------------------------------|
  7928.  4   |                           Reserved                                    |
  7929. -----|-----------------------------------------------------------------------|
  7930.  5   |                           Block Length (MSB)                          |
  7931. -----|-----------------------------------------------------------------------|
  7932.  6   |                           Block Length                                |
  7933. -----|-----------------------------------------------------------------------|
  7934.  7   |                           Block Length (LSB)                          |
  7935. ==============================================================================
  7936.      |                        Vendor Unique Parameter(s)                     |
  7937. ==============================================================================
  7938. 0 _ n|                           Vendor Unique                               |
  7939.      |                           Parameter Byte(s)                           |
  7940. ==============================================================================
  7941.  
  7942.   Aî enablå blanë checë (EBC© biô oæ zerï disableó blanë checkinç oæ th堍
  7943. mediuí durinç writå operations®  Aî EBàbiô oæ onå enableó blanë checking®  
  7944. Iæ á non-blanë blocë ió founä durinç á writå operation¬ thå commanä shalì b堍
  7945. terminateä witè á CHECË CONDITIOΠstatuó anä thå senså keù shalì bå seô t
  7946. BLANË CHECK®  Foò read-onlù direct-accesó devices¬ thå EBàbiô ió reserved.
  7947.  
  7948.   Thå blocë descriptoò lengtè specifieó thå lengtè iî byteó oæ alì thå bloc렍
  7949. descriptors®  Iô ió equaì tï thå numbeò oæ blocë descriptoró timeó eight and 
  7950. doeó noô includå thå vendoò uniquå parameters¬ iæ any®  Á blocë descriptoò 
  7951. lengtè oæ zerï indicateó thaô nï blocë descriptoró shalì bå includeä iî th堍
  7952. parameteò list®  Thió conditioî shalì noô bå considereä aó aî error.
  7953.  
  7954.   Eacè blocë descriptoò specifieó thå mediuí characteristicó foò alì oò parô 
  7955. oæ á logicaì unit®  Eacè blocë descriptoò containó á numbeò oæ blockó anä á 
  7956. blocë length®  Thå numbeò oæ blockó fielä specifieó thå numbeò oæ logica젍
  7957. blockó tï bå formatteä witè thå blocë lengtè specifieä iî thå bloc렍
  7958. descriptor®  Thå blocë lengtè fielä specifieó thå lengtè iî byteó oæ th堍Šlogicaì blocë tï bå formatted.
  7959.  
  7960. 12.1.4 MODE SENSE Command
  7961.  
  7962.      Peripheraì Devicå Typeº  Writå-Once Read-Multiple and
  7963.                               Read-Onlù Direcô Access
  7964.         Operation Code Type:  Optional
  7965.              Operation Code:  1AH
  7966.  
  7967.                                   Table 12-6
  7968.                               MODE SENSE Command
  7969.  
  7970. ==============================================================================
  7971.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  7972. Byte |        |        |        |        |        |        |        |        |
  7973. ==============================================================================
  7974.  0   |                           Operation Code                              | 
  7975. -----|-----------------------------------------------------------------------|
  7976.  1   | Logical Unit Number      |                  Reserved                  |
  7977. -----|-----------------------------------------------------------------------|
  7978.  2   |                           Reserved                                    |
  7979. -----|-----------------------------------------------------------------------|
  7980.  3   |                           Reserved                                    |
  7981. -----|-----------------------------------------------------------------------|
  7982.  4   |                           Allocation Length                           |
  7983. -----|-----------------------------------------------------------------------|
  7984.  5   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  7985. ==============================================================================
  7986.  
  7987.   Thå MODÅ SENSÅ commanä (Tablå 12-6© provideó á meanó foò á targeô tï reporô 
  7988. itó medium¬ logicaì unit¬ oò peripheraì devicå parameteró tï thå initiator®  
  7989. Iô ió á complementarù commanä tï thå MODÅ SELECÔ commanä foò supporô oæ mediuí 
  7990. thaô maù contaiî multiplå blocë lengths.
  7991.  
  7992.   Thå allocatioî lengtè specifieó thå numbeò oæ byteó thaô thå initiatoò haó 
  7993. allocateä foò returneä MODÅ SENSÅ Data®  Aî allocatioî lengtè oæ zer
  7994. indicateó thaô nï MODÅ SENSÅ datá shalì bå transferred®  Thió conditioî shal젍
  7995. noô bå considereä aó aî error®  Anù otheò valuå indicateó thå maximuí numbeò 
  7996. oæ byteó thaô shalì bå transferred®  Thå targeô shalì terminatå thå DATÁ IЍ
  7997. phaså wheî allocatioî lengtè byteó havå beeî transferreä oò wheî alì availabl堍
  7998. MODÅ SENSÅ datá havå beeî transferreä tï thå initiator¬ whicheveò ió less.
  7999.  
  8000.   Thå MODÅ SENSÅ datá (Tablå 12-7© containó á four-bytå header¬ followeä bù 
  8001. zerï oò morå eight-bytå blocë descriptors¬ followeä bù thå vendoò uniqu堍
  8002. parameters¬ iæ any.
  8003. .paŠ                                  Table 12-7
  8004.                                MODÅ SENSÅ Data
  8005.  
  8006. ==============================================================================
  8007.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  8008. Byte |        |        |        |        |        |        |        |        |
  8009. ==============================================================================
  8010.  0   |                           Sense Data Length                           |
  8011. -----|-----------------------------------------------------------------------|
  8012.  1   |                           Medium Type                                 |
  8013. -----|-----------------------------------------------------------------------|
  8014.  2   |  WP    |                  Reserved                           |  EBC   |
  8015. -----|-----------------------------------------------------------------------|
  8016.  3   |                           Block Descriptor Length                     |
  8017. ==============================================================================
  8018.      |                        Blocë Descriptor(s©                            |
  8019. ==============================================================================
  8020.  0   |                           Reserved                                    |
  8021. -----|-----------------------------------------------------------------------|
  8022.  1   |                           Number of Blocks (MSB)                      |
  8023. -----|-----------------------------------------------------------------------|
  8024.  2   |                           Number of Blocks                            |
  8025. -----|-----------------------------------------------------------------------|
  8026.  3   |                           Number of Blocks (LSB)                      |
  8027. -----|-----------------------------------------------------------------------|
  8028.  4   |                           Reserved                                    |
  8029. -----|-----------------------------------------------------------------------|
  8030.  5   |                           Block Length (MSB)                          |
  8031. -----|-----------------------------------------------------------------------|
  8032.  6   |                           Block Length                                |
  8033. -----|-----------------------------------------------------------------------|
  8034.  7   |                           Block Length (LSB)                          |
  8035. ==============================================================================
  8036.      |                        Vendor Unique Parameter(s)                     |
  8037. ==============================================================================
  8038. 0 _ n|                           Vendor Unique                               |
  8039.      |                           Parameter Byte(s)                           |
  8040. ==============================================================================
  8041.  
  8042.   Thå senså datá lengtè specifieó thå lengtè iî byteó oæ thå followinç MODÅ 
  8043. SENSÅ datá thaô ió availablå tï bå transferreä durinç thå DATÁ IΠphase®  Th堍
  8044. sense data length does not include itself.
  8045.  
  8046.   Code values for the medium type field shall be assigned as follows:
  8047.  
  8048.    00H        Default (only one medium type supported)
  8049.    01H _ 7FH  Reserved
  8050.    80H _ FFH  Vendor unique
  8051.  
  8052.   Aî enablå blanë checë (EBC© biô oæ zerï indicateó thaô blanë checkinç oæ th堍
  8053. mediuí durinç writå operationó ió disabled®  Aî EBàbiô oæ onå indicateó thaô 
  8054. blanë checkinç durinç writå operationó ió enabled®  Foò read-onlù direct-
  8055. accesó devices¬ thå EBàbiô ió reserved.
  8056.  
  8057.   Á writå protecteä (WP© biô oæ zerï indicateó thaô thå mediuí ió writ堍
  8058. enabled®  Á WРbiô oæ onå indicateó thaô thå mediuí ió writå protected®  Foò Šread-onlù direct-accesó devices¬ thå WРbiô ió reserved.
  8059.  
  8060.   Thå blocë descriptoò lengtè specifieó thå lengtè iî byteó oæ alì thå bloc렍
  8061. descriptors®  Iô ió equaì tï thå numbeò oæ blocë descriptoró timeó eight and 
  8062. doeó noô includå thå vendoò uniquå parameters¬ iæ any®  Á blocë descriptoò 
  8063. lengtè oæ zerï indicateó thaô nï blocë descriptoró shalì bå includeä iî th堍
  8064. parameteò list®  Thió conditioî shalì noô bå considereä aó aî error.
  8065.  
  8066.   Eacè blocë descriptoò specifieó thå mediuí characteristicó foò alì oò parô 
  8067. oæ á logicaì unit®  Eacè blocë descriptoò containó á numbeò oæ blockó anä á 
  8068. blocë length.
  8069.  
  8070.   Thå numbeò oæ blockó fielä indicateó thå numbeò oæ logicaì blockó thaô hav堍
  8071. thå blocë lengtè specifieä iî thå blocë descriptor®  Thå blocë lengtè fiel䠍
  8072. indicateó thå lengtè iî byteó oæ each logicaì block.
  8073. .pa ??Š12.² Grouð ± Commandó foò Write-Oncå Read-Multiplå Devices.‚  Thå Grouð ± 
  8074. commandó foò write-oncå read-multiplå deviceó shalì bå aó showî iî Tablå 12-8.
  8075.  
  8076.                                   Table 12-8
  8077.             Group 1 Commands for Write-Once Read-Multiple Devices
  8078.  
  8079. ==============================================================================
  8080. Operation
  8081.   Code      Type   Command Name                       Section
  8082. ------------------------------------------------------------------------------
  8083.    20H       V
  8084.    21H       V
  8085.    22H       V
  8086.    23H       V
  8087.    24H       V
  8088.    25H       E     READ CAPACITY                      8.2.1
  8089.    26H       V
  8090.    27H       V
  8091.    28H       M     READ                               12.2.1
  8092.    29H       V
  8093.    2AH       M     WRITE                              12.2.2
  8094.    2BH       O     SEEK                               8.2.4
  8095.    2CH       V
  8096.    2DH       V
  8097.    2EH       O     WRITE AND VERIFY                   12.2.3
  8098.    2FH       O     VERIFY                             12.2.4
  8099.    30H       O     SEARCH DATA HIGH                   8.2.7.1
  8100.    31H       O     SEARCH DATA EQUAL                  8.2.7.2
  8101.    32H       O     SEARCH DATA LOW                    8.2.7.3
  8102.    33H       O     SET LIMITS                         8.2.8
  8103.    34H       R
  8104.    35H       R
  8105.    36H       R
  8106.    37H       R
  8107.    38H       R
  8108.    39H       O     COMPARE                            7.2.1
  8109.    3AH       O     COPY AND VERIFY                    7.2.2
  8110.    3BH       R
  8111.    3CH       R
  8112.    3DH       R
  8113.    3EH       R
  8114.    3FH       R
  8115. ==============================================================================
  8116.  
  8117. Key: M  =  Command implementation is mandatory.
  8118.      E  =  Commanä implementatioî ió requireä foò SCSÉ deviceó thaô supporô 
  8119.            device-independenô self-configurinç software.
  8120.      O  =  Command implementatioî is optional.
  8121.      R  =  Operation code is reserved for future standardization.
  8122.      V  =  Operation code is available for vendor unique commands.
  8123. .paŠ12.2.1 READ Command
  8124.  
  8125.      Peripheraì Devicå Typeº  Writå-Once Read-Multiple and
  8126.                               Read-Onlù Direcô Access
  8127.         Operation Code Type:  Mandatory
  8128.              Operation Code:  28H
  8129.  
  8130.                                   Table 12-9
  8131.                                  READ Command
  8132.  
  8133. ==============================================================================
  8134.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  8135. Byte |        |        |        |        |        |        |        |        |
  8136. ==============================================================================
  8137.  0   |                           Operation Code                              | 
  8138. -----|-----------------------------------------------------------------------|
  8139.  1   | Logical Unit Number      |             Reserved              | RelAdr |
  8140. -----|-----------------------------------------------------------------------|
  8141.  2   |                           Logical Block Address (MSB)                 |
  8142. -----|-----------------------------------------------------------------------|
  8143.  3   |                           Logical Block Address                       |
  8144. -----|-----------------------------------------------------------------------|
  8145.  4   |                           Logical Block Address                       |
  8146. -----|-----------------------------------------------------------------------|
  8147.  5   |                           Logical Block Address (LSB)                 |
  8148. -----|-----------------------------------------------------------------------|
  8149.  6   |                           Reserved                                    |
  8150. -----|-----------------------------------------------------------------------|
  8151.  7   |                           Transfer Length (MSB)                       |
  8152. -----|-----------------------------------------------------------------------|
  8153.  8   |                           Transfer Length (LSB)                       |
  8154. -----|-----------------------------------------------------------------------|
  8155.  9   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  8156. ==============================================================================
  8157.  
  8158.   Thå REAÄ commanä (Tablå 12-9© requestó thaô thå targeô transfeò datá tï th堍
  8159. initiator from the medium.
  8160.  
  8161.   Thå logicaì blocë addresó specifieó thå logicaì blocë aô whicè thå rea䠍
  8162. operatioî shalì begin.
  8163.  
  8164.   Thå transfeò lengtè specifieó thå numbeò oæ contiguouó logicaì blockó o栍
  8165. datá thaô shalì bå transferred®  Á transfeò lengtè oæ zerï indicateó thaô n
  8166. datá shalì bå transferred®  Thió conditioî shalì noô bå considereä aó a
  8167. error®  Anù otheò valuå indicateó thå numbeò oæ logicaì blockó thaô shalì b堍
  8168. transferred.
  8169.  
  8170.   Thió commanä shalì bå terminateä witè á statuó oæ RESERVATIOΠCONFLICÔ i栍
  8171. anù reservatioî accesó conflicô (seå 8.1.8© existó anä nï datá shalì b堍
  8172. transferred.
  8173.  
  8174.   Iæ anù oæ thå followinç conditionó occur¬ thió commanä shalì bå terminate䠍
  8175. witè á CHECË CONDITIOΠstatuó and¬ iæ extendeä senså ió implemented¬ thå sens堍
  8176. keù shalì bå seô aó indicateä iî thå followinç table®  Thió tablå doeó noô 
  8177. providå aî exhaustivå enumeratioî oæ alì conditionó thaô maù causå thå CHECË 
  8178. CONDITIOΠstatus.Š
  8179. Condition                                         Sense Key
  8180. ----------------------------------------------    ----------------------------
  8181. Invalid logical block address                     ILLEGAL REQUEST (see note 1)
  8182.  
  8183. Target reset or medium change since the
  8184. last command from this initiator                  UNIT ATTENTION
  8185.  
  8186. Overrun or other error that might
  8187. be resolved by repeating the command              ABORTED COMMAND
  8188.  
  8189. Attempt to read a blank or previously
  8190. unwritten block                                   BLANK CHECK (see note 2)
  8191.  
  8192. NOTES:
  8193.   (1© Thå extendeä senså informatioî byteó shalì bå seô tï thå logicaì bloc렍
  8194. addresó oæ thå firsô invaliä address.
  8195.  
  8196.   (2© Thå extendeä senså informatioî byteó shalì bå seô tï thå logicaì bloc렍
  8197. addresó oæ thå firsô blanë blocë encountered®  Thå datá reaä uð tï thaô bloc렍
  8198. shalì bå transferred® 
  8199.  
  8200. 12.2.2 WRITE Command
  8201.  
  8202.      Peripheral Device Type:  Write-Once Read-Multiple
  8203.         Operation Code Type:  Mandatory
  8204.              Operation Code:  2AH
  8205.  
  8206.                                  Table 12-10
  8207.                                 WRITE Command
  8208.  
  8209. ==============================================================================
  8210.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  8211. Byte |        |        |        |        |        |        |        |        |
  8212. ==============================================================================
  8213.  0   |                           Operation Code                              | 
  8214. -----|-----------------------------------------------------------------------|
  8215.  1   | Logical Unit Number      |             Reserved              | RelAdr |
  8216. -----|-----------------------------------------------------------------------|
  8217.  2   |                           Logical Block Address (MSB)                 |
  8218. -----|-----------------------------------------------------------------------|
  8219.  3   |                           Logical Block Address                       |
  8220. -----|-----------------------------------------------------------------------|
  8221.  4   |                           Logical Block Address                       |
  8222. -----|-----------------------------------------------------------------------|
  8223.  5   |                           Logical Block Address (LSB)                 |
  8224. -----|-----------------------------------------------------------------------|
  8225.  6   |                           Reserved                                    |
  8226. -----|-----------------------------------------------------------------------|
  8227.  7   |                           Transfer Length (MSB)                       |
  8228. -----|-----------------------------------------------------------------------|
  8229.  8   |                           Transfer Length (LSB)                       |
  8230. -----|-----------------------------------------------------------------------|
  8231.  9   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  8232. ==============================================================================
  8233. Š  Thå WRITÅ commanä (Tablå 12-10© requestó thaô thå targeô writå thå dat᠍
  8234. transferreä froí thå initiatoò tï thå medium.
  8235.  
  8236.   Thå logicaì blocë addresó specifieó thå logicaì blocë aô whicè thå writ堍
  8237. operatioî shalì begin.
  8238.  
  8239.   Thå transfeò lengtè specifieó thå numbeò oæ contiguouó logicaì blockó o栍
  8240. datá thaô shalì bå transferred®  Á transfeò lengtè oæ zerï indicateó thaô n
  8241. datá shalì bå transferred®  Thió conditioî shalì noô bå considereä aó a
  8242. erroò anä nï datá shalì bå written®  Anù otheò valuå indicateó thå numbeò o栍
  8243. logicaì blockó thaô shalì bå transferred.
  8244.  
  8245.   Thió commanä shalì bå terminateä witè á statuó oæ RESERVATIOΠCONFLICÔ i栍
  8246. anù reservatioî accesó conflicô (seå 8.1.8© existó anä nï datá shalì b堍
  8247. written.
  8248.  
  8249.   Iæ anù oæ thå followinç conditionó occur¬ thió commanä shalì bå terminate䠍
  8250. witè á CHECË CONDITIOΠstatuó and¬ iæ extendeä senså ió implemented¬ thå sens堍
  8251. keù shalì bå seô aó indicateä iî thå followinç table®  Thió tablå doeó noô 
  8252. providå aî exhaustivå enumeratioî oæ alì conditionó thaô maù causå thå CHECË 
  8253. CONDITIOΠstatus.
  8254.  
  8255. Condition                                         Sense Key
  8256. ----------------------------------------------    ----------------------------
  8257. Invalid logical block address                     ILLEGAL REQUEST (see note 1)
  8258.  
  8259. Target reset or medium change since the
  8260. last command from this initiator                  UNIT ATTENTION
  8261.  
  8262. Overrun or other error that might
  8263. be resolved by repeating the command              ABORTED COMMAND
  8264.  
  8265. Attempt to write a previously
  8266. written block and blank checking is
  8267. enabled (see 12.1.3)                              BLANK CHECK (see note 2)
  8268.  
  8269. NOTES:
  8270.   (1© Thå extendeä senså informatioî byteó shalì bå seô tï thå logicaì bloc렍
  8271. addresó oæ thå firsô invaliä address.
  8272.  
  8273.   (2© Thå extendeä senså informatioî byteó shalì bå seô tï thå logicaì bloc렍
  8274. addresó oæ thå firsô non-blanë blocë encountered®
  8275. .paŠ12.2.3 WRITE AND VERIFY Command
  8276.  
  8277.      Peripheral Device Type:  Write-Once Read-Multiple
  8278.         Operation Code Type:  Optional
  8279.              Operation Code:  2EH
  8280.  
  8281.                                  Table 12-11
  8282.                            WRITE AND VERIFY Command
  8283.  
  8284. ==============================================================================
  8285.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  8286. Byte |        |        |        |        |        |        |        |        |
  8287. ==============================================================================
  8288.  0   |                           Operation Code                              | 
  8289. -----|-----------------------------------------------------------------------|
  8290.  1   | Logical Unit Number      |         Reserved         | BytChk | RelAdr |
  8291. -----|-----------------------------------------------------------------------|
  8292.  2   |                           Logical Block Address (MSB)                 |
  8293. -----|-----------------------------------------------------------------------|
  8294.  3   |                           Logical Block Address                       |
  8295. -----|-----------------------------------------------------------------------|
  8296.  4   |                           Logical Block Address                       |
  8297. -----|-----------------------------------------------------------------------|
  8298.  5   |                           Logical Block Address (LSB)                 |
  8299. -----|-----------------------------------------------------------------------|
  8300.  6   |                           Reserved                                    |
  8301. -----|-----------------------------------------------------------------------|
  8302.  7   |                           Transfer Length (MSB)                       |
  8303. -----|-----------------------------------------------------------------------|
  8304.  8   |                           Transfer Length (LSB)                       |
  8305. -----|-----------------------------------------------------------------------|
  8306.  9   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  8307. ==============================================================================
  8308.  
  8309.   Thå WRITÅ ANÄ VERIFÙ commanä (Tablå 12-11© requestó thaô thå targeô writ堍
  8310. thå datá transferreä froí thå initiatoò tï thå mediuí anä theî verifù thaô th堍
  8311. datá ió correctlù written.
  8312.  
  8313.   Á bytå checë (BytChk© biô oæ zerï causeó thå verificatioî tï bå simplù á 
  8314. mediuí verificatioî (CRC¬ ECC¬ etc)®  Á BytChë biô oæ onå causeó á byte-by-
  8315. bytå comparå oæ datá writteî tï thå peripheraì devicå anä thå datá transferre䠍
  8316. froí thå initiator®  Iæ thå comparå ió unsuccessfuì, thå commanä shalì b堍
  8317. terminateä witè á CHECË CONDITIOΠstatuó anä thå senså keù shalì bå seô t
  8318. MISCOMPARE.
  8319.  
  8320.   Thå logicaì blocë addresó specifieó thå logicaì blocë aô whicè thå writ堍
  8321. operatioî shalì begin.
  8322.  
  8323.   Thå transfeò lengtè specifieó thå numbeò oæ contiguouó logicaì blockó o栍
  8324. datá thaô shalì bå transferred®  Á transfeò lengtè oæ zerï indicateó thaô n
  8325. logicaì blockó shalì bå transferred®  Thió conditioî shalì noô bå considere䠍
  8326. aó aî erroò anä nï datá shalì bå written®  Anù otheò valuå indicateó th堍
  8327. numbeò oæ logicaì blockó thaô shalì bå transferred.
  8328. .paŠ12.2.4 VERIFY Command
  8329.  
  8330.      Peripheraì Devicå Typeº  Writå-Once Read-Multiple and
  8331.                               Read-Onlù Direcô Access
  8332.         Operation Code Type:  Optional
  8333.              Operation Code:  2FH
  8334.  
  8335.                                  Table 12-12
  8336.                                 VERIFY Command
  8337.  
  8338. ==============================================================================
  8339.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    | 
  8340. Byte |        |        |        |        |        |        |        |        |
  8341. ==============================================================================
  8342.  0   |                           Operation Code                              | 
  8343. -----|-----------------------------------------------------------------------|
  8344.  1   | Logical Unit Number      |    Reserved     | BlkVfy | BytChk | RelAdr |
  8345. -----|-----------------------------------------------------------------------|
  8346.  2   |                           Logical Block Address (MSB)                 |
  8347. -----|-----------------------------------------------------------------------|
  8348.  3   |                           Logical Block Address                       |
  8349. -----|-----------------------------------------------------------------------|
  8350.  4   |                           Logical Block Address                       |
  8351. -----|-----------------------------------------------------------------------|
  8352.  5   |                           Logical Block Address (LSB)                 |
  8353. -----|-----------------------------------------------------------------------|
  8354.  6   |                           Reserved                                    |
  8355. -----|-----------------------------------------------------------------------|
  8356.  7   |                           Verification Length (MSB)                   |
  8357. -----|-----------------------------------------------------------------------|
  8358.  8   |                           Verification Length (LSB)                   |
  8359. -----|-----------------------------------------------------------------------|
  8360.  9   | Vendor Unique   |         Reserved                  |  Flag  |  Link  |
  8361. ==============================================================================
  8362.  
  8363.   Thå VERIFÙ commanä (Tablå 12-12© requestó thaô thå targeô verifù thå datá o
  8364. thå medium.
  8365.  
  8366.   Á bytå checë (BytChk© biô oæ zerï causeó thå verificatioî tï bå simplù á 
  8367. mediuí verificatioî (CRC¬ ECC¬ etc)®  Á BytChë biô oæ onå causeó á byte-by-
  8368. bytå comparå oæ thå datá oî thå mediuí anä thå datá transferreä froí th堍
  8369. initiator®  Thå datá shalì bå transferreä aó iô woulä bå foò á WRITÅ command®  
  8370. Iæ thå comparå ió unsuccessful¬ thå commanä shalì bå terminateä witè á CHECË 
  8371. CONDITIOΠstatuó anä thå senså keù shalì bå seô tï MISCOMPARE.
  8372.  
  8373.   Á blanë verifù (BlkVfy© biô oæ onå causeó á verificatioî thaô thå blockó ar堍
  8374. blank.
  8375.  
  8376.   Thå logicaì blocë addresó specifieó thå logicaì blocë aô whicè thå verifù 
  8377. operatioî shalì begin.
  8378.  
  8379.   Thå verificatioî lengtè specifieó thå numbeò oæ contiguouó logicaì blockó o栍
  8380. datá oò blankó thaô shalì bå verified®  Á verificatioî lengtè oæ zer
  8381. indicateó thaô nï logicaì blockó shalì bå verified®  Thió conditioî shalì noô 
  8382. bå considereä aó aî error®  Anù otheò valuå indicateó thå numbeò oæ logica젍
  8383. blockó thaô shalì bå verified.Š
  8384. .. To set ruler line, position cursor on the next line and type ^OF--!--!--!--!--!--!--!--!--!--!--!--!-----------------------------------------!
  8385. .fo Section 13                           #
  8386. 13. Command Descriptions for Read-Only Direct-Access Devices
  8387.  
  8388. 13.± Grouð ° Commandó foò Read-Onlù Direct-Accesó Devices.‚  Thå Grouð ° 
  8389. commandó foò read-onlù direct-accesó deviceó shalì bå aó showî iî Tablå 13-1.
  8390.  
  8391.                                   Table 13-1
  8392.              Group 0 Commands for Read-Only Direct-Access Devices
  8393.  
  8394. ==============================================================================
  8395. Operation
  8396.   Code      Type   Command Name                       Section
  8397. ------------------------------------------------------------------------------
  8398.    00H       O     TEST UNIT READY                    7.1.1
  8399.    01H       O     REZERO UNIT                        8.1.1
  8400.    02H       V
  8401.    03H       M     REQUEST SENSE                      7.1.2
  8402.    04H       R
  8403.    05H       V
  8404.    06H       V
  8405.    07H       R
  8406.    08H       O     READ                               12.1.1
  8407.    09H       V
  8408.    0AH       R
  8409.    0BH       O     SEEK                               8.1.6
  8410.    0CH       V
  8411.    0DH       V
  8412.    0EH       V
  8413.    0FH       V
  8414.    10H       V
  8415.    11H       V
  8416.    12H       E     INQUIRY                            7.1.3
  8417.    13H       V
  8418.    14H       V
  8419.    15H       O     MODE SELECT                        12.1.3
  8420.    16H       O     RESERVE                            8.1.8
  8421.    17H       O     RELEASE                            8.1.9
  8422.    18H       O     COPY                               7.1.4
  8423.    19H       V
  8424.    1AH       O     MODE SENSE                         12.1.4
  8425.    1BH       O     START/STOP UNIT                    8.1.11
  8426.    1CH       O     RECEIVE DIAGNOSTIC RESULTS         7.1.5
  8427.    1DH       O     SEND DIAGNOSTIC                    7.1.6
  8428.    1EH       O     PREVENT/ALLOW MEDIUM REMOVAL       8.1.12
  8429.    1FH       R
  8430. ==============================================================================
  8431.  
  8432. Key: M  =  Command implementation is mandatory.
  8433.      E  =  Commanä implementatioî ió requireä foò SCSÉ deviceó thaô supporô 
  8434.            device-independenô self-configurinç software.
  8435.      O  =  Command implementatioî is optional.
  8436.      R  =  Operation code is reserved for future standardization.
  8437.      V  =  Operation code is available for vendor unique commands.
  8438. .paŠ13.² Grouð ± Commandó foò Read-Onlù Direct-Accesó Devices.‚  Thå Grouð ± 
  8439. commandó foò read-onlù direct-accesó deviceó shalì bå aó showî iî Tablå 13-2.
  8440.  
  8441.                                   Table 13-2
  8442.              Group 1 Commands for Read-Only Direct-Access Devices
  8443.  
  8444. ==============================================================================
  8445. Operation
  8446.   Code      Type   Command Name                       Section
  8447. ------------------------------------------------------------------------------
  8448.    20H       V
  8449.    21H       V
  8450.    22H       V
  8451.    23H       V
  8452.    24H       V
  8453.    25H       E     READ CAPACITY                      8.2.1
  8454.    26H       V
  8455.    27H       V
  8456.    28H       M     READ                               12.2.1
  8457.    29H       V
  8458.    2AH       R
  8459.    2BH       O     SEEK                               8.2.4
  8460.    2CH       V
  8461.    2DH       V
  8462.    2EH       R
  8463.    2FH       O     VERIFY                             12.2.4
  8464.    30H       O     SEARCH DATA HIGH                   8.2.7.1
  8465.    31H       O     SEARCH DATA EQUAL                  8.2.7.2
  8466.    32H       O     SEARCH DATA LOW                    8.2.7.3
  8467.    33H       O     SET LIMITS                         8.2.8
  8468.    34H       R
  8469.    35H       R
  8470.    36H       R
  8471.    37H       R
  8472.    38H       R
  8473.    39H       O     COMPARE                            7.2.1
  8474.    3AH       O     COPY AND COMPARE                   7.2.2
  8475.    3BH       R
  8476.    3CH       R
  8477.    3DH       R
  8478.    3EH       R
  8479.    3FH       R
  8480. ==============================================================================
  8481.  
  8482. Key: M  =  Command implementation is mandatory.
  8483.      E  =  Commanä implementatioî ió requireä foò SCSÉ deviceó thaô supporô 
  8484.            device-independenô self-configurinç software.
  8485.      O  =  Command implementatioî is optional.
  8486.      R  =  Operation code is reserved for future standardization.
  8487.      V  =  Operation code is available for vendor unique commands.
  8488. .paŠ.. To set ruler line, position cursor on the next line and type ^OF--!--!--!--!--!--!--!--!--!--!--!--!-----------------------------------------!
  8489. .fo Section 14                           #
  8490. 14. Status 
  8491.  
  8492. Á statuó bytå shalì bå senô froí thå targeô tï thå initiatoò durinç thå STATUÓ 
  8493. phaså aô thå terminatioî oæ eacè commanä aó specifieä iî Tableó 14-± anä 14-² 
  8494. unlesó thå commanä ió cleareä bù aî ABORÔ message¬ bù á BUÓ DEVICÅ RESEÔ 
  8495. message¬ oò bù á "hard¢ RESEÔ condition.
  8496.  
  8497.                                   Table 14-1
  8498.                                  Status Byte 
  8499.  
  8500. ==============================================================================
  8501.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  8502. Byte |        |        |        |        |        |        |        |        |
  8503. ==============================================================================
  8504.  0   |Reserved|  Vendor Unique  |        Status Byte Code           |   V    |
  8505. ==============================================================================
  8506.  
  8507.  
  8508.                                   Table 14-2
  8509.                          Status Byte Code Bit Values
  8510.  
  8511. ==============================================================================
  8512.      Bits of Status Byte
  8513. -----------------------------
  8514. 7   6   5   4   3   2   1   0    Status(es) Represented
  8515. ------------------------------------------------------------------------------
  8516. R   V   V   0   0   0   0   V    GOOD
  8517. R   V   V   0   0   0   1   V    CHECK CONDITION
  8518. R   V   V   0   0   1   0   V    CONDITION MET/GOOD
  8519. R   V   V   0   0   1   1   V    Reserved
  8520.  
  8521. R   V   V   0   1   0   0   V    BUSY
  8522. R   V   V   0   1   0   1   V    Reserved
  8523. R   V   V   0   1   1   0   V    Reserved
  8524. R   V   V   0   1   1   1   V    Reserved
  8525.  
  8526. R   V   V   1   0   0   0   V    INTERMEDIATE/GOOD
  8527. R   V   V   1   0   0   1   V    Reserved
  8528. R   V   V   1   0   1   0   V    INTERMEDIATE/CONDITION MET/GOOD
  8529. R   V   V   1   0   1   1   V    Reserved
  8530.  
  8531. R   V   V   1   1   0   0   V    RESERVATION CONFLICT
  8532. R   V   V   1   1   0   1   V    Reserved
  8533. R   V   V   1   1   1   0   V    Reserved
  8534. R   V   V   1   1   1   1   V    Reserved
  8535. ==============================================================================
  8536.  
  8537. Key: R - Reserved bit
  8538.      V - Vendor unique bit
  8539. .paŠ  A description of the statuó bytå codes is given below:
  8540.  
  8541. GOOD.‚  Thió statuó indicateó thaô thå targeô haó successfullù completeä th堍
  8542. command.
  8543.  
  8544. CHECË CONDITION.‚  Anù error¬ exception¬ oò abnormaì conditioî thaô causeó 
  8545. senså datá tï bå set¬ shalì causå á CHECË CONDITIOΠstatus®  Thå REQUESÔ SENSÅ 
  8546. commanä shoulä bå issueä followinç á CHECË CONDITIOΠstatus¬ tï determinå th堍
  8547. naturå oæ thå condition.
  8548.  
  8549. CONDITIOΠMET.‚  Thå SEARCÈ DATÁ commandó shalì returî thió statuó wheneveò á 
  8550. searcè conditioî ió satisfied®  Thió statuó doeó noô breaë á chaiî oæ linke䠍
  8551. commands®  Thå logicaì blocë addresó oæ thå logicaì blocë thaô satisfieó th堍
  8552. searcè maù bå determineä witè á REQUESÔ SENSÅ command.
  8553.  
  8554. BUSY.‚  Thå targeô ió busy®  Thió statuó shalì bå returneä wheneveò á targeô ió 
  8555. unablå tï accepô á commanä froí aî initiator®  Thå normaì initiatoò recoverù 
  8556. action is to issue the command again at a later time.
  8557.  
  8558. INTERMEDIATE.‚  Thió statuó shalì bå returneä foò everù commanä iî á serieó o栍
  8559. linkeä commandó (excepô thå lasô command)¬ unlesó aî error¬ exception¬ oò 
  8560. abnormaì conditioî causeó á CHECË CONDITIOΠstatuó oò á RESERVATIOΠCONFLICÔ 
  8561. statuó tï bå set®  Iæ thió statuó ió noô returned¬ thå chaiî oæ linke䠍
  8562. commandó ió broken» nï furtheò commandó iî thå serieó arå executed.
  8563.  
  8564. RESERVATIOΠCONFLICT.‚  Thió statuó shalì bå returneä wheneveò aî SCSÉ devic堍
  8565. attemptó tï accesó á logicaì uniô oò aî extenô withiî á logicaì uniô thaô ió 
  8566. reserveä foò thaô typå oæ accesó tï anotheò SCSÉ device.
  8567. .paŠ.. To set ruler line, position cursor on the next line and type ^OF--!--!--!--!--!--!--!--!--!--!--!--!-----------------------------------------!
  8568. .fo Appendix A                           #
  8569. .pn 174
  8570. Appendixes    (Theså Appendixeó arå noô parô oæ Americaî Nationaì Standar䠍
  8571.               Smalì Computeò Systeí Interface¬ X3.131.198_¬ buô arå include䠍
  8572.               foò informatioî only.)
  8573.  
  8574. Appendix A
  8575.  
  8576. SCSI Signal Sequence Example
  8577.  
  8578. Thió appendiø ió includeä tï providå aî examplå oæ thå timinç oæ aî SCSÉ 
  8579. commanä thaô includeó mosô oæ thå SCSÉ buó phaseó (Figurå A1)®  Iî thió 
  8580. example¬ thå targeô doeó noô disconnecô froí thå SCSÉ buó prioò tï completin砍
  8581. thå command.
  8582.  
  8583.   The following notes apply to Figure A1:
  8584.  
  8585. GENERAL NOTE:
  8586.  
  8587.   Iî á typicaì system¬ thå computer'ó hosô adapteò actó aó thå "initiator¢ an䠍
  8588. thå peripheraì device'ó controlleò actó aó thå "target"®  Iî general¬ thió 
  8589. standarä doeó noô attempô tï distinguisè betweeî á computeò anä itó hosô 
  8590. adapter®  Theså functionó maù bå separatå oò merged®  Thå terí "initiator¢ 
  8591. encompasseó both®  Similarly¬ thå terí "target¢ doeó noô distinguisè betwee
  8592. thå peripheraì devicå anä itó controller¬ whicè maù bå separatå oò merged®  
  8593. Thå terí "SCSÉ device¢ referó tï á devicå thaô maù bå connecteä tï thå SCSÉ 
  8594. bus®  Aî SCSÉ devicå maù acô aó iî thå initiatoò role¬ thå targeô role¬ oò 
  8595. botè roles.
  8596.  
  8597. TIMING NOTES:
  8598.  
  8599. Buó Settlå Delay.‚  Thå minimuí timå tï waiô foò thå SCSÉ buó tï settlå afteò 
  8600. changinç certaiî controì signals.
  8601.  
  8602. Buó Freå Delay.‚  Thå minimuí timå thaô aî SCSÉ devicå musô waiô froí itó 
  8603. detectioî oæ BUÓ FREÅ phaså untiì iô maù asserô BSÙ anä itó IÄ bit.
  8604.  
  8605. Buó Seô Delay.‚  Thå maximuí timå thaô aî SCSÉ devicå maù waiô tï asserô BSÙ 
  8606. anä itó IÄ biô afteò BUÓ FREÅ phaså waó lasô detecteä iæ iô intendó t
  8607. participatå iî thå ARBITRATIOΠphase.
  8608.  
  8609. Buó Cleaò Delay.‚  Thå maximuí timå foò aî SCSÉ devicå tï stoð drivinç al젍
  8610. signaló afteò BUÓ FREÅ phaså ió detected¬ afteò SEÌ ió receiveä durin砍
  8611. ARBITRATIOΠphase¬ oò afteò RSÔ becomeó true.
  8612.  
  8613. Arbitratioî Delay.‚  Thå minimuí timå thaô aî SCSÉ devicå musô waiô afteò 
  8614. assertinç BSÙ foò arbitratioî untiì iô maù examinå thå DATÁ BUÓ tï determin堍
  8615. whetheò iô won®  Therå ió nï maximuí time.
  8616. .paŠ.. Figure A1 goes here.
  8617. .paŠDATA BUS NOTES:
  8618.  
  8619.   (1)  DB(7) is the most significant bit.
  8620.  
  8621.   (2)  DB(7) is the highest priority arbitration bit.
  8622.  
  8623.   (3©  DB(P© ió thå datá paritù biô (odd)®  Paritù ió noô valiä durinç th堍
  8624. ARBITRATIOΠphase®  Uså oæ paritù ió á systeí optioî (i.e.¬ á systeí ió 
  8625. configureä sï thaô alì SCSÉ deviceó oî á buó generatå paritù anä havå paritù 
  8626. detectioî enabled¬ oò alì SCSÉ deviceó havå paritù detectioî disableä oò noô 
  8627. implemented).
  8628.  
  8629. BUS PHASE NOTES:
  8630.  
  8631. BUÓ FREÅ phase.‚  BUÓ FREÅ phaså beginó wheî SEÌ anä BSÙ arå botè continuouslù 
  8632. false for a bus settle delay.  It ends when SEL or BSY becomes true.
  8633.  
  8634. ARBITRATIOΠphase.‚  Implementatioî oæ thió phaså ió optional®  Iæ therå ió 
  8635. morå thaî onå initiator¬ theî alì initiatoró musô implemenô thió phase®  
  8636. Targetó thaô dï noô implemenô thió phase cannoô disconnecô froí thå buó unti젍
  8637. thå commanä haó completed®  SCSÉ deviceó thaô implemenô thå COPÙ commanä musô 
  8638. implemenô ARBITRATIOΠphase.
  8639.  
  8640.   Aô leasô onå buó freå delaù afteò firsô detectinç BUS FREE phase¬ buô n
  8641. morå thaî á buó seô delaù afteò thå buó waó lasô free¬ thå initiatoò assertó 
  8642. BSÙ anä itó assigneä SCSÉ devicå IÄ biô oî thå DATÁ BUS®  Thå initiatoò waitó 
  8643. aî arbitratioî delay¬ theî examineó thå DATÁ BUS®  Iæ á higheò prioritù SCSÉ 
  8644. devicå IÄ biô ió true¬ thå initiatoò loseó arbitratioî anä releaseó BSÙ an䠍
  8645. itó IÄ bit®  Otherwise¬ thå initiatoò winó arbitratioî anä assertó SEL®  SCSÉ 
  8646. deviceó musô releaså BSÙ anä theiò IÄ biô withiî á buó cleaò delaù afteò SEÌ 
  8647. becomes true (even if they have not yet examined the DATA BUS).
  8648.  
  8649.   Thå winninç SCSÉ devicå waitó aô leasô á buó cleaò delaù pluó á buó settl堍
  8650. delay after asserting SEL before changing any signals on the bus.
  8651.  
  8652. SELECTIOΠphase.‚  Thå I/Ï signaì ió falså durinç thió phaså tï distinguisè iô 
  8653. froí thå RESELECTIOΠphase.
  8654.  
  8655.   NON-ARBITRATINÇ SYSTEMSº  Iî sucè systems¬ thå initiatoò waitó aô leasô á 
  8656. buó cleaò delaù afteò detectinç BUÓ FREÅ phase¬ theî iô assertó thå target'ó 
  8657. IÄ biô and¬ optionally¬ thå initiator'ó IÄ biô oî thå DATÁ BUS®  Afteò aô 
  8658. leasô twï deske÷ delays¬ thå initiatoò assertó SEL.
  8659.  
  8660.   ARBITRATINÇ SYSTEMSº  Iî sucè systems¬ thå SCSÉ devicå thaô woî arbitratio
  8661. haó botè BSÙ anä SEÌ asserted®  Afteò aô leasô á buó cleaò delaù pluó á buó 
  8662. settlå delay¬ iô placeó botè thå target'ó anä thå initiator'ó IÄ bitó oî th堍
  8663. DATÁ BUS®  Aô leasô twï twï deske÷ delayó later¬ iô releaseó BSY.
  8664.  
  8665.   ALÌ SYSTEMSº  Thå targeô determineó thaô iô ió selecteä wheî SEÌ anä itó 
  8666. SCSÉ IÄ biô arå truå anä BSÙ anä I/Ï arå falså foò aô leasô á buó settl堍
  8667. delay®  Thå targeô theî assertó BSÙ withiî á selectioî aborô timå afteò iô 
  8668. lasô determineä thaô iô waó stilì beinç selected®  (Thå targeô ió noô require䠍
  8669. tï responä tï á selectioî withiî á selectioî aborô time»  buô iô musô insur堍
  8670. thaô iô wilì noô asserô BSÙ morå thaî á selectioî aborô timå afteò th堍
  8671. initiatoò abortó á selectioî attempt.)
  8672. Š.fo Appendix A                         176.1
  8673.   Aô leasô twï deske÷ delayó afteò thå initiatoò detectó BSÙ true¬ iô releaseó 
  8674. SEÌ anä maù changå oò releaså thå DATÁ BUS®
  8675.  
  8676. COMMANÄ phase.‚  Thå targeô assertó C/Ä anä negateó I/Ï anä MSÇ foò alì oæ th堍
  8677. byteó transferreä durinç thió phase®  Thå directioî oæ transfeò ió froí th堍
  8678. initiatoò tï thå target.
  8679.  
  8680.   HANDSHAKÅ PROCEDUREº  Thå targeô assertó REQ®  Upoî detectinç REÑ true¬ th堍
  8681. initiatoò driveó thå DATÁ BUÓ tï thå desireä value¬ waitó aô leasô onå deske÷ 
  8682. delaù pluó á cablå ske÷ delaù anä theî assertó ACK®  Thå initiatoò continueó 
  8683. to drive the DATA BUS until REQ is false.
  8684.  
  8685.   Wheî ACË ió truå aô thå target¬ thå targeô readó thå DATÁ BUÓ anä the
  8686. negates REQ.
  8687.  
  8688.   Wheî REÑ becomeó falså aô thå initiator¬ thå initiatoò maù changå oò releas堍
  8689. the DATA BUS and negate ACK.
  8690.  
  8691.   Thå targeô maù continuå tï requesô commanä byteó bù assertinç REÑ again®  
  8692. Thå numbeò oæ commanä byteó ió determineä bù thå grouð codå (mosô significanô 
  8693. ³ bits© thaô ió containeä iî thå firsô commanä byte.
  8694.  
  8695. DATÁ IΠphase.‚  Thå targeô assertó I/Ï anä negateó C/Ä anä MSÇ foò alì oæ th堍
  8696. byteó transferreä durinç thió phase®  Thå directioî oæ transfeò ió froí th堍
  8697. target to the initiator.
  8698.  
  8699.   HANDSHAKÅ PROCEDUREº  Thå targeô firsô driveó thå DATÁ BUÓ tï theiò desire䠍
  8700. values¬ waitó aô leasô onå deske÷ delaù pluó á cablå ske÷ delay¬ anä the
  8701. asserts REQ.  The target continues to drive the DATA BUS until ACK is true.
  8702.  
  8703.   Wheî REÑ ió truå aô thå initiator¬ thå initiatoò readó thå DATÁ BUÓ anä the
  8704. asserts ACK.
  8705.  
  8706.   Wheî ACË ió truå aô thå target¬ thå targeô maù changå oò releaså thå DATÁ 
  8707. BUS and negate REQ.
  8708.  
  8709.   Wheî REÑ ió falså aô thå initiator¬ thå initiatoò negateó ACK®  Afteò ACË ió 
  8710. false¬ thå targeô maù continuå thå transfeò bù drivinç thå DATÁ BUÓ an䠍
  8711. asserting REQ as described above.
  8712.  
  8713. DATÁ OUÔ phaså (noô showî iî thå figure).‚  Thå targeô negateó C/D¬ I/O¬ an䠍
  8714. MSÇ foò alì oæ thå byteó transferreä durinç thió phase®  Thå directioî o栍
  8715. transfeò ió froí thå initiatoò tï thå target®  (Refeò tï thå handshak堍
  8716. procedure and the timing chart for the COMMAND phase.)
  8717.  
  8718. STATUÓ phase.‚  Thå targeô assertó C/Ä anä I/Ï anä negateó MSÇ foò thå byt堍
  8719. transferreä durinç thió phase®  Thå directioî oæ transfeò ió froí thå targeô 
  8720. tï thå initiator®  (Refeò tï thå handshakå procedurå anä thå timinç charô foò 
  8721. thå DATA IN phase.)
  8722.  
  8723. MESSAGÅ phase.‚  Thå targeô C/D¬ I/O¬ anä MSÇ durinç thå bytå transferre䠍
  8724. durinç thió phase®  Typically¬ á COMMANÄ COMPLETÅ messagå woulä bå senô aô 
  8725. thió point®  Thå directioî oæ transfeò ió froí thå targeô tï thå initiator®  
  8726. (Refeò tï thå handshakå procedurå anä thå timinç charô foò thå DATÁ IΠphase.)
  8727.  
  8728. BUÓ FREÅ phase.‚  Thå targeô returnó tï BUÓ FREÅ phaså bù releasinç BSY®  Bot蠍Šthå targeô anä thå initiatoò releaså alì buó signaló withiî á buó cleaò delaù 
  8729. after BSY is continuously false for a bus settle delay.
  8730. .fo Appendix A                         176.2
  8731. .paŠ.. To set ruler line, position cursor on the next line and type ^OF--!--!--!--!--!--!--!--!--!--!--!--!-----------------------------------------!
  8732. .pn 177
  8733. .fo Appendix B                           #
  8734. Appendix B
  8735.  
  8736. Typical Bus Phase Sequence
  8737.  
  8738. Thió appendiø ió includeä tï providå aî examplå oæ thå SCSÉ buó phaså sequenc堍
  8739. foò á typicaì REAÄ commanä (Tableó B± anä B2)®  Iî thió example¬ thå targeô 
  8740. doeó noô disconnecô froí thå SCSÉ buó prioò tï completinç thå command.
  8741.  
  8742.                                    Table B1
  8743.                      Typical READ Command Phase Sequence
  8744.  
  8745. ==============================================================================
  8746.                                    Signals
  8747.                ---------------------------------------------------------------
  8748.                B  S  A  M  C  I  R  A  R    D    D
  8749.                S  E  T  S  /  /  E  C  S    B    B
  8750. Bus Phase      Y  L  N  G  D  O  Q  K  T  (7-0) (P)    Comment
  8751. ------------------------------------------------------------------------------
  8752. BUÓ FREÅ       -  -  -  -  -  -  -  -  -    -    -     SCSÉ buó ió available. 
  8753.  
  8754. ARBITRATIOΠ   ±  -  -  -  -  -  -  -  -    IÄ   Ø     Initiatoò trieó tï get 
  8755.      ¢            ±                                    thå SCSÉ bus.
  8756.  
  8757. SELECTIOΠ     ±  ±  ±  -  -  -  -  °  -  IÄ I,Ô Ö     Initiatoò haó SCSÉ bus 
  8758.      ¢         -  ±                       IÄ I,Ô Ö     anä selectó á target.
  8759.      ¢         ±  ±                       IÄ I,Ô Ö     ATN is on. 
  8760.      ¢         ±  -                         Ø    Ø
  8761.  
  8762. MESSAGÅ OUÔ    ±  -  ±  ±  ±  °  °  °  -    Ø    Ø     Target haó controì oæ
  8763.      ¢               ±           ±  °       Ø    Ø     the bus anä getó the 
  8764.      ¢               ±           ±  °       Ø    Ø     IDENTIFÙ messagå froí
  8765.      ¢               ±           ±  ±    Messagå Ö     the initiator. 
  8766.      ¢               ±           °  ±       Ø    Ø
  8767.      ¢               °           °  °       Ø    Ø
  8768.  
  8769. COMMANÄ        ±  -  °  °  ±  °  °  °  -    Ø    Ø     Target getó a commanä 
  8770.      ¢                           ±  °       Ø    Ø     froí the initiator® 
  8771.      ¢                           ±  ±    Commanä Ö     (Thió phaså ió repeateä 
  8772.      ¢                           °  ±       Ø    Ø     foò eacè byte.)
  8773.      ¢                           °  °       Ø    Ø
  8774. ==============================================================================
  8775. .paŠ                                   Table B2
  8776.                Typical READ Command Phase Sequence (Continued)
  8777.  
  8778. ==============================================================================
  8779.                                    Signals
  8780.                ---------------------------------------------------------------
  8781.                B  S  A  M  C  I  R  A  R    D    D
  8782.                S  E  T  S  /  /  E  C  S    B    B
  8783. Bus Phase      Y  L  N  G  D  O  Q  K  T  (7-0) (P)    Comment
  8784. ------------------------------------------------------------------------------
  8785. DATÁ IΠ       ±  -  °  °  °  ±  °  °  -    Ø    Ø     Targeô sendó datá to 
  8786.      ¢                           ±  °  Reaä Datá Ö     the initiator®  (Thió
  8787.      ¢                           ±  ±       Ø    Ø     phase ió repeateä foò
  8788.      ¢                           °  ±       Ø    Ø     each byte.©
  8789.      ¢                           °  °       Ø    Ø
  8790.  
  8791. STATUÓ         ±  -  °  °  ±  ±  °  °  -    Ø    Ø     Targeô sendó statuó to 
  8792.      ¢                           ±  °    Statuó  Ö     the initiator® 
  8793.      ¢                           ±  ±       Ø    Ø
  8794.      ¢                           °  ±       Ø    Ø
  8795.      ¢                           °  °       Ø    X
  8796.  
  8797. MESSAGÅ IΠ    ±  -  °  ±  ±  ±  °  °  -    Ø    Ø     Targeô sendó a COMMAND 
  8798.      ¢                           ±  °    Messagå Ö     COMPLETÅ messagå to the
  8799.      ¢                           ±  ±       Ø    Ø     initiator® 
  8800.      ¢                           °  ±       Ø    Ø
  8801.      ¢                           °  °       Ø    Ø
  8802.  
  8803.  
  8804. BUÓ FREÅ       -  -  -  -  -  -  -  -  -    -    -     SCSÉ buó ió available. 
  8805. ==============================================================================
  8806.  
  8807. Key:  -       =  Signal driver is passive.
  8808.       0       =  Signal is false.
  8809.       1       =  Signal is true.
  8810.       "Blank" =  Signal state is the same as the previous line.
  8811.       ID      =  SCSI ID for arbitration.
  8812.       ID I,T  =  SCSI ID of initiator and target.
  8813.       V       =  Parity is valid.
  8814.       X       =  The signal is not guaranteed to be in a known state.
  8815. .paŠ.. To set ruler line, position cursor on the next line and type ^OF--!--!--!--!--!--!--!--!--!--!--!--!-----------------------------------------!
  8816. .pn 179
  8817. .fo Appendix C                           #
  8818. Appendix C
  8819.  
  8820. SCSI System Operation
  8821.  
  8822. Thió appendiø ió includeä tï providå aî explanatioî oæ thå relationshið oæ th堍
  8823. variouó pieceó oæ aî SCSÉ system®  Thió appendiø alsï provideó additiona젍
  8824. informatioî abouô thå uså oæ SCSÉ iî á multi-taskinç system®  Sucè systemó 
  8825. typicallù uså á hosô adapteò printed-circuiô boarä tï interfacå froí thå hosô 
  8826. memorù tï thå SCSÉ bus®  Althougè otheò architectureó arå possiblå (includin砍
  8827. nativå oò imbeddeä SCSI)¬ thå hosô adapteò logiã stilì existó aó parô oæ th堍
  8828. system®  Thå terí "initiator¢ ió useä throughouô thió standarä tï encompasó 
  8829. alì sucè architectures®  Thå terí "hosô adapter¢ ió useä withiî thió appendiø 
  8830. tï refeò tï thå logiã thaô interfaceó froí thå hosô memorù tï thå SCSÉ bus.
  8831.  
  8832. C1. Host Memory / Host Adapter / SCSI Controller Relationship
  8833.  
  8834. Thå SCSÉ architecturå utilizeó thå concepô oæ hosô memorù blockó foò command¬ 
  8835. data¬ anä statuó interchangå betweeî thå hosô systeí anä thå SCSÉ controller®  
  8836. Iî thå middlå oæ thió exchangå ió thå SCSÉ hosô adapter¬ whicè actó aó th堍
  8837. SCSÉ peripheral'ó gatewaù intï hosô memory®  Thå hosô adapteò ió aî importanô 
  8838. portioî oæ thå overalì intelligencå oæ SCSI®  Alonç witè providinç a
  8839. informatioî patè froí thå SCSÉ buó tï thå hosô bus¬ thå hosô adapteò ió 
  8840. intimatelù involveä iî assurinç datá integritù anä propeò performancå oæ th堍
  8841. I/Ï subsystem® 
  8842.  
  8843.   Iî ordeò tï fullù understanä SCSÉ operation¬ thå conceptó oæ I/Ï memorù 
  8844. blockó anä logicaì threadó musô bå detailed®  Figurå C± presentó á bloc렍
  8845. diagraí oæ á singlå host/singlå peripheraì SCSÉ I/Ï subsystem®  Thå hosô 
  8846. memorù containó threå I/Ï blocksº  command¬ data¬ anä status®  Thå SCSÉ 
  8847. controlleò needó tï reaä thå commanä blocë anä writå tï thå statuó blocë i
  8848. ordeò tï perforí thå tasë specifieä bù thå hosô (iî thå commanä block)®  
  8849. Likewise¬ thå controlleò needó tï botè reaä anä writå thå datá block®  Aó waó 
  8850. previouslù mentioned¬ thå SCSÉ controlleò "reacheó intï hosô memory¢ viá th堍
  8851. SCSÉ hosô adapter®  Thå hosô adapteò musô kno÷ thå addresseó oæ thå command¬ 
  8852. data¬ anä statuó blockó iî ordeò foò iô tï "reach¢ intï thå righô spoô i
  8853. memory®  Iî otheò words¬ thå hosô adapteò musô bå giveî á pointeò tï thå starô 
  8854. oæ eacè blocë bù thå host®  Aó thå SCSÉ controlleò takeó informatioî froí th堍
  8855. commanä block¬ thå memorù pointeò foò thå commanä blocë advancås tï th堍
  8856. nexô byte®  Thå samå ió truå foò thå datá anä statuó pointers.
  8857.  
  8858.   SCSÉ architecturå provideó foò twï setó oæ threå pointeró withiî thå hosô 
  8859. adapter®  Thå firsô seô ió knowî aó thå currenô (oò active© pointeò values®  
  8860. Theså arå thå pointeró tï thå nexô command¬ data¬ oò statuó bytå tï b堍
  8861. transferreä betweeî thå hosô memorù anä thå SCSÉ controller®  Therå ió onlù 
  8862. onå seô oæ currenô pointeró iî thå hosô adapter®  Thå currenô pointeró ar堍
  8863. shareä amounç alì deviceó anä arå useä bù thå currenô devicå connecteä tï th堍
  8864. hosô adapter®  Thå seconä seô ió knowî aó thå saveä pointeò values®  Therå ió 
  8865. onå seô oæ saveä pointeró foò eacè supporteä logicaì thread®  Foò commanä an䠍
  8866. status¬ theså pointeró alwayó poinô tï thå starô oæ thå memorù commanä bloc렍
  8867. anä memorù statuó block®  Thå saveä datá pointeò pointó tï thå starô oæ th堍
  8868. datá blocë aô thå beginninç oæ thå SCSÉ command®  Iô remainó aô thió valu堍
  8869. untiì thå controlleò sendó á SAVÅ DATÁ POINTEÒ messagå tï thå hosô adapteò 
  8870. whicè iî turî saveó thå valuå oæ thå currenô datá pointer®  Thå controlleò maù 
  8871. retrievå thå saveä valuå bù sendinç á RESTORÅ POINTERÓ message®  Thió moveó 
  8872. thå saveä valuå oæ eacè pointeò intï thå currenô pointeò registers®  Wheneveò 
  8873. aî SCSÉ devicå disconnectó froí thå bus¬ onlù thå saveä pointeò valueó ar堍Šretained®  Thå currenô pointeò valueó arå seô froí thå saveä valueó upoî th堍
  8874. nexô reconnection®  Thå currenô anä saveä pointeró providå aî efficienô meanó 
  8875. oæ erroò retrù anä recoverù durinç largå datá exchangeó oî thå SCSÉ bus.
  8876.  
  8877. C2. SCSI READ Command Example
  8878.  
  8879. Onå methoä tï understandinç thå host/hosô adapter/SCSÉ peripheraì relationshið 
  8880. ió viá aî example®  Leô uó consideò thå caså oæ á multiplå sectoò REAÄ comman䠍
  8881. thaô wilì crosó á cylindeò boundarù oî á direct-accesó devicå sucè aó á disk®
  8882.  
  8883.   Thå firsô activitù iî thå I/Ï operatioî ió foò thå systeí tï creatå á 
  8884. commanä descriptoò blocë iî memorù anä determinå wherå thå datá anä statuó ar堍
  8885. tï bå writteî iî hosô memory®  Thå hosô theî sendó á commanä tï thå hosô 
  8886. adapteò thaô includeó thå startinç addresó (pointer© foò eacè oæ thå command¬ 
  8887. data¬ anä statuó blockó anä thå SCSÉ addresó oæ thå peripheraì tï perforí th堍
  8888. operation®  Iî thió example¬ therå ió onlù onå SCSÉ controlleò anä physica젍
  8889. disk¬ buô itó addresó ió requireä iî ordeò foò thå hosô adapteò tï selecô it.
  8890.  
  8891.   Upoî receivinç thå command¬ thå hosô adapteò arbitrateó foò thå SCSÉ buó an䠍
  8892. winó (duå tï thå lacë oæ competinç devices© anä proceedó tï selecô thå targeô 
  8893. SCSÉ devicå witè thå ATΠsignaì asserted®  Thå ATTENTIOΠconditioî indicateó 
  8894. tï thå SCSÉ targeô thaô thå initiatoò (thå hosô adapter© haó á messagå tï sen䠍
  8895. tï thå target.
  8896.  
  8897.   Afteò thå SELECTIOΠphaså ió completed¬ thå disë controlleò respondó tï th堍
  8898. initiator'ó ATTENTIOΠconditioî bù receivinç á messagå froí thå initiator®  
  8899. Thió message¬ generateä bù thå hosô adapter¬ indicateó thå desireä logica젍
  8900. uniô numbeò iî thå targeô anä whetheò thå initiatoò caî supporô buó 
  8901. disconnect®  Iî thió example¬ thå initiatoò supportó disconnect.
  8902.  
  8903.   Input/outpuô activitù froí thió poinô wilì bå controlleä entirelù bù th堍
  8904. target®  Thå hosô adapteò ió simplù aî "arm¢ oæ thå targeô useä tï reacè int
  8905. hosô memory®  Utilizinç thió arm¬ thå targeô readó iî thå commanä descriptoò 
  8906. blocë (CDB).
  8907.  
  8908.   Afteò decodinç thå instruction¬ thå controlleò determineó thaô á disë see렍
  8909. ió requireä tï geô thå startinç datá block®  Sincå thå SCSÉ buó wilì noô b堍
  8910. utilizeä untiì datá haó beeî reaä froí thå disk¬ thå targeô controlleò 
  8911. disconnectó froí thå bus®  Thå disconnecô procesó includeó thå transmissioî o栍
  8912. á SAVÅ DATÁ POINTEÒ messagå anä DISCONNECÔ messagå froí thå targeô tï thå hosô 
  8913. adapter®  Thå hosô adapteò respondó tï thå SAVÅ DATÁ POINTEÒ messagå bù savin砍
  8914. thå currenô datá pointer¬ whicè ió stilì seô tï thå starô oæ thå datá block®  
  8915. Afteò transmissioî oæ thå DISCONNECÔ messagå thå targeô wilì releaså BSY¬ 
  8916. freeinç thå bus.
  8917.  
  8918.   Althougè thå initiatoò hosô adapteò anä targeô disë controlleò ar堍
  8919. disconnected¬ theù arå logicallù connecteä or¬ "threaded"¬ together®  Bot蠍
  8920. deviceó kno÷ theù havå á commanä tï finisè anä wilì returî tï thaô joâ aô á 
  8921. lateò poinô iî time®  Thå principlå oæ logicaì threadó allowó manù I/Ï 
  8922. commandó tï executå iî thå systeí simultaneously¬ utilizinç á singlå physica젍
  8923. bus®  Thå threaä ió actuallù noô betweeî thå hosô adapteò anä thå dis렍
  8924. controller¬ buô runó alì thå waù froí thå hosô memorù I/Ï blocë tï th堍
  8925. peripheraì devicå performinç thå operation® (Seå Figurå C² foò á pictoria젍
  8926. presentatioî oæ thió concept.)
  8927.  
  8928.   Oncå thå targeô haó starteä fillinç itó datá buffers¬ iô caî transmiô dat᠍Štï thå initiator¬ buô firsô iô musô reestablisè thå physicaì path®  Th堍
  8929. reselectioî procesó involveó thå targeô arbitratinç foò thå buó an䠍
  8930. reselectinç thå hosô adapter®  Afteò thå physicaì reconnectioî ió made¬ th堍
  8931. targeô sendó aî IDENTIFÙ messagå tï thå hosô adapteò tï indicatå whicè targeô 
  8932. logicaì uniô ió reconnecting®  Thió informatioî provideó reconnection¬ tï th堍
  8933. correcô threaä intï hosô memory®  Afteò reconnection¬ thå roleó oæ th堍
  8934. initiatoò anä targeô arå jusô aó theù werå prioò tï disconnect®  Thå targeô 
  8935. transferó datá intï hosô memorù viá thå hosô adapter®  Thå datá transfeò 
  8936. continueó untiì thå disë reacheó thå enä oæ itó cylindeò anä thå dis렍
  8937. controlleò determineó thaô á seconä physicaì seeë ió requireä tï completå th堍
  8938. REAÄ command®  Thå targeô agaiî performó á SAVÅ DATÁ POINTEÒ messagå anä á 
  8939. DISCONNECÔ message®  However¬ thió timå thå currenô datá pointeò ió noô aô th堍
  8940. beginninç oæ thå memorù datá block®  Thå saveä valuå aô disconnecô reflectó 
  8941. thå change.
  8942.  
  8943.   Afteò seeë completioî anä transfeò oæ datá intï itó buffer¬ thå controlleò 
  8944. reconnectó tï thå hosô adapteò anä completeó thå datá transfeò aó requesteä bù 
  8945. thå REAÄ command®  Aô thió point¬ thå controlleò sendó endinç statuó intï hosô 
  8946. memorù viá thå hosô adapter®  Thå finaì actioî oæ thå targeô ió tï senä tï th堍
  8947. hosô adapteò á COMMANÄ COMPLETÅ messagå anä disconnecô froí thå SCSÉ bus®  Th堍
  8948. targeô haó completeä itó operatioî anä consideró thå logicaì threaä broken.
  8949.  
  8950.   Upoî receipô oæ thå COMMANÄ COMPLETÅ message¬ thå hosô adapteò signaló th堍
  8951. hosô thaô thå I/Ï commanä ió complete®  Thió signaì caî bå aî interrupô oò th堍
  8952. settinç oæ á flaç reaä bù thå hosô iî á polleä I/Ï environment®  Thió actio
  8953. bù thå hosô adapteò breakó thå threaä betweeî thå hosô adapteò anä thå I/Ï 
  8954. memorù blockó oæ thå host®  Thå hosô reviewó thå statuó oæ thå operatioî i
  8955. thå statuó blocë anä proceedó tï utilizå thå datá transferreä intï thå dat᠍
  8956. block.
  8957.  
  8958. C3. I/O Channel Concept
  8959.  
  8960. Thå I/Ï channeì concepô fullù utilizeó thå higè performancå capabilitù o栍
  8961. SCSI®  Thå I/Ï channeì ió basicallù aî intelligenô SCSÉ hosô adapteò thaô ca
  8962. maintaiî multiplå simultaneouó threadó betweeî hosô memorù I/Ï blockó an䠍
  8963. differenô SCSÉ devices® 
  8964.  
  8965.   Thå I/Ï channeì utilizeó á singlå direcô memorù accesó (DMA© patè intï hosô 
  8966. memorù supportinç thå DMÁ operationó oæ numerouó SCSÉ peripherals®  Sincå th堍
  8967. SCSÉ buó ió á singlå physicaì buó anä mosô hosô computeró havå á singl堍
  8968. physicaì backplanå bus¬ multiplå DMÁ channeló intï memorù arå noô necessary®  
  8969. Iî manù implementationó oæ á multiplå DMÁ channeì architecture¬ wheî á channe젍
  8970. ió accessinç memory¬ alì otheò channeló arå idle®  Iî sucè implementations¬ á 
  8971. singlå channeì supportinç multiplå threadó caî supplù thå samå performancå aó 
  8972. separatå DMÁ peripherals®  Aî obviouó advantagå tï thå hosô ió loweò systeí 
  8973. cosô aó welì aó thå savinç iî backplanå carä slots.
  8974.  
  8975.   Iî thå REAÄ commanä examplå discusseä iî Sectioî C2¬ thå I/Ï channeì ió th堍
  8976. SCSÉ hosô adapter®  Thå hosô giveó thå I/Ï channeì á commanä bù providinç iô 
  8977. witè pointeró tï thå I/Ï memorù blockó anä thå SCSÉ peripheraì address®  Thió 
  8978. establisheó á threaä betweeî thå hosô adapteò anä thå hosô I/Ï memorù blocks®  
  8979. Thå I/Ï channeì theî openó á subchanneì thaô ió assigneä thå tasë oæ managin砍
  8980. thå physicaì linë anä logicaì threaä betweeî thå hosô adapteò anä thå targeô 
  8981. controller®  Alì physicaì connectionó anä reconnectionó tï thå hosô adapteò 
  8982. arå manageä bù thió subchannel®  Thå numbeò oæ activå oò opeî subchanneló a
  8983. I/Ï channeì caî supporô ió totallù dependenô upoî itó design®  Thå SCSÉ Šdefinitioî could¬ iî theory¬ supporô aî I/Ï channeì witè uð tï 5¶ subchanneló 
  8984. (14,33¶ subchannels¬ iæ thå EXTENDEÄ IDENTIFÙ messagå ió implemented).
  8985.  
  8986.  
  8987.  
  8988.  
  8989.  
  8990.  
  8991.  
  8992.  
  8993.  
  8994.  
  8995.  
  8996.  
  8997.  
  8998.  
  8999.  
  9000.  
  9001.  
  9002.  
  9003.  
  9004.  
  9005.  
  9006.  
  9007.  
  9008.  
  9009.  
  9010.  
  9011.  
  9012.  
  9013.  
  9014.  
  9015.  
  9016.  
  9017.  
  9018.  
  9019.  
  9020.  
  9021.  
  9022.  
  9023.  
  9024.  
  9025.  
  9026.  
  9027.  
  9028.  
  9029.  
  9030.  
  9031.  
  9032.  
  9033.  
  9034.  
  9035.  
  9036.  
  9037.  
  9038.                 Figure C1. Snapshot Prior to Initial SelectionŠ
  9039.  
  9040.  
  9041.  
  9042.  
  9043.  
  9044.  
  9045.  
  9046.  
  9047.  
  9048.  
  9049.  
  9050.  
  9051.  
  9052.  
  9053.  
  9054.  
  9055.  
  9056.  
  9057.  
  9058.  
  9059.  
  9060.  
  9061.  
  9062.  
  9063.  
  9064.  
  9065.  
  9066.  
  9067.  
  9068.  
  9069.  
  9070.  
  9071.  
  9072.  
  9073.  
  9074.  
  9075.  
  9076.  
  9077.  
  9078.  
  9079.  
  9080.  
  9081.  
  9082.  
  9083.  
  9084.  
  9085.  
  9086.  
  9087.  
  9088.  
  9089.  
  9090.  
  9091.  
  9092.  
  9093.                   Figure C2. Snapshot Prior to Data TransferŠ.. To set ruler line, position cursor on the next line and type ^OF--!--!--!--!--!--!--!--!--!--!--!--!-----------------------------------------!
  9094. .pn 184
  9095. .fo Appendix D                           #
  9096. Appendix D  
  9097.  
  9098. Recommended Shielded Connectors
  9099.  
  9100.  
  9101. Threå alternativå shieldeä connectoò systemó arå defineä bù thió appendix®  
  9102. Foò eacè alternative¬ thå connectoò shieldinç systeí shalì providå á d㠍
  9103. resistancå oæ lesó thaî 10milliohmó froí thå cablå shielä aô itó terminatio
  9104. poinô tï thå SCSÉ devicå enclosure.
  9105.  
  9106.   Iî ordeò tï supporô daisy-chaiî connections¬ SCSÉ deviceó thaô uså shielde䠍
  9107. connectoró shoulä providå twï shieldeä devicå connectoró oî thå devic堍
  9108. enclosure®  Theså twï connectoró maù bå wireä "one-to-one¢ witè á stuâ tï th堍
  9109. SCSÉ device'ó driveró anä receiveró provideä thå maximuí stuâ lengtè ió noô 
  9110. violated®  Alternatively¬ twï cableó maù bå ruî froí thå twï shielde䠍
  9111. connectoró tï thå driveró anä receiveró sï thaô thå maximuí stuâ lengtè ió noô 
  9112. violated®  Thå lengtè oæ thå cablå withiî thå devicå enclosurå ió include䠍
  9113. wheî calculatinç thå totaì cablå lengtè oæ thå SCSÉ bus.
  9114.  
  9115.   D± Shieldeä Connector¬ Alternativå 1.‚  Thå shieldeä cablå connectoò 
  9116. (Figurå D1© shalì bå á 50-conductoò connectoò consistinç oæ twï rowó oæ 2µ 
  9117. femalå contactó witè adjacenô contactó 2.5´ mí (0.± in© apart®  Thå nonmatin砍
  9118. portioî oæ thå connectoò ió showî foò referencå only.
  9119.  
  9120.   Thå shieldeä SCSÉ devicå connectoò (Figurå D2© shalì bå á 50-conductoò 
  9121. connectoò consistinç oæ twï rowó oæ 2µ malå pinó witè adjacenô pinó 2.5´ mí 
  9122. (0.± in© apart®  Thå nonmatinç portioî oæ thå connectoò ió showî foò referenc堍
  9123. only.
  9124.  
  9125.   Thå connectoò piî assignmentó shalì bå aó showî iî Tablå 4-± foò single-
  9126. endeä driveró anä aó showî iî Tablå 4-² foò differentiaì drivers.
  9127.  
  9128.   D² Shieldeä Connector¬ Alternativå 2.‚  Thå shieldeä devicå connectoò 
  9129. (Figurå D3© shalì bå á 50-conductoò connectoò consistinç oæ twï rowó oæ ribbo
  9130. contactó spaceä 2.1¶ mí (0.08µ in© apart®  Thå nonmatinç portioî oæ th堍
  9131. connectoò ió showî foò referencå only®  FCàdocumenô Parô 6¸ Subparô Æ 68.50° 
  9132. shoulä bå useä foò reference.
  9133.  
  9134.   Thå shieldeä cablå connectoò (Figurå D4© shalì bå á 50-conductoò connectoò 
  9135. consistinç oæ twï rowó oæ ribboî contactó spaceä 2.1¶ mí (0.08µ in© apart® Th堍
  9136. nonmatinç portioî oæ thå connectoò ió showî foò referencå only.
  9137.  
  9138.   Thå connectoò piî assignmentó shalì bå aó showî iî Tablå D± foò single-ende䠍
  9139. driveró anä aó showî iî Tablå D² foò differentiaì drivers.
  9140.  
  9141.   D³ EUROCARÄ Boxes‚  Foò boardó iî EUROCARÄ boxeó (IEà29· oò DIΠ41494© th堍
  9142. EMI-screeî maù bå iî thå fronô oæ thå boardó anä iî thió caså á screeneä cabl堍
  9143. anä connectoò maù bå attacheä througè thå fronô paneì tï thå boarä connectoò 
  9144. specifieä iî sectioî 4.3®  Iô ió therebù possiblå tï uså thå flaô ribboî cabl堍
  9145. specifieä iî thió standarä oò thå shieldeä cable¬ aó requireä bù users.
  9146. .paŠ
  9147.  
  9148.  
  9149.  
  9150.  
  9151.  
  9152.  
  9153.  
  9154.  
  9155.  
  9156.  
  9157.  
  9158.  
  9159.  
  9160.  
  9161.  
  9162.  
  9163.  
  9164.  
  9165.  
  9166.  
  9167.  
  9168.  
  9169.  
  9170.  
  9171.  
  9172.  
  9173.  
  9174.  
  9175.  
  9176.  
  9177.  
  9178.  
  9179.  
  9180.  
  9181.  
  9182.  
  9183.  
  9184.  
  9185.  
  9186.  
  9187.  
  9188.  
  9189.  
  9190.  
  9191.  
  9192.  
  9193.  
  9194.  
  9195.  
  9196.  
  9197.  
  9198.  
  9199.        Figure D1a. Female Shielded SCSI Cable Connector, Alternative 1
  9200. .paŠ==============================================================================
  9201. Dimensions    Millimeters              Inches              
  9202. ------------------------------------------------------------------------------
  9203.    A1         60.96 + 0.15             2.400 + 0.006       
  9204.    A2         66.29 + 0.18             2.610 + 0.007
  9205.    A3          2.54 + 0.15             0.100 + 0.006
  9206.    A4          2.54 + 0.15             0.100 + 0.006
  9207.    A5          8.56 + 0.41             0.337 + 0.016       
  9208.    A6         11.93 Minimum            0.470 Minimum       
  9209.    A7         65.02 + 0.18             2.560 + 0.007
  9210.    A8          5.46                    0.215               
  9211.    A9          4.14 + 0.25             0.163 + 0.010       
  9212.    A10        60.20 Maximum            2.370 Maximum       
  9213.    A11         6.60                    0.260               
  9214.    A12         1.27 Maximum            0.050 Maximum       
  9215.    A13         0.64 Maximum            0.025 Maximum       
  9216.    A14         6.604 + 0.25, - 0.13    0.260 + 0.010, - 0.005
  9217.    A15        13.46                    0.530
  9218.    A16        12.45 + 0.38             0.490 + 0.015
  9219. ==============================================================================
  9220. NOTES:
  9221.   (1© Fiftù Contactó oî 2.54-mí (0.100-inch© spacinç ½ 60.9¶ mí (2.4° inch).
  9222.   (2© Toleranceó +_ 0.12· mí (0.00µ inch© noncumulative¬ unlesó specifie䠍
  9223.   otherwise.
  9224.  
  9225.  
  9226.        Figure D1b. Female Shielded SCSI Cable Connector, Alternative 1
  9227. .paŠ
  9228.  
  9229.  
  9230.  
  9231.  
  9232.  
  9233.  
  9234.  
  9235.  
  9236.  
  9237.  
  9238.  
  9239.  
  9240.  
  9241.  
  9242.  
  9243.  
  9244.  
  9245.  
  9246.  
  9247.  
  9248.  
  9249.  
  9250.  
  9251.  
  9252.  
  9253.  
  9254.  
  9255.  
  9256.  
  9257.  
  9258.  
  9259.  
  9260.  
  9261.  
  9262.  
  9263.  
  9264.  
  9265.  
  9266.  
  9267.  
  9268.  
  9269.  
  9270.  
  9271.  
  9272.  
  9273.  
  9274.  
  9275.  
  9276.  
  9277.  
  9278.  
  9279.  
  9280.         Figure D2a. Male Shielded SCSI Device Connector, Alternative 1
  9281. .paŠ==============================================================================
  9282. Dimensions    Millimeters           Inches               
  9283. ------------------------------------------------------------------------------
  9284.    B1         66.65 + 0.15          2.624 + 0.006        
  9285.    B2         65.28                 2.570                
  9286.    B3          0.69                 0.027                
  9287.    B4          5.77 + 0.81          0.227 + 0.032
  9288.    B5          9.14                 0.360                
  9289.    B6          3.30                 0.130                
  9290.    B7          2.54                 0.100                
  9291.    B8          2.54                 0.100                
  9292.    B9*         2.84                 0.112                
  9293.    B10         0.15                 0.006
  9294.    B11         0.38                 0.015                
  9295.    B12         8.15 + 0.76, - 0.48  0.321 + 0.030, - 0.019
  9296.    B13         0.64 + 0.02          0.025 + 0.001        
  9297.    B14*        0.64 Square          0.025 Square
  9298.    B15        78.84                 3.104
  9299.    B16*        5.77                 0.227
  9300.    B17*        2.92                 0.115
  9301.    B18         4.83                 0.190
  9302.    B19*        3.18                 0.125
  9303.    B20*        1.52                 0.060
  9304.    B21        67.31                 2.650
  9305.    B22         9.65                 0.380
  9306. ==============================================================================
  9307. NOTES:
  9308.   (1) Fifty Contacts on 2.54-mm (0.100-inch) spacing = 60.96 mm (2.40 inch).
  9309.   (2© Toleranceó +“ 0.12· mí (0.00µ inch© noncumulative¬ unlesó specifie䠍
  9310.   otherwise.
  9311.   (3) Dimensions listed with asterisks (*) are shown for reference only.
  9312.  
  9313.  
  9314.         Figure D2b. Male Shielded SCSI Device Connector, Alternative 1
  9315. .paŠ
  9316.  
  9317.  
  9318.  
  9319.  
  9320.  
  9321.  
  9322.  
  9323.  
  9324.  
  9325.  
  9326.  
  9327.  
  9328.  
  9329.  
  9330.  
  9331.  
  9332.  
  9333.  
  9334.  
  9335.  
  9336.  
  9337.  
  9338.  
  9339.  
  9340.  
  9341.  
  9342.  
  9343.  
  9344.  
  9345.  
  9346.  
  9347.  
  9348.  
  9349.  
  9350.  
  9351.  
  9352.  
  9353.  
  9354.  
  9355.  
  9356.  
  9357.  
  9358.  
  9359.  
  9360.  
  9361.  
  9362.  
  9363.  
  9364.  
  9365.  
  9366.  
  9367.  
  9368.            Figure D3. Shielded SCSI Device Connector, Alternative 2
  9369. .paŠ
  9370.  
  9371.  
  9372.  
  9373.  
  9374.  
  9375.  
  9376.  
  9377.  
  9378.  
  9379.  
  9380.  
  9381.  
  9382.  
  9383.  
  9384.  
  9385.  
  9386.  
  9387.  
  9388.  
  9389.  
  9390.  
  9391.  
  9392.  
  9393.  
  9394.  
  9395.  
  9396.  
  9397.  
  9398.  
  9399.  
  9400.  
  9401.  
  9402.  
  9403.  
  9404.  
  9405.  
  9406.  
  9407.  
  9408.  
  9409.  
  9410.  
  9411.  
  9412.  
  9413.  
  9414.  
  9415.  
  9416.  
  9417.  
  9418.  
  9419.  
  9420.  
  9421.  
  9422.            Figure D4. Shielded SCSI Cable Connector, Alternative 2
  9423. .paŠ                                   Table D1
  9424.                          Single-Ended Pin Assignments
  9425.                      (Shielded Connector, Alternative 2)
  9426.  
  9427. ==============================================================================
  9428.                             Signal      Pin Number
  9429. ------------------------------------------------------------------------------
  9430.                             -DB(0)          26
  9431.                             -DB(1)          27
  9432.                             -DB(2)          28
  9433.                             -DB(3)          29
  9434.                             -DB(4)          30
  9435.                             -DB(5)          31
  9436.                             -DB(6)          32
  9437.                             -DB(7)          33
  9438.                             -DB(P)          34
  9439.                             GROUND          35
  9440.                             GROUND          36
  9441.                             GROUND          37
  9442.                             TERMPWR         38
  9443.                             GROUND          39
  9444.                             GROUND          40
  9445.                             -ATN            41
  9446.                             GROUND          42
  9447.                             -BSY            43
  9448.                             -ACK            44
  9449.                             -RST            45
  9450.                             -MSG            46
  9451.                             -SEL            47
  9452.                             -C/D            48
  9453.                             -REQ            49
  9454.                             -I/O            50
  9455. ==============================================================================
  9456. NOTES:
  9457.   (1© Pinó 1_1² anä 14_”25 shalì bå connecteä tï ground®  Piî 1³ shoulä bå lefô 
  9458. open®  Somå productó designeä prioò tï thå generatioî oæ thió standar䠍
  9459. connecteä thió piî tï ground.
  9460.   (2© Thå minuó sigî nexô tï thå signaló indicateó activå low.
  9461. .paŠ                                   Table D2
  9462.                          Differential Pin Assignments
  9463.                      (Shielded Connector, Alternative 2)
  9464.  
  9465. ==============================================================================
  9466.               Signal Name        Pin Number         Signal Name
  9467. ------------------------------------------------------------------------------
  9468.               SHIELD GROUND      1        26        GROUND 
  9469.               +DB(0)             2        27        -DB(0) 
  9470.               +DB(1)             3        28        -DB(1) 
  9471.               +DB(2)             4        29        -DB(2) 
  9472.               +DB(3©             5        30        -DB(3) 
  9473.               +DB(4)             6        31        -DB(4) 
  9474.               +DB(5)             7        32        -DB(5) 
  9475.               +DB(6)             8        33        -DB(6) 
  9476.               +DB(7)             9        34        -DB(7) 
  9477.               +DB(P)            10        35        -DB(P) 
  9478.               DIFFSENS          11        36        GROUND 
  9479.               GROUND            12        37        GROUND 
  9480.               TERMPWR           13        38        TERMPWR
  9481.               GROUND            14        39        GROUND 
  9482.               +ATN              15        40        -ATN 
  9483.               GROUND            16        41        GROUND 
  9484.               +BSY              17        42        -BSY 
  9485.               +ACK              18        43        -ACK 
  9486.               +RST              19        44        -RST 
  9487.               +MSG              20        45        -MSG 
  9488.               +SEL              21        46        -SEL 
  9489.               +C/D              22        47        -C/D 
  9490.               +REQ              23        48        -REQ 
  9491.               +I/O              24        49        -I/O 
  9492.               GROUND            25        50        GROUND 
  9493. ==============================================================================
  9494. NOTE:
  9495.   (1© SHIELÄ GROUNÄ ió optionaì oî somå cables®  (Implementoró noteº  Som堍
  9496. shielded flat ribbon cables use pin 1 as a connection to the shield.)
  9497. .paŠ.. To set ruler line, position cursor on the next line and type ^OF--!--!--!--!--!--!--!--!--!--!--!--!-----------------------------------------!
  9498. .fo Appendix E                           #
  9499. Appendix E
  9500.  
  9501. Conformance
  9502.  
  9503. Thió appendiø containó recommendationó oî conformancå statementó tï thió 
  9504. standard.
  9505.  
  9506. E1.  Alternatives
  9507.  
  9508. Thió standarä containó variouó alternativeó thaô arå mutuallù exclusivå withi
  9509. a system.
  9510.  
  9511.   (1)  Single-ended or differential drivers.
  9512.   (2)  Termination power supplied by the cable or not.
  9513.   (3)  Parity implemented or not.
  9514.   (4)  "Hard" RESET or "soft" RESET.
  9515.   (5)  Reservation queuing implemented or not.
  9516.  
  9517. E2.  Levels of Conformance
  9518.  
  9519.   Bù specifyinç whicè alternativeó (listeä above© arå implemented¬ a
  9520. environmenô ió createä enablinç differenô featureó tï bå implemented®  Thes堍
  9521. featureó arå divideä intï threå nesteä minimuí leveló aó showî iî Tablå E1.
  9522.  
  9523.                                    Table E1
  9524.                             Levels of Conformance
  9525.  
  9526. ==============================================================================
  9527. Level        Initiator                           Target
  9528. ------------------------------------------------------------------------------
  9529.   0     Accept COMMAND COMPLETE        Implement the mandatory commands   
  9530.         message.                       of section 7.                      
  9531.                                                                           
  9532.         Accept GOOD and CHECK          Implement the mandatory commands   
  9533.         CONDITION status codes.        of the supported device type(s).   
  9534.                                                                           
  9535.                                        Implement the COMMAND COMPLETE     
  9536.                                        message.                           
  9537.                                                                           
  9538.                                        If messages other than COMMAND     
  9539.                                        COMPLETE are implemented, then     
  9540.                                        implement MESSAGE REJECT message   
  9541.                                        also.                              
  9542.                                                                           
  9543.                                        Implement GOOD and CHECK CONDITION 
  9544.                                        statuses.                          
  9545. ------------------------------------------------------------------------------
  9546.   1     Same as above plus             Same as above.
  9547.         ARBITRATION phase.
  9548. ------------------------------------------------------------------------------
  9549.   2     Same as above plus             Same as above plus implement the
  9550.         accept DISCONNECT,             MESSAGE REJECT and IDENTIFY messages
  9551.         MESSAGE REJECT,                and implement all extended commands
  9552.         IDENTIFY, and SAVE             in section 7 and for the supported
  9553.         DATA POINTER messages          device type(s).
  9554. ==============================================================================ŠE3.  Options
  9555.  
  9556. E3.±  Optionaì Commands.‚  Thió standarä specifieó á numbeò oæ additiona젍
  9557. commandó thaô caî bå implementeä iî eacè level®  Somå oæ theså commands¬ i栍
  9558. implemented¬ requirå thå implementatioî oæ otheò optionaì commands¬ messages¬ 
  9559. oò both®  Iî thió case¬ theså additionaì commands¬ messages¬ oò botè shal젍
  9560. alsï bå implemented.
  9561.  
  9562. E3.²  Optionaì Messages.‚  Thió standarä specifieó á numbeò oæ additiona젍
  9563. optionaì messageó thaô maù bå implementeä aô anù level.
  9564.  
  9565. E3.³  Otheò options.‚  Withiî somå commands¬ additionaì featureó, calle䠍
  9566. "options"¬ arå described®  Theså optionó neeä noô necessarilù bå implemented.
  9567.  
  9568. E4.  Statement of Conformance
  9569.  
  9570. Anù statemenô oæ conformancå tï thió standarä shoulä declarå whicè oæ th堍
  9571. alternateó listeä iî sectioî E± anä whicè oæ thå threå conformancå leveló ar堍
  9572. implemented®  Iî addition¬ iô shoulä indicatå whicè oæ thå optionó listeä i
  9573. sectioî E³ arå implemented¬ iæ any®  Iî thå caså oæ optionaì messages¬ th堍
  9574. conformancå statemenô shoulä statå whetheò thå messagå ió generated¬ accepted¬ 
  9575. or both.
  9576.  
  9577.   Iæ thå synchronouó datá transfeò optioî ió implemented¬ anù statemenô o栍
  9578. conformancå shoulä sï indicatå anä statå botè thå maximuí REQ/ACË offseô an䠍
  9579. the minimum transfer period implemented.
  9580. .paŠ.. To set ruler line, position cursor on the next line and type ^OF--!--!--!--!--!--!--!--!--!--!--!--!-----------------------------------------!
  9581. .pn 195
  9582. .fo Appendix F                           #
  9583. Appendix F
  9584.  
  9585. Additional Medium Type and Density Code Standards
  9586.  
  9587. Iî sectionó ¸ anä ¹ oæ thió standard¬ thå MODÅ SELECÔ anä MODÅ SENSÅ commandó 
  9588. definå mediuí typå codeó anä densitù codeó foò certaiî flexiblå diskó an䠍
  9589. magnetiã tapes®  ANSÉ standardó oò X³ drafô documentó arå referenceä foò cod堍
  9590. valueó iæ á standarä oò drafô documenô existó foò thaô codå value®  Iî manù 
  9591. cases¬ otheò standardó alsï exisô foò á codå value®  Tableó F± anä F² iî thió 
  9592. appendiø provide referenceó tï thoså standardó foò theså codå values.
  9593.  
  9594. DISCLAIMERº  Iô ió noô thå purposå oæ thió appendiø tï indicatå thaô thes堍
  9595. standardó arå exactlù equivalenô tï eacè other®  However¬ theså standardó maù 
  9596. bå applicable®  Pleaså refeò tï sectionó ¸ anä ¹ foò additionaì informatio
  9597. concerning the medium type or density code.
  9598.  
  9599.  
  9600.                                  Table F1
  9601.                        Direct-access Medium Type Codes
  9602.  
  9603. ==============================================================================
  9604. Code Value                       Medium Type
  9605. ----------  ------------------------------------------------------------------
  9606.  00H-02H    See section 8.
  9607.                    
  9608.             Flexible Disk Reference Standard(s)
  9609.             ------------------------------------------------------------------
  9610.    05H      X3.73-1980,  ECMA-54,  ISO 5654/1-1984, ISO 5654/2-1982
  9611.    06H      X3B8-140,    ECMA-59
  9612.    09H      X3B8/78-139
  9613.    0AH      X3.121-1984, ECMA-69,  ISO 7065/1-1985, ISO 7065/2-1985
  9614.    0DH      X3.82-1980,  ECMA-66,  ISO 6596/1-1985, ISO 6596/2-1985
  9615.    12H      X3.125-1984, ECMA-70,  ISO 7487/1-1985, ISO 7487/2-1985,
  9616.                                    ISO 7487/3-1985
  9617.    16H      X3.126-198X, ECMA-78,  DIS 8378/1,      DIS 8378/2,     DIS 8378/3
  9618.    1AH      X3B8/85-199, ECMA-99,  DIS 8630/1,      DIS 8630/2
  9619.    1EH      X3.137-198X, ECMA-100, DIS 8860/1,      DIS 8860/2
  9620.  
  9621.             Direct-access Magnetic Tape Standard(s)
  9622.             ------------------------------------------------------------------
  9623.    40H      X3B5/85-138 (Note 1),  ECMA TC19/83/39
  9624.    44H      X3B5/85-138 (Note 1),  ECMA TC19/83/39
  9625.  
  9626. 80H _ FFH   Vendor unique
  9627. All others  Reserved
  9628. ==============================================================================
  9629. NOTE:
  9630.   (1©  Thå referenceä standarä ió foò unrecordeä miniaturå cartridgå media®  
  9631. Thå usagå referreä tï herå ió foò seriaì GCÒ recordinç usinç á formaô knowî aó 
  9632. QIC-100®  Sincå X3Bµ issueó á ne÷ documenô numbeò foò eacè revisioî oæ theiò 
  9633. workinç drafô document¬ pleaså contacô thå Chairmaî oæ X3Bµ foò thå latesô 
  9634. documenô number.
  9635. .paŠ                                 Table F2
  9636.                        Sequential-access Density Codes
  9637.  
  9638. ==============================================================================
  9639. Code Value                             Density
  9640. ----------  ------------------------------------------------------------------
  9641.    00H      See section 9.
  9642.  
  9643.             Magnetic Tape Reference Standard(s)
  9644.             ------------------------------------------------------------------
  9645.    01H      X3.22-1983,                 ECMA-62
  9646.    02H      X3.39-1973                  ECMA-62
  9647.    03H      X3.54-1976,                 ECMA-62
  9648.    04H      Old format known as QIC-11
  9649.    05H      X3.136-198X,                ECMA-98
  9650.    06H      X3B5/85-98 (Note 1)
  9651.    07H      X3.116-198X,                ECMA-79
  9652.    08H      X3B5/85-77 (Note 1)
  9653.    09H      X3B5/85-76 (Note 1)
  9654.    0AH
  9655.    0BH      X3.55, X3.56-198X,          ECMA-46, ISO 4057-1979
  9656.  
  9657. 80H _ FFH   Vendor unique
  9658. All others  Reserved
  9659. ==============================================================================
  9660. NOTES:
  9661.   (1©  Workinç Draft®  X3Bµ assignó á ne÷ documenô numbeò tï eacè revisioî o栍
  9662. theiò documents®  Pleaså contacô thå Chairmaî oæ X3Bµ foò thå latesô documenô 
  9663. number.
  9664. .paŠ.. To set ruler line, position cursor on the next line and type ^OF--!--!--!--!--!--!--!--!--!--!--!--!-----------------------------------------!
  9665. .fo Appendix G                           #
  9666. Appendix G
  9667.  
  9668. Future Standardization
  9669.  
  9670. Thió appendiø ió includeä tï providå insighô intï somå possiblå futur堍
  9671. extensionó tï SCSÉ thaô arå beinç considereä bù X3T9.2®  Althougè X3T9.² haó 
  9672. addresseä somå oæ theså extensions¬ manù detailó remaiî tï bå resolved®  
  9673. Furtheò worë bù X3T9.² maù resulô iî changeó oò additionó tï theså extensions.  
  9674. Pleaså contacô thå Chairmaî oæ X3T9.² foò thå currenô statuó oæ thió activity.
  9675.  
  9676.   Siø ne÷ commandó arå beinç considered¬ threå foò targetó thaô supporô 
  9677. caching¬ onå tï providå á meanó tï reaä thå mediuí defecô data¬ anä twï t
  9678. providå á standardizeä methoä foò writinç anä readinç thå target'ó datá buffeò 
  9679. (principallù intendeä tï supporô start-of-daù testó thaô insurå datá pat蠍
  9680. integrity)®  Thå tentativå operatioî codeó arå aó follows:
  9681.  
  9682. ==============================================================================
  9683. Operation
  9684.   Code      Type   Command Name             Device Types
  9685. ------------------------------------------------------------------------------
  9686.    34H       O     PRE-FETCH                \  Direct Access, Write-Once
  9687.    35H       O     FLUSH CACHE               > Read-Multiple, and
  9688.    36H       O     LOCK/UNLOCK CACHE        /  Read-Only Direct Access
  9689.    37H       O     READ DEFECT DATA         Direct Access
  9690.    3BH       O     WRITE BUFFER             All
  9691.    3CH       O     READ BUFFER              All
  9692. ------------------------------------------------------------------------------
  9693.  
  9694.  
  9695.   Ne÷ parameteró arå beinç considereä iî severaì oæ thå existinç commands:
  9696.  
  9697.   (1© Cachå controì bitó arå beinç considereä foò bitó ³ anä ´ oæ bytå ± i
  9698. severaì grouð ± commands¬ includinç READ¬ WRITE¬ WRITÅ ANÄ VERIFY¬ anä VERIFY.
  9699.  
  9700.   (2© Bytå ± oæ thå Defecô Lisô iî thå FORMAÔ UNIÔ commanä maù bå useä t
  9701. providå additionaì defecô managemenô control.
  9702.  
  9703.   (3© Bitó ° _” ³ oæ bytå ³ oæ thå Inquirù Datá iî thå INQUIRÙ commanä maù b堍
  9704. useä tï identifù thaô thå devicå supportó certaiî additionó tï thå standard®  
  9705. Onå sucè additioî thaô ió beinç considereä ió optionaì fieldó withiî th堍
  9706. Inquiry Data to identify the manufacturer and the product model information.
  9707.  
  9708.   (4© Extensionó tï thå MODÅ SELECÔ anä MODÅ SENSÅ commandó arå bein砍
  9709. considereä tï providå á standarä meanó tï controì certaiî targeô parameters®  
  9710. Bitó ° _” µ oæ bytå ² oæ thå MODÅ SENSÅ commanä arå beinç considereä foò uså i
  9711. controllinç whicè targeô parameteró arå returneä bù thió command.
  9712. .paŠ