The SCSI Bus and IDE Interface Protocols Applications and Programming Second Edition Schmidt instant download
The SCSI Bus and IDE Interface Protocols Applications and Programming Second Edition Schmidt instant download
https://ebookname.com/product/the-scsi-bus-and-ide-interface-
protocols-applications-and-programming-second-edition-schmidt/
https://ebookname.com/product/programming-wcf-services-mastering-
wcf-and-the-azure-appfabric-service-bus-third-edition-juval-lowy/
https://ebookname.com/product/rna-rna-interactions-methods-and-
protocols-1st-edition-frank-j-schmidt-eds/
https://ebookname.com/product/preparative-chromatography-second-
edition-h-schmidt-traub/
https://ebookname.com/product/principles-of-direct-database-and-
digital-marketing-5th-edition-alan-tapp/
World English 2 1st Edition Kristin L. Johannsen
https://ebookname.com/product/world-english-2-1st-edition-
kristin-l-johannsen/
https://ebookname.com/product/housetraining-your-happy-healthy-
pet-2nd-edition-september-morn/
https://ebookname.com/product/the-mindful-way-through-anxiety-
break-free-from-chronic-worry-and-reclaim-your-life-1st-edition-
susan-m-orsillo/
https://ebookname.com/product/nahuatl-as-written-lessons-in-
older-written-nahuatl-with-copious-examples-and-texts-1st-
edition-james-lockhart/
https://ebookname.com/product/handbook-of-environmental-impact-
assessment-1st-edition-alberto-fonseca/
Facts and Mysteries in Elementary Particle Physics 1st
Edition Martinus Veltman
https://ebookname.com/product/facts-and-mysteries-in-elementary-
particle-physics-1st-edition-martinus-veltman/
The SCSI Bus
and
IDE Interface
The SCSI Bus
and
IDE Interface
Protocols, applications
and programming
Secon d edition
� Addison-Wesley
Translated from the German edition SCSI-Bus und IDE-Schnittstel/e published by Addison-Wesley
(Deutschland) GmbH.
The right of Friedheim Schmidt to be identified as author of this Work has been asserted by him in
accordance with the Copyright, Designs and Patents Act 1 988.
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or
transmitted i n any form or by any means, electronic, mechanical, photocopying, recording or
otherwise, without either the prior written permission of the publisher or a licence permitting restricted
copying in the United Kingdom issued by the Copyright Licensing Agency Ltd, 90 Tottenham Court
Road, London W l P 9HE.
The programs i n this book have been incl uded for their instructional value. They have been tested with
care but are not guaranteed for any particular purpose. The publisher does not offer any warranties or
representations nor does it accept any liabilities with respect to the programs.
Many of the designations used by manufacturers and sellers to distinguish their products are claimed as
trademarks. Addison-Wesley has made every attempt to supply trademark information about
manufacturers and their products mentioned in this book.
The SCSI bus and IDE interface are without question the two most important inter
faces for computer peripherals in use today. The IDE hard disk interface is found
almost exclusively in the world of IBM PC compatibles. The SCSI bus, on the other
hand, is designed not only for hard drives but also for tape drives, CD-ROM, scan
ners, and printers . Almost all modern computers, from PCs to workstations to
mainframes, are equipped with a SCSI interface.
B oth SCSI and IDE are ANSI standards. However, aside from the actual ANSI
documentation, there exists almost no additional reference material to either specifi
cation. The purpose of this book is to fill that void with a clear, concise description
of both interfaces. The essential terminology is introduced, while the commands and
protocols are broken down in full. In the interest of economy the less important
details and options have been omitted in certain cases. Often a specific section in the
ANSI documentation will be cited for easy cross-referencing. After reading this
book you should be in the position to easily understand relevant technical docu
mentation, including the ANSI specifications themselves.
First and foremost, a thorough introduction to the terminology is in order.
Especially with respect to SCSI, there is a deluge of terms and definitions that are
used nowhere else or are used differently than in other computer domains. These
keywords, which include signal names and interface commands, are typeset in small
capital letters, for example FORM AT UN IT.
This book is intended for readers with a broad range of technical backgrounds and
interests. Those working on the design of mass storage devices, for example, will find
the protocol descriptions extremely useful. Readers writing software or device drivers
may have other interests. They will find the hardware descriptions, such as that of the
physical organization of a disk drive, very helpful.
This book is not meant to replace the ANSI documentation . On the other hand,
those specifications are not meant to explain the technology, rather to define it. It is
very difficult to find your way around in the original documentation without an
understanding of the subject matter. The book's thorough, in-depth descriptions,
along with index and glossary, make it the perfect tutor for IDE and SCSI, as well
as a helpful guide to the ANSI literature.
Friedheim Schmidt
February 1993
v
Preface to the secon d edition
More than four years have passed since the first edition of this book, but neverthe
less the book is still of immediate interest. In the fast-paced computer industry, this
is not a matter of course. But even the SCSI bus and the IDE interface go on devel
oping. The current version in the IDE domain is ATA-2, and work on ATA-3 is in
progress.
The SCSI-3 standard too is slowly becoming more stable; some parts of it are
already implemented in series products. Two examples are the new wide SCSI bus
with 1 6-bit transfers on only one cable and the possibility of having 16 devices on
one bus, and the Ultra SCSI bus (Fast-20) with its transmission speed doubled up to
20 mega transfers per second.
The really important change in SCSI-3 is the division of the standard into inter
face, protocol, device model and command set. This allows the use of SCSI device
models and their command sets with different physical interfaces. In particular the
Fibre Channel is currently seen as the physical interface of the future. But even with
Fast-20, the current parallel SCSI interface too has not yet reached its throughput
limit. Developers are already thinking of Fast-40 or even Fast-80.
The contents of this second edition of the book have been slightly rearranged; the
structure of the SCSI part is now oriented at the SCSI-3 standard draft. The SCSI-3
architecture model and an introduction to the new physical interfaces have been
added. Once again, the time has come to part with well-known techniques and learn
something new. Enjoy reading.
Friedheim Schmidt
May 1997
vi
Contents
Preface v
3 Computer buses 24
3.1 Characteristics of buses 25
3.2 Specialized buses 27
6 IDlE protocol 44
6.1 The register model of the I DE controller 44
6.2 Command execution 49
6.3 Power-up or hardware reset 52
vii
viii Contents
8 IDE commands 61
8.1 Mandatory commands 61
8.2 Optional commands 66
Glossary 381
Index 389
Part I
Introduction
Terminal Printer
,-----,
Main
............................J..
Serial Parallel
CPU
memory interface interface
I I I I I I
System bus
I I I
Hard drive Tape drive
controller controller
3
4 Computers and peripherals
In contrast to memory, 110 devices and mass storage are located further from the
CPU, hence the name 'peripherals ' (Figure 1 . 1 ) . Access to such devices is slower
and more complicated. Communication with the peripherals is accomplished using
an interface such as SCSI or IDE. On the other end of the interface is a controller,
which in tum communicates with the CPU and memory.
1 .1 Mass storage
A mass storage device is capable of storing data many times the size of main
memory. In addition, information stored here is nonvolatile: when the device is
turned off the data remains intact.
Hard disks
Disk drives or hard disks store information by writing it onto rotating disks . The
information is divided up into blocks of fixed length, each of which can be accessed
relatively quickly, typically around 30 milliseconds (ms). For this reason hard disks
are also referred to as random access mass storage devices. Among the different
types of mass storage devices are hard disks, exchangeable medium drives,
diskettes, optical disks and CD-ROM.
Tape devices
In contrast to hard disks, tape devices (or tape drives) write data sequentially onto
magnetic tape. The length of time needed to access a specific block of information
depends on which position is presently underneath the read/write head. If it is nec
essary to rewind or fast forward the tape a very long distance, a tape access can take
as long as several minutes. Tape drives are also known as sequential mass storage
devices. Among these are the traditional reel-to-reel drives, cassette drives, drives
that use video cassettes for recording and 4 mm digital audio tape (DAT) drives.
1/0 devices
Under the heading 110 devices are the monitor and keyboard used for communica
tion between the user and the computer. Further examples of output devices are
printers, plotters and even speakers used for outputting speech. Among the many
input devices are mice, analog to digital converters, scanners and microphones used
in speech recognition.
Miscellaneous devices
Network connections also fall into this category. This is especially so today where
mass storage is often replaced by a file server across a network. Computers with no
mass storage of their own are called diskless workstations.
Peripheral interfaces 5
There are many more devices that exchange data with computers, although one
hardly refers to a computer controlled lathe or a music synthesizer as a computer
peripheral. Nevertheless, they function as peripherals and communicate with the
computer using 1/0.
Peripheral devices are connected to computer systems via interfaces. The abstract
model of a peripheral interface is made up of many layers, the boundaries of which
are not always clear, especially for older interfaces. It is also true that some layers
are omitted in certain interface definitions. In this book I adhere to a model with four
layers for the SCSI interface, as was agreed upon by the American National
Standards Institute (ANSI) committee for the first time for SCSI-3 . The strata of
layers are designed bottom up. All low level layers are mandatory for the
implementation of an interface. An uppermost layer, however, can be omitted in
some cases. A high level interface refers to the case where all possible levels have
been implemented.
Among those things defined in the lowest level are cable and connector types.
Also defined are the signal voltages and the current requirements of the drivers.
Finally, the timing and coordination of all of the signals of the bus are described
here. This lowest level is referred to as the physical interface.
Directly above the physical layer resides the protocol layer. The protocol of an
interface contains, for example, information about the difference between data bytes
and command bytes and about the exchange of messages between devices. If
corrupted data is to be corrected through the use of error correction, this is described
in the interface protocol.
On top of the protocol layer lies the peripheral device model. Here the behavior
of devices to be connected to the interface is described. These descriptions can be
very detailed and precise. The SCSI bus is an example of such a detailed model,
where in addition to the characteristics of general purpose SCSI devices, those of
hard disks, tape drives, printers and so on are defined.
Finally, some interfaces go so far as to define which commands must be
understood by the interface devices. The command set builds upon the device model
and represents the fourth layer of the interface.
The term ' interface' always refers to all implemented layers in their entirety.
There are distinct peripheral interfaces defined using the same physical level but a
unique protocol level. It is also possible for a single interface to allow for different
options in the physical level.
The interface used for printers is a good example of a four-layer interface. Figure
1 .2 makes the relationships among the layers clear. The two lower levels are covered
by the Centronics interface. This parallel interface contains the definition of the
physical and protocol layers. The particular printer model in Figure 1 .2 is a page
printer. This means that the printer constructs an entire page in internal memory
before printing it. In contrast to line printers, the lines of a page can be sent in any
6 Computers and peripherals
Protocol
........ Centronics
Physical
interface
order as long as a page boundary is not crossed. However, once a page is printed it
is impossible to retrieve it in order to make changes.
The page description language PostScript is an excellent example of a large and
complex command set. It is built upon the page printer model and makes it possible
to output text as well as various graphic elements. These elements can be positioned
freely on the current page. Naturally, there are other such page formatting languages
written for the page printer model. This makes the division between device model
and command set very intuitive.
As you can see, this interface is complete in that it contains all four interface
layers. If you purchase a printer with such an interface, it makes no difference which
brand name you choose. As long as it is true to the interface specification it will
work with any computer also equipped with the printer interface. However, if you
were to omit even only the uppermost layer of the specification, then the interface
description would be incomplete. It would still be possible to connect up the printer,
but whether it would function properly would be a matter of luck.
The IDE interface and the SCSI bus are likewise complete interface definitions.
Before getting to these, however, I would like to introduce in Chapter 2 a few classic
examples of peripheral interfaces. For the most part their definitions contain only the
lower layers of the interface model. This chapter will help to underscore the
difference between traditional interfaces on the one hand and the complete IDE and
SCSI interfaces on the other.
2 Trad itional peripheral interfaces
This chapter will help to familiarize you with several classic peripheral interfaces of
the computer industry. As with the printer interface outlined in Chapter 1, these will
be described within the framework of the layered interface model. These descrip
tions are by no means comprehensive ; complete specifications would tum this book
into several volumes.
I have two goals in mind in presenting these interfaces. First of all, the interfaces
are very simple; they will allow you to become acquainted with interface character
istics that are valid for all interfaces, including computer buses. Secondly, to a
certain degree these specifications are the forerunners of competition to the IDE and
SCSI bus interfaces. A background in the more traditional interfaces will make it
much easier to evaluate and understand their modern descendants, the main topic of
this book.
RS-232C is the most widely used serial interface. 'Serial ' means that the data is
transferred one bit at a time across a single connection. RS-232C is used mainly for
the connection of computer terminals and printers. Nonetheless, it is also appropri
ate for the exchange of data between computers. Machine tools and measurement
instruments are frequently connected to computers using RS-23 2C. Understandably,
it is not a device specific interface. RS-232C is the responsibility of the Electronic
Industries Association (EIA).
The specification for RS-232C contains the physical layer and h ardware protocol.
In addition, there are software protocols, of which only a few build on top of the
RS-232 hardware protocol. This leads to an uncommon situation with RS-232C and
other serial interfaces- not all applications use all of the signals. Frequently cables
are used that conduct only a few of the defined signals, a situation that would be
unthinkable for IDE or SCSI. I concentrate here on a variation of the interface using
only three signals, which I call mini-RS-232.
7
8 Traditional peripheral interfaces
- 0 0
.
1 0
·r--·· ··· ·r--··
1 0 0 _2__ +15 v
0 v
-15 v
. ······'--·· .. . ... ... '-- .... ···'--·····
Start bit 8 Data bits Stop bit
(always 0) (always 1)
� .... 14 :.:.
13 14 r-; 13
:.
.... ::
:.
.... ::
Signal ground
1 C 2s 25 .:..._: 1
Recelve data Receive data
The connector chosen by the EIA standard is the 25-pin DB25 . Other connectors,
however, are frequently employed, such as the DB9 for the IBM AT or the RJ 1 1 tele
phone connector used in various minicomputers.
On the signal lines, a logical 1 is represented by a voltage between +5 V and + 1 5
V, and the receiver recognizes anything above + 3 V as such. Likewise, logical 0 is
represented by a signal voltage between -5 V and -15 V. Again, the receiver recog
nizes any signal below -3 V as such.
Data transfer takes place serially, character by character. The characters are
further broken down into bits, which are sent across the line one by one. On the other
end, the receiver then assembles the bits back into characters. The number of bits per
character lies between five and eight; eight is precisely what is needed to transfer one
byte. The data bits are preceded by a start bit and followed by a stop bit. In addition,
a parity bit may be sent for error detection. The transfer rate can range between 75
and 1 1 5 000 bits per second (baud), and a cable alone cannot compensate for differ
ent transfer rates ; the devices must be set at the same speed otherwise no exchange
of data can take place.
Now comes a rather confusing point: this method of transfer over the serial inter
face is called asynchronous even though the data is sent and received relative to a
clock. Among other serial interfaces the term ' synchronous' is used whenever a
clock is involved. For RS-232C, however, the transfer is referred to as asynchronous
because the clocks are not tied to each other. The RS-232C specification includes
signals that allow the sender and the receiver to use the same clock for data transfer.
The RS-232 serial interface 9
When these signals are employed the data transfer is referred to as synchronous.
True asynchronous transfer uses control signals to exchange data. This point, among
others, will be made clear in Section 2.2.
As a rule of thumb, when thinking about data throughput you can consider a byte
or character to be 10 bits (one stop, one start and eight data bits). When the fastest
transfer rate possible is employed, namely 1 15 000 bits per second, the maximum
throughput is approximately 1 1.5 Kbytes per second.
The protocol
Mini-RS-232 has no protocol of its own. However, there is a protocol that is often
used with the interface, called the XON/XOFF protocol (Figure 2.2). It works in the
following way. When the receiving device is no longer able to take on data from the
sender, it sends a special character, an XOFF byte, to indicate this. Later, when it is
ready to continue receiving data, it sends an XON byte to tell the sender to proceed.
This protocol is in no way error proof - characters are sometimes lost. In addition,
the protocol cannot be used for bidirectional transfer of binary data. The reason for
this restriction is simple: for text data only a subset of the possible bytes is sent over
the interface, those corresponding to letters, numbers, and symbols . This leaves
room for a number of special characters, of which XON and XOFF are examples .
When, on the other hand, binary data is transferred, the data is not restricted to
certain characters; any binary pattern may occur. In this situation there is no room
for the special characters and the XON/XOFF protocol is unusable. For connecting
terminals and printers, however, the protocol is actually very practical.
Pri nter
8f------l8f-
XOFF XON
An example of a higher level protocol for the transfer of binary data (file trans
fer) is Kermit. This public domain program can be used at no cost for
noncommercial purposes. A number of computer manufacturers have also devel
oped their own internal protocols built on top of RS-232.
Com mands
There are n o commands special t o the RS-232 interface. A s RS-232 was developed,
commands were designed for specific devices apart from the interface . SCSI is
among the first interfaces to define universal command sets for whole device classes.
Nevertheless, some command sets have been designed for use with RS-232.
Examples are page formatting languages for printers, such as PostScript.
10 Traditional peripheral interfaces
Summary
As you can see, an interface that builds on top of RS-232 has many possible
variations. The complete description of my printer-PC interface would be: RS-232
at 9600 baud, 1 stop bit, no parity, XON/XOFF protocol, PostScript. If I were to
change a parameter for only the printer or only the PC, for example by not sending
PostScript or starting to use a parity bit, nothing would print. Although mini-RS-232
appears to be simple (only three wires), there are almost an uncountable number of
ways in which the connection can fail . What is missing is a protocol that allows the
devices to agree upon the available options. Although RS-232 has given a good
portion of frustration to just about everyone who has worked with it, it nonetheless
has the decided advantage that it exists on every computer and is also device
independent.
DATA1 -8
STROBE
BUSY
ACKNLG
u
Figure 2.3 Centronics interface timing.
The Centronics printer interface 11
Electrical s pecifications
The signal v oltages c orresp ond to those for transistor-transistor l ogic (TTL) . A 0 is
rec ognized from 0 V t o + 0. 8 V, a I from +2.4 V to +5 . 0 V. Table 2. 1 lists the signals
of the Centronics interface. Note that I have described the data signals starting with 0;
that is, using the l ogical names. The actual signal names, h owever, are data l to
data8.
Data transfer takes place in parallel across signals D ATAl to D ATA�. The signals
STROBE, BUSY and A CKNLG c ontrol the sequencing, which is shown in Figure 2 . 3 . The
term 'protoc ol ' does not apply c ompletely here. Relative to our layer model, this
timing belongs to the definiti on of the physical interface.
indicate a request (here strobe) and an other to ackn owledge that request (here
acknlg), is called asynchronous. The mechanism itself is termed request/ackn owl
edge handshake.
Throughput
Throughput, or the amount of data transferred per sec ond, is dependent up on how
l ong the printer leaves its busy signal active for each byte. The other signals
inv olved in the handshake need at least 4 microseconds ( Jls) in total. If a printer were
excepti onally fast, it c ould accept a byte in around 1 0 JlS. This w ould c orrespond to
a data rate of 1 00 Kbytes per sec ond. The handb ook for my old laser printer rep orts
a value of approximately 1 00 JlS for the length of busy, which all ows for a rate n o
faster than 1 0 Kbytes per sec ond. More recent printers with B i-Tronics interface
reach up to 400 Kbytes per sec ond.
The protocol
The Centronics interface protoc ol is very simple. The fl ow of data is s olely the
resp onsibility of the physical layer. When the printer is n ot able t o receive data it
simply h olds BUSY active. There are, however, a c ouple of status signals that reflect
the printer 's status. These fall under the categ ory of message exchange, which places
them in the protoc ol layer. These signals are PE, SELECT, and ERROR. In additi on t o
these are the c ontrol signals AUTOFEED, !NIT, and SLCT I N . All of these signals are
described in Table 2. 1 .
Summary
The Centronics printer interface is our first example of a device specific interface.
The method of data transfer is very similar to many parallel interfaces. Nevertheless,
the status signals for end of paper and carriage return pertain strictly to printers.
Alth ough this is the case, devices have been developed that use Centronics as a
general purp ose parallel interface simply by ignoring the printer specific signals.
Examples of these include SCSI adapters, netw ork adapters and disk drives.
The data transfer is parallel and asynchronous, c ontrolled by the handshaking
signals STROBEIACKNLG. The transfer rate is dependent on the speed of the printer:
the faster the printer is able to activate its ACKNLG signal, the higher the transfer rate.
This characteristic of asynchronous transfer will appear again when we l ook at the
SCSI bus.
As in the case of RS-232, the Centronics interface itself c ontains neither a device
model nor a c ommand set. As shown in Figure 1 .2, all c omponents are necessary in
order to define a c omplete printer interface. On the other hand, the interface as it
stands is flexible, and there are actually PC s oluti ons for c onnecting peripheral
devices via the Centronics interface.
Centronics, like RS-232, establishes a point-to-point c onnecti on between devices.
This means that only a single printer can be used for each interface because the
ability to address different devices is lacking. This new feature bel ongs to the next
interface we will discuss.
Hard disks and their interfaces 13
This secti on and the following secti on on ST5 06 delve m ore deeply into details than
previ ous sect ions, because it is here that the foundation for understanding IDE and
SCSI is laid. If y ou are n ot well acquainted with the internals and w orkings of hard
disks, y ou w ill find this secti on especially interesting. Here, y ou will learn the ter
min ol ogy of the d isk drive domain.
A l ittle h i story
Disk drive interfaces were standardized early on. Beginning in 1 975, drives with a
diameter of 1 4 inches and then 8 inches were shipped with the SMD interface. The
name c omes from the Storage Module Drives of the c ompany, CDC. CDC has since
s old its drive producti on to Seagate. During the late 1 98 0s, as a result of steady
improvements, SMD became the favorite interface for 8 inch high performance
drives . SMD-E, the final vers ion, had a transfer rate of 24 MHz or about 3 Mbytes
per sec ond. The interface, however, c ould not survive the transiti on to 5 .25 inch
drives, primarily because of the very wide cable. As a result SMD d ied al ong w ith
8 inch drives in about 1 99 0.
Five years after the arrival of SMD, Seagate introduced a 5 .25 inch drive with a
storage capac ity of 5 Mbytes. This ec onomical disk drive, at the l ower end of the
performance scale, used a new interface called ST5 06. You w ill often hear
ST5 06/ST4 1 2 being used to refer to the same interface. ST5 06 was n ot devel oped
from scratch, but evolved from the fl oppy interface. The transfer rate was increased
to 5 MHz (ab out 625 Kbytes per sec ond) but the meth od of m oving the heads by
sending step pulses remained the same. In the past few years, advances have all owed
the transfer rate to be doubled once again. However, the demands of m odem PCs
have finally exceeded the interface's capabil it ies: ST5 06 has been stead ily l os ing
ground to IDE and SCSI since around 1 99 1 .
It was apparent early on that 5 .25 inch drives w ould be capable of performance
that ST5 06 c ould n ot supp ort. SMD c ould have fitted the bill but it was too big and
too expensive. In 1 983 the disk drive manufacturer Maxtor came out with the
Enhanced Small Device Interface (ESDI) to remedy this situati on. The ESDI used
the same cables as ST5 06 but all owed transfer rates of up t o 20 MHz (2.4 Mbytes
per sec ond) . In addition, ESDI had c ommands, for example, seek t o track. Today,
1 997, the ESDI interface is practically dead and has c ompletely been crowded out
by the SCSI interface.
The term ' hard disk' most often refers to a drive with n onremovable media
although s ome removable media drives do use hard disks. A hard disk c ontrasts with
the flexible media used in fl oppy drives.
This m odel of a disk drive will say n othing ab out the exact method of writing to
the medium. This means that it will be valid for magnetic disk drives as well as
magneto- optical, diskettes, and removable media drives. CD-ROM and WORM
drives, h owever, do not fall into this categ ory; these formats lack the ability to
rewrite information.
Sector format
In order to identify the beginning of a track there is an interface signal called INDEX,
which issues a pulse at the precise moment when the heads reach this p ositi on. This
is where the first sector of the track begins. At the start of the other sectors another
Language: French
NOUVEAU CODE
DU DUEL
EN SARDAIGNE:
Améliorations de la race chevaline dans l'île de Sardaigne 1849
Essai sur la réorganisation de l'école de cavalerie dans l'armée
sarde 1849
Une parole sur le recrutement et sur l'avancement dans
l'armée sarde 1850
Lettre sur l'armée sarde et sur le corps expéditionnaire de
Crimée 1854
Biographie du général Alexandre de La Marmora 1854
L'ordre militaire de Savoie et la paix 1854
Divers articles dans le Spectateur militaire, la Gazette militaire
de Turin et autres journaux.
EN FRANCE:
L'Italie et son armée en 1865. 1 vol. in-18 1866
NOUVEAU CODE
DU DUEL
HISTOIRE
LEGISLATION—DROIT CONTEMPORAIN
PAR
1879
Tous droits réservés
AVANT-PROPOS
S'il est vrai, s'il est justement admis dans toute société civilisée que
l'honneur ne soit pas chose moins sacrée que les lois qui régissent
les États; bien que le duel soit depuis plusieurs siècles déclaré hors
la loi; bien que dans l'ordre légal on ne puisse attribuer la qualité de
code qu'à celui sanctionné par la loi; dans l'ordre moral, et suivant
les conseils toujours prépondérants de l'esprit pratique, nous ne
craindrons jamais de présenter ni de défendre sous le nom de Code,
les règles imposées par l'honneur.
—Chacun, nous dit M. de Chateauvillard, est exposé à cette dure
nécessité de risquer sa vie pour venger une offense, une injure.
C'est donc une affaire assez importante dans l'existence pour qu'elle
soit d'avance réglée selon les formes voulues par la délicatesse et le
droit.
Des exemples sans cesse renaissants nous prouvent chaque jour la
nécessité de l'établir d'une manière formelle et d'éviter ainsi des
fautes qui compromettent l'existence d'un ami, des assassinats que
l'on croit devoir passer sous silence pour ne pas donner aux familles
le déshonneur d'une récrimination; enfin, ce droit, c'est la
sauvegarde de tous; s'il est enfreint, si le sang d'une victime vient à
crier vengeance, il sera là accablant pour l'homme sans foi; il sera là
encore pour soutenir l'homme courageux qu'on viendrait taxer
d'homicide, pour le défendre, pour l'absoudre et faire tomber sur
ceux qui l'attaquent l'infamie d'une blâmable accusation
(Chateauvillard, Essai sur le duel, page 5).
—Les édits des rois prononçant les peines les plus sévères contre les
duels, enchérissant même par des peines accessoires sur la peine de
mort prononcée contre les délinquants; les arrêts des parlements;
les injonctions et promesses des administrateurs d'hôpitaux chargés
de la confiscation des biens des duellistes; les règlements de MM. les
maréchaux de France; les efforts de la Ligue du Bien public, et la
protestation publique de plusieurs gentilshommes de refuser toutes
sortes d'appels; les mercuriales des prélats, des docteurs en
théologie; les décrets des conciles; les foudres pontificales et
l'excommunication encore en vigueur aujourd'hui; de nos jours,
enfin, la vigilance, l'activité déployées par les agents préposés à la
sûreté publique; ces mesures répressives que les législateurs
contemporains cherchent à faire adopter par les tribunaux de leur
pays; rien n'a pu arrêter le cours du duel qui, à son temps et à son
heure, sait renverser toutes les digues.
—Ce fait incontestable ne nous donne-t-il pas le droit de penser et
d'affirmer que la question du duel est l'un des problèmes d'économie
sociale les plus difficiles à résoudre, les plus dignes par là même
d'exciter l'intérêt de tout philanthrope désireux de servir les intérêts
de l'humanité?
—Établir les règles du duel, le réglementer en un mot, telle est la
préface naturelle de toute étude sur cette plaie sociale, jusqu'ici
rebelle à la répression. C'est ainsi que l'ont pensé avant nous les
hommes honorables qui, en 1836, sont venus engager M. le comte
de Chateauvillard, membre distingué du Jockey-club de Paris, à
publier un Essai sur le duel.
Ce nouveau code du duel fut appuyé par l'approbation des hommes
de l'époque les plus autorisés par leur haute position dans la société.
«Intimement convaincus, disent-ils, que les intentions de l'auteur,
loin de propager les duels, tendent au contraire à en diminuer le
nombre, à les régulariser, à en éviter les chances funestes, les
soussignés donnent leur entière approbation aux règles établies et
développées dans le présent ouvrage.»
Suivent les nombreuses signatures d'hommes distingués, parmi
lesquels nous remarquons des maréchaux, des pairs de France,
députés, officiers généraux, officiers supérieurs, hommes de lettres
et gentlemen, etc. (Voir l'Essai sur le duel, par le comte de
Chateauvillard, pages 87 et suivantes.)
Nous ne saurions passer sous silence le nom de l'un des signataires
les plus compétents, que nous avons eu l'avantage de connaître et
d'apprécier: nous voulons parler de M. le marquis de Hallay-
Coëtquen, gentilhomme accompli dont les décisions, jusque dans ses
dernières années, faisaient autorité en matière de point d'honneur.
—Ces réflexions sembleraient suffisantes pour justifier la publication
d'une nouvelle étude sur le duel, si des considérations afférentes à
l'utilité pratique ne nous eussent induit à persévérer dans notre
dessein de l'entreprendre.
—Le code de M. de Chateauvillard est presque introuvable
aujourd'hui, et, non seulement nous voyons renaître à chaque
instant les abus qu'il avait pour but essentiel de combattre, mais
encore des irrégularités très-regrettables se sont introduites depuis
sa publication.
Bien que les prescriptions de ce code soient nettes et précises,
publiées au moment où les rencontres étaient plus fréquentes, elles
nous ont semblé parfois plutôt destinées à être interprétées par des
hommes ayant déjà quelque expérience des usages de la société, et
par conséquent susceptibles de développements pour être bien
comprises et mises en pratique par le plus grand nombre.
Des personnes honorables, dont l'influence morale pourrait être utile
soit pour arranger les affaires d'honneur, soit pour en rendre les
conséquences moins désastreuses, se refusent à accepter le rôle de
témoins, alléguant leur complète inexpérience dans de semblables
questions. Un guide sûr ne suffirait-il pas pour atténuer les scrupules
de quelques-uns?
Ce serait autant de gagné dans l'intérêt de l'humanité!
Notre étude sur le duel sera divisée en trois parties:
La première contiendra un précis historique sur les origines du duel;
un aperçu analytique sur la législation des principales puissances
étrangères, sur la législation et la jurisprudence des tribunaux
français, et, enfin, la conclusion fera connaître notre opinion
personnelle sur les moyens les plus sûrs de diminuer le nombre des
duels, ou tout au moins, d'en atténuer les effets, sans porter atteinte
au point d'honneur, lequel, selon nous, ne saurait tomber en
désuétude dans toute société civilisée;
Dans la seconde partie on trouvera un code du duel. Les règles
établies comporteront les développements, observations et exemples
dont l'utilité nous a été démontrée par l'expérience;
Dans la troisième partie, nous mettrons sous les yeux de nos
lecteurs quelques pièces justificatives.
Avons-nous besoin de le proclamer, notre Code du duel n'est
nullement pour le favoriser, mais bien pour le cantonner sans des
limites étroites que, seules, les nécessités réelles et reconnues du
point d'honneur puissent lui permettre de franchir; pour déterminer
les devoirs comme les droits de chacun; pour persuader à quiconque
se trouve dans la nécessité de venger une injure qu'il ne doit confier
son honneur et sa vie qu'à des hommes sérieux et entourés de
l'estime publique; pour apprendre enfin aux témoins les principes qui
doivent les guider dans l'accomplissement du redoutable et
important mandat qu'ils ont accepté volontairement, leur montrer
l'étendue de la responsabilité qu'ils encourent soit envers l'ami qui
leur a confié son honneur et sa vie, soit envers les familles, soit
envers la société.
Puissions-nous être assez heureux pour atteindre le but humanitaire
que nous nous sommes proposé.
Puissions-nous obtenir par la précision et la clarté des conseils
puisés au creuset de l'expérience, que toutes les querelles suscitées
par les écarts de l'imagination ou par l'effervescence des passions
humaines, et de nos jours, surtout, ce qui est profondément
regrettable, par les animosités politiques, soient apaisées dès leur
début et que les rencontres que l'honneur et la nécessité imposent à
l'homme de cœur aient des suites moins funestes, moyennant la
salutaire influence de règles connues et admises «à titre de droit
commun à tous» par l'opinion générale dans la société.
PREMIÈRE PARTIE
PRÉCIS HISTORIQUE
SUR LE DUEL
ET SUR SA LÉGISLATION
CHAPITRE PREMIER
RÉVOLUTION DE 1789.
Le duel, tel que nous aurons à le définir plus tard, est une institution
toute moderne que les anciens ne connurent jamais, dont ils
n'eurent pas même l'idée, car ils ne connurent jamais ce que, dans
nos mœurs, on appelle le point d'honneur.
D'ailleurs, les anciens n'étaient point chrétiens, et le duel est une
institution chrétienne, car il représente la foi complète dans
l'omniscience et dans l'ingérence divines, sentiments inconnus des
païens, et que nous verrons plus tard servir de base au jugement de
Dieu, dont le duel moderne est le successeur direct.
En entrant dans le champ clos, un chevalier prononçait cette
formule: «Me voici prêt avec l'Évangile d'une main, et l'épée de
l'autre.» En 971, Vivence, champion du clergé, disait: Ecce me
paratum cum Evangelio et scuto et fuste.
Les souverains accordaient la prérogative de décerner la patente du
camp à des évêques, à des chapitres. En 1028, l'empereur Conrad
l'accordait par une charte à Pierre, évêque de Novare.
On trouve encore dans les anciens missels: Missa pro duello.
Basnage cite des prêtres, des moines, des évêques, des cardinaux et
des papes, lesquels non seulement ont admis, mais pratiqué et
même imposé le duel. Selon cet auteur, le pape Martin IV lança une
censure, même une excommunication: «pour défaut de comparution
sur le terrain». Nicolas Ier appelait le duel un combat légitime. Le
pape Eugène III disait à propos du duel: Utimini consuetudine
vestra.
Il n'en est plus de même aujourd'hui: l'Église s'est unie au bras
séculier pour défendre le duel. (Voir 3e partie, Pièces justificatives,
no VII, Décret du concile de Trente.)
Et pourtant, en consultant les plus anciens et les plus célèbres
historiens romains, on remarque que dans les premiers âges de la
fondation de Rome, ses habitants ne connurent d'autres juges pour
le partage de leurs biens que le hasard des combats.
Laissant à part l'enlèvement des Sabines, ce célèbre combat motivé
par le besoin de satisfaire à des nécessités conjugales, et ensuite la
lutte entre les Horaces et les Curiaces, ces usages régnèrent jusqu'à
la publication de ce recueil de lois dues à la sagesse des législateurs
romains, lequel, après avoir traversé la suite des âges, constitue
encore aujourd'hui la base de toutes nos législations
contemporaines.
Les Gaulois, ce peuple entreprenant, guerrier, ami des querelles et
des discussions, ne pouvaient manquer de pousser ce caractère
batailleur jusqu'à ses dernières limites. Toujours armés (usage qui ne
se rencontrait ni chez les Grecs ni chez les Romains), ils avaient
toutes facilités pour satisfaire leurs inclinations. Faute de trouver des
ennemis à combattre, ils se battaient entre eux. Chez eux les
combats singuliers devinrent une sorte de divertissement public que
nous verrons plus tard se perpétuer jusque dans le moyen âge. Les
différends se terminaient par les armes; c'était également par les
armes que les témoins fournissaient les preuves de leur témoignage.
Le sanctuaire même où résidaient leurs dieux ne leur semblait pas
profané par cette coutume. La chaise curule du grand prêtre, chef
des Druides, devenait le prix d'un combat singulier entre ceux qui
ambitionnaient sa succession.
Les compagnes de nos ancêtres partageaient les instincts belliqueux
de leurs époux. Elles conservaient dans leur sein le germe de cet
esprit guerrier fidèlement transmis à leurs descendants.
Le gracieux et sympathique auteur du Mérite des Femmes, M.
Legouvé, a consacré de bien belles pages à nous représenter la
femme comme toujours supérieure à notre sexe.
Ange consolateur de la famille, la femme supporte avec une
indomptable énergie de grandes infortunes qui trompent la vigueur
du sexe fort; son dévouement inépuisable la porte à faire en souriant
le sacrifice de sa vie pour le salut des êtres qui lui sont chers. Et,
sans remonter bien haut, n'avons-nous pas vu la belle et vaillante
princesse Marie-Pie, reine de Portugal (digne fille de notre ancien et
bien-aimé souverain Victor-Emmanuel dont tout un peuple pleure
aujourd'hui la perte prématurée), n'avons-nous pas vu la femme
courageuse terrifier des courtisans affolés, en s'élançant elle-même
dans les flots pour reconquérir ses enfants emportés par les vagues
envahissantes?
Aux nobles princes, ses aïeux, la bravoure dans les combats, le
courage militaire! A la femme couronnée, le dévouement maternel,
le courage civil!
Dans sa faiblesse même, la femme puise l'admiration pour la force.
Tout indice de pusillanimité lui fait regarder comme indigne de son
affection, celui-là même qu'elle eût volontiers choisi pour son
protecteur.
La finesse exquise, le tact infiniment supérieur de la femme, les
sentiments généreux qui abondent dans son cœur, impriment à ses
jugements le cachet de la vérité.
Aussi, n'hésitons-nous pas à regarder cette gracieuse moitié du
genre humain comme le meilleur juge du point d'honneur.
Avez-vous remarqué ce jeune homme lancé dans une discussion
irritante qui côtoie l'agression et va peut-être bientôt dégénérer en
violence? Tout à coup l'orage s'apaise. On le voit reprendre le ton
courtois de la bonne société... Un simple regard de l'objet aimé l'a
ramené dans la bonne voie.
La tendresse de la femme patronnant la cause de la justice et de la
raison ne lui donne-t-elle pas le droit au commandement sur tout
homme de cœur?
La femme voit-elle l'objet de ses préférences subir une insulte aussi
grave qu'imméritée, un regard calme et fier viendra l'encourager à
suivre le sentier de l'honneur. Comment pourrait-il y manquer,
puisqu'il a la certitude que son courage sera partagé?
C'est encore dans le sentiment de l'honneur que la femme puise la
force nécessaire pour donner l'exemple de deux vertus qui lui sont
pourtant si souvent contestées: le silence et la discrétion.
Citons un exemple:
Il y a quelque vingt ans, dans une armée étrangère, une querelle
entre deux honorables officiers nécessite un duel à outrance. Pour
des motifs que nous ne croyons pas devoir préciser, la rencontre ne
peut avoir lieu qu'à l'expiration du terme de trois mois.
Pendant cette longue attente, des mères, une femme, des sœurs,
les deux familles enfin, cachent leurs angoisses, leurs inquiétudes,
jusqu'au jour du dénouement qui mit l'un des champions hors de
combat et fit craindre pendant quelque temps pour la conservation
de ses jours.
A quel puissant mobile attribuer un si long silence, une pareille
discrétion, si ce n'est au profond sentiment de respect pour le point
d'honneur!
Nous le répétons, les sentiments généreux, le respect pour le point
d'honneur, l'amour-propre ne sont pas moins développés chez les
femmes que chez les hommes. Les mères et les épouses n'aiment
point seulement la personne, mais plus encore, si c'est possible, la
considération et la dignité de ceux qui leur sont chers.
Et les fiancées surtout, n'ont-elles point voix au chapitre? Souffriront-
elles que l'objet de leurs plus chères affections, celui qui doit être
bientôt pour elles un protecteur, soit livré au ridicule, aux sourires,
aux dédains dans la société? L'amour-propre n'emporte-t-il pas tout?
Jeune homme, si vous osez vous révolter contre l'opinion, vous êtes
médusé, quand bien même vous vous seriez assuré l'appui de
quelques douairières bien pensantes, en étalant la rigidité de
principes du pratiquant, amorce infaillible, rivale de la liqueur à
carpes Moriçaud, dans la pêche... à la dot!... Tout est inutile! Une
violente secousse brise inopinément la mort-à-pêche!
Quoi qu'il en soit de cette digression, faite pour accidenter la
sécheresse de notre course au clocher dans les domaines de
l'histoire, c'est chez les peuples barbares dont les diverses
agglomérations ont donné naissance aux sociétés modernes, que
l'on s'accorde généralement à reconnaître la véritable origine du duel
qui dut passer par diverses phases sociales avant de devenir ce qu'il
est de nos jours.
Ainsi, le duel nous apparaît d'abord comme une institution judiciaire,
un mode de preuve adopté dans les procès, pour obtenir
l'éclaircissement des faits contestés.
En justice, il est un principe admis: c'est qu'il appartient au
demandeur de fournir la preuve des faits qu'il avance; dans le cas
contraire, le défendeur est renvoyé de la plainte.
Des lois barbares méconnurent ce principe en ordonnant que le
défendeur prêtât le serment. (Loi des Visigoths, lib. II, tit. II, c. V).
La dissolution progressive des mœurs, l'affaiblissement graduel des
caractères et l'abus du serment lui-même, qui n'était plus réservé
pour des cas extrêmes, atténuèrent le respect pour la religion du
serment qui, au temps de Rome antique, avait enfanté des prodiges.
Placé entre l'alternative de se condamner par un aveu ou de se
libérer par un parjure, le défendeur jurait. Pour suppléer à
l'insuffisance du serment, on imagina d'exiger que la véracité de
celui qui le prêtait, fût attestée par un certain nombre de personnes:
conjuratores sacramentales. Le nombre de ces certificateurs de
serment était déterminé par la loi, suivant l'importance du procès.
(Lib. VI, cap. I, Alamannorum.) Ils juraient sur l'Evangile en même
temps que leurs clients. En multipliant les serments, on multiplia les
parjures. C'est pour faire disparaître cet abus que fut institué le
combat judiciaire.
L'usage de ce combat fut consacré pour la première fois dans la loi
des Bourguignons connue sous le nom de loi gombette (du nom de
Gondebaud son auteur, tit. XLV).
Cette institution se généralisa bientôt et s'introduisit successivement
dans les habitudes juridiques des autres peuples barbares. On la
rencontre dans les lois des Francs ripuaires, dans celles des
Allemands, des Bavarois, des Thuringiens, des Frisons, des Saxons
et des Lombards. L'histoire romaine (Velleius Paterculus, lib. II, 118)
nous apprend que c'était la coutume des anciens Germains de
terminer par les armes, leurs différends privés.
La loi salique, sauf dans quelques cas très rares et exceptionnels,
n'admettait ni la preuve négative par serment ni le combat judiciaire.
On observa bientôt combien les mœurs l'emportent sur les lois
écrites: cette loi tomba dans l'oubli, et le combat judiciaire s'établit,
même parmi les peuples qu'elle régissait.
Ainsi agit François Ier dans le combat qui eut lieu, avec son
autorisation, entre deux gentilshommes du Berry, les sieurs Vermiers
et Harzay.
Le duel n'était permis qu'aux nobles, et au roi seul appartenait le
droit de décerner les combats (Etienne Pasquier, Recherches sur la
France, liv. IV, chap. XV).
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
ebookname.com