Vous êtes sur la page 1sur 12

SystemOverview

Before attempting any troubleshootinganalysis


on a system,you must first understandthe system
configurationand how the systemworks. In this
chapter,you will approachthe IBM PC from the
systemslevel and becomeacquaintedwith each
functionalelementin the microcomputer.From
IN PU T
U NIT
I OUTPUT
U NIT

your introductory computer instruction, ]ou


learnedthat everycomputersystemhas five basic
parts(Fig. 1-1):
r An arithmeticlogic unit
r A control unit R AM ROM

r A memoryunit M EM O F Y U N IT

r An input unit
r An output unit
Fig.1-1.Basicpartsof theIBM PCcomputer.
The arithmetic logic unit (ALU) does the
adding,subtracting,multiplying, dividing, com- The memory unit is the rememberingpart
paring, and logic operations.A control unit regu- of the machine. It stores programs,data, calcu-
lates the operationof the completemachine. It lations, and results. Two types of memory are
fetchesand interpretsinstructions,and it causes included in the PC: temporary memory called
certain parts of the circuitry to respondaccording random-access memory (RAM) and permanent
to those instructions. The ALU and control unit memory called read-only memory (ROM). The
can be consideredthe nerve elementsof the ROM chips are permanently programmed or
computer'sbrain. Important to the computeris written into during manufacturewith computer
adequatepower and a good systemclock. instructionsand specialdata. Since one of the
2 ChapterI

IBM ROMs has an operatingsystemprogram by mathematicianJohn Von Neumannin the late


permanently stored in it (hardware),we call it 1940s. Today, every desktop or laptop personal
ttfirmware.tt computer operates as a sequential "Von
RAM is sometimescalled "main memory." Neumann" machine. In the future, microcom-
Information stored in RAM existsonly as long as puter systemswill include multiple processors
power is applied to the computer. When power and operate on many instructionsat the same
is removed,the programsand data storedin the time in a parallel "non Von Neumann" archi-
RAM are lost unless transferred (copied) to tecture.
externalpermanentmemory. External memory
can be attachedto the PC by connectingfloppy
disk drivesor hard disk drives.
Communicationwith the computer occurs
through the input and output units. These
person-machineinterfaces are called "peri-
pherals." A peripheral can be just about any
IN P U T
U N IT
I OUTP U T
U N IT

type of deviceconnectedto the basicPC.


An input unit allowscommands,programs,
and data to enter the computer-It'show the user
"talks" to the computer. Keyboards,joysticks,
game paddles, graphics tablets, light pens, MEI.4ORY
microphones,and analog-to-digitalconverters
(ADCs) are examplesof input devices.
The computer communicateswith our Fig. 1-2. The control unit and arithmeticunit
environmentand us via an output unit. Mono- togetherform the centralprocessingunit CPU.
chrome and color displays,printers,plotters,a
speaker,and digital-to-analogconverters(DACs)
are examplesof output devices.
Some devicesare usedfor both input and THEBASICIBM PC
output. Theseincludethe massstoragedevices INTEGRATEDINTOA SYSTEM
(the floppy disk drives,the hard disk drives,and
archival storagetape systems)and MOdulator- Taken as a whole,an IBM PC systemcould look
DEModulators (MODEMs) which enablecom- like the configuration shownin Fig. 1-3.
puter to computer communicationsover long A typical PC systemis comprisedof the
distances. systemunit with keyboard,a displayunit, two
The arithmetic logic unit and control unit disk drives, and a printer. The next few pages
can be combinedinto a singleintegratedcircuit will describeeachof theseunits.
called a "central processingunit" as shownin
Fig. l-2. Microprocessorsare also called central
processingunits (CPUs) becausethey can be SystemUnit
designedto do the samefunctionsas the central
processingunit in a large computer. In the IBM The systemunit shownin Fig. 1-4 is the main
PC, an 8088integratedcircuit (IC) is the systems component of the computer. It houses the
central processingunit. It accessesmemory systemboard (motherboard)with its expansion
(fetches an instruction), interprets what the slots for external interface peripheral devices,the
instruction means,and does the actionsrequired switchingpower supply,and two standard-height,
by the instruction, and then fetchesthe next double-densitydisk drives. On the right side,
instruction in the program and repeats the near the back of the systemunit, is the on-off
sequence.This sequentialprocesswas described power switch.
SystemOverview 3

D A IS Y -
COLOR WHEEL
D IS P LA Y P R IN TE R

Fig.1-3.Example
of an IBM
IB M P E R S ON A LC OMP U TE R
PC svstem. (64-640K )
S Y S TE MU N IT
A SS E TTE

V OIC E
IN P U T

Down-Right-Left arrow keys, Caps Lock,


Number Lock, Scroll Lock, Backspace,Enter (or
Re t u rn ), Ho me , P a g e Do wn , P a g e U p , E n d ,
Delete,Insert, Print Screen,Tab, Control, and
Alternate. The functionsof these keys and key
combinationsare describedin the IBM Guideto
Operationsmanual.
All83 keyshaveautomaticrepeatand a 10-
charactertype-aheadbuffer to let you type at
rapid speedwithout getting ahead of the com-
puter processingof eachkey stroke.
Fig. 1-4. The systemunit sitsbehind Each of the 83 concavekeys have a tactile
a detachablekevboard.
feel with an audible click to provide positive
feedbackthat key action has been completed.
Keyboard Inside the keyboardare electroniccircuits that
enhancekey operation and permit keys to be
The detachablekeyboardhas 83 keys that can redefined for increasedprogramming flexibility.
generateall 128American StandardCode for On the bottom sideof the keyboardare two
Information Interchange(ASCII) characters.It plastic feet that allow the keyboardto be tilted in
can also generatespecialsymbolsand graphic two positionsfor best typing comfort. A plastic
shapes. In all, the keyboard can cause the ridge abovethe top row of keyscan hold a book
machine to generateand display (or print) 256 or report betweenthe keyboardand the display
characters,shapes,or symbols. screen. It can also hold templatesfor special
The numeric keypadon the right side of the application software. A 6-foot coiled cable
keyboardhas some keys that doubleas cursor- connectsthe keyboardto the rear of the system
control keys. Ten programmablefunction keys unit.
are mounted on the left side of the keyboardto
executespecificprograms or to initiate special OutputUnit
software routines. The functions can be
programmedby the softwaredesigner. Many Two output units that make the computersystem
specialkeys are provided includingShift, Up- completeare the displayunit and a printer.
4 ChapterI

Many displayunits can connectto the IBM at the same time-dot_matrix for drafts and
includingmonochromeand color monitors.
A workingcopies,and letter quality for documents.
display unit connectsto the computer at the rear
A final output devicethat is part of the pC
of the systemunit. If a radio irequency(RF) .
is a small (2-inch) 8-ohm speakermounted at the
modulatoris connectedto the video adapter'card
left side of the systemboard inside the system
inside the systemunit, a standardtelevisioncan
unit chassis. This device can produce the
be usedfor a monitor.
familiar beep,arcade,and music sounds. It can
Two video adaptersare availablefor the
alsoproducecrudespeech.
PC: a monochromedisplayadapterthat supports
types of bidirectional data storage
text, and a colorfgraphics adapter that supports
devicesare usedwith the IBM pC: tape casserre
text and color graphics.
and minifloppy drives. While cassettestorageis
The monochrome adapter enables the
slow, magnetictapesprovide an excellentwav to
systemto generateand display25 rows of g0
provide archival storage for the large
characterseachin white on btc[ (greenon black -and
amountsof data that are generatedevery diy.
with the IBM monochromemonilor), black
on Many more files or pagesof information ian be
white (or black on green), blinking, in high
stored on a good audio cassettetape than can be
intensity,or underlined. This adaptercard also
stored on a 5r/z inch floppy disk. In fact, one
hasa connectionfor the IBM dot_matrixprinter.
form oftape archival storageusesvideo tape for
Color is availableusing the color_graphics
long term computer-generated data.
adaptercard. This interfaceprovidesopiion, fo.
The typical syst"emuses minifloppy disks
two typesof text (25 rows of 40 characters,or
25 that operatein a disk drive unit as the massstor-
rows of 80 characters) and three types of
agemedium for the pC. Up to six disk drivescan
graphics(low resolution,mediumresolution,
and be connectedto the pC using non_IBM hard_
high resolution). Only medium resolutionand
ware.
high resolution are supportedby the ROM. The
Each 40-trackdisk can be single_or double_
6845CRT controller IC on the adapter board
sided, double-densitydepending-onthe drive
must be directly addressedby customsoftwareto
used. The disksare magneticallysectoredduring
enablelow-resolutiongraphics.
formatting into 512-byte ,"ttorc providin!
Low-resolutiongraphicsrefers to 100rows
163,840bytes of storagefor single_sided, doublel
of 160-pixels (picture elements)or dots each,
in disks (184,320 byteswitfipc_ooS
any of 16 standardcolors. Medium_resolution 9:5llt 2.x)or
3.27,680 bytesof storagefor double_sided, douLle_
graphicscan produce 200 rows of 320 pixelsper
densitydisk drivessystems(36g,640bytesfor pC_
row in any of four colors. Additional colorscan
DoS 2.x).
be generatedwhen dots of different colors
are
juxtaposed. High-resolutiongraphics
produces Connections
200 rows of 640 pixelspe. .ow1n black and white
(or.black and green). Text can be positioned
Figure 1-5 showsthe connectionson the rear of
within graphic shapesenablingwinjow opera_
the PC. A female connectorprovidespower
tions. to
an externalmonochromedisplay. The male con_
Many types of printers can connect and
n€ctor to the right is for the power cord. To the
function with the pC. Both dot-matrix and
full right of the round fan air exhaustport is a 5_pin
characterprinters are commonlyconnected
to circular connectorfor the keyboard cable. Next
this machine. The recent introiuction of con_
is a 5-pin circular connectorfor cassettedata
sumer laser printers has given very high quality
input/output. The five slots align with five
hard copy output capability to pC users. AII
of expansionsocketson the systemboard inside.
theseinterconnectionsare achievedusinga
spe_ These slots are for connectingother display
cial expansionslot adapterboard as the inierface.
outputs,disk drives,plotters,printers,and other
Some usershaveboth typesof printers connected
peripherals.
SvstemOveruiew 5

b"=_-----*"----'--'d The top right portion of the systemunit is


ilililillllllltlllllllllllllllllllltllllll the switchingpower supply. The lower two-thirds
ililillilllllllllllillllllllllllllllllllll of the systemunit housestwo floppy disk drives.
Figure 1-7 is a block diagram of the IBM
PC system. Dashed lines allocate the system
elementsinto the basicparts of any computer.
Each part of this diagramwill be coveredin
detail in the next chapter.

SystemBoard
The most important part of the computer is the
CPU and the circuitrysurroundingthe CPU. On
the PC, the CPU and its associatedcircuitry are
A IR KE CASSETTE PER IPH ER AL mounted on a denselypacked printed-circuit
P OWE R E X HA UST CONNECTOR INPUT/OUTPUT OPT IO N SLOT S
board called the systemboard, or motherboard.
Fig. f -5. The connections
foundon the Two systemboardshave been producedfor the
backof the PC svstemunit. IBM PC. The board shown in Fig. 1-8 was
designedfor systemsthat containedbetween16k
and 64K of RAM.
InternalGomponents A photographof the systemboard usedin
newer 64K to 256K RAM systemsis shown in
Figure 1-6 shows the position of subsystems Fig. 1-9. Theseparametersdefinethe amountof
in sid e th e 5.5 inch by 19.6inch by 1 6 . 1in c h RAM that can be installedin the systemboard
systemunit. On the left is the systemboard, or before expansion memories can be used.
motherboard. At the top of this board are the COMPUTERFACTS pages27 and 34 provide
five expansion slots to connect peripheral anotherview of the newerPC systemboard. The
devices.On the lower left of the systemboard tracesideis shownon CF pages26 and35.
are the memorychips. As noted,most of the ICs on theseboards
are mountedin a commondirectionwith pin 1 of
SWITCHING
POWERSUPPLY
each chip facing the same direction. This is
imp o rt a n t wh e n t h e s e b o a rd s a re r e p a i r e d
becauseit helps to prevent you from mounting
the chip backwards.Chips are marked with the
sil
rJ)
packagepositioned in the same way. If you
inadvertentlysoldera replacementIC into the
board with pin 1 facing the wrong way, you can
quickly tell by the upside down lettering and
numberingthat it's mountedincorrectly.
Each componentIC has a corresponding
code (U23, U36, and so forth) stampedon the
systemboard. In addition, the chip locationsare
marked in increasingorder from top to bottom
and right to left. This is helpful in quickly
locatingICs.
OISK ORIVE
ANALOG CARD
In Chapter 2, all systemboard chips will
Fig. 1{. Inside view of systemunit be discussedin detail. For consistency, only the
6 Chapter1

PERIPHERAL
INT ERF ACE

Fig. 1-7. IBM PC systemblockdiagram.

64K-256K board will be described. The 8088 internal and two external)can be connectedto
CPU is plainly visible on the lower right side of the PC. Third party hardware can expand the
the board. In all, 99 chips are mountedon the massstorageto six double-sided,double-density
systemboard. Thesechipscomprisethe CPU, drives.
memory, timer, controllers,and input/output Slot 2 is used for the displayadaptercard.
(r/o). Slot 3 is allocatedto the asynchronous/synch-
ronous communicationcard. Other interface
devicesinclude modems, additional printers,
l/O Interfaces graphicstablets,and voice-recognitionand voice-
generationboards. Expandedmemory can also
Five 62-contactexpansionslots are mounted at be connectedusing the expansionslots.
the upper right in Fig. 1-9. Theseslotsconnect
peripheral devicesto the systemboard. Besides
the address and data buses, an extensive SystemBoardGhip Layout
selectionof control, power, and ground signals
available on each slot allow PC system inter- Figure 1-10 shows the layout for the chips
facing with many external devices. Each mountedon the newerIBM PC svstemboard.
peripheral exceptthe keyboardconnectsto the
systemboard via an adapterboard that plugsinto
one of the expansionslots. These slots are
numbered J1 (slot 1) to J5 (slot 5) from left to 8088CPU
right.
Slot 1 is allocated for the disk controller Just to the left of the cassetteI/O port (J6) on
interface board. Up to four disk drives (two the far right side of Fig. 1-10is the 8088CPU
SvstemOveniew 7

Fig. 1-8. Photoof the 16K-64KIBM PC systemboard.

(socketU3). A closerview is providedin Fig. addedto a 16-bitsegmentaddressto generatea


1- 1 1 . The 8 088 is an Intel designe dmic ro - physicaladdress.This addressingschemewill be
processorthat operateson a 4.77MHz clock as a describedin detail in Chapter2.
16-bit machine internally, using the same
instruction set as the 16-bit Intel 8086micro-
processor,but with an 8-bit data bus. It supports 8087NUMERICDATA
16-bit operationsincluding multiply and divide PROCESSOR(COPROCESSOR)
and has a 20-bit addressbus so it can accessover
a million memorylocations. The 8088 can also operate in maximum mode
Internally,the 8088handles16-bitformats with an optional 8087numeric data processor
so the CPU expandsits internal addressword to functioningas a coprocessor.This configuration
20 bits at its output usinga segmentationscheme. greatly increasescomputational speed. The
Memory addressesare logicallysubdividedinto socketjust below U3 is for the 8087 (Ua). The
special segmentsof 64K bytes each. Each 8087 is a high-speed,two-channelI/O control-
segmentcan be allocatedto specialregistersin ler/coprocessorthat extendsthe 8088instruction
the 8088. Then bytes within a segmentare set to include arithmetic and logic operations. It
addressedusing a 16-bitoffset addresswhich is doesn'tchangethe way the systemoperates,but
I Chapter1

Fig. 1-9. Photoof the 64K-256KIBM PC systemboard.

it does greatly reduce the time required for 8259PROGRAMMABLE


certain mathematicalfunctions. This IC can TNTERRUPT (PrC)
CONTROLLER
operate on floating point and multiple digit BCD
numbersup to 18 digits in length. Just abovethe 8088shownin the layout diagram
The 8087numeric data processorhandles of Fig. 1-11is the 8259PIC (U2) that produces
the data transfers between it and the 8088. specialsignalsthat are used for externaldevice
Permanently stored in the 8087 are micro communicationwith the CPU. The PC is an
instructionsfor add, subtract,multiply, divide, interrupt driven machine in which peripheral
absolutevalue,arctangent,tangent,squareroot, devicescommunicatewith the CPU by interrupt
and other operations. Its unique "number- signalsthat causethe CPU to stop what it was
crunching" architectureenablescalculations100 doing and service their request. Up to eight
times faster than the 8088. When installed,a externaldevicescan requestPIC U2 to producea
switch on the systemboard enablesthe 8087 CPU interrupt signal. By knowing which device
CPU to quickly download mathematicopera- is requestingthe interrupt, U2 puts a special
tions to its 8088 coprocessor,dramatically code out on the data bus for CPU recoqnition
reducingexecutiontimes of thesealgorithms. and action.
SystentOveniew 9

F;l;t ,re.
lEf44EF*lEF";lE I rsz*15
o
o
il
tdl
| .dls
t 4104lEF;lSl-41o,lF U
I 4lo4lEF;lSf,-ls I rrsrJg -c

15f.4E I ,*lE
l' 4rsll$l-4164
.- lFf.";l s I rrsnl
E I u*r#o*l=
L

fl f.'4gf-
5

f4164lEt-4164lFt .t*l$ lE I tMxgsooot


f-4164 l:
o
9 t .'' tqF;l;l .'* 15t .'e.lF[I ,,* lso
q

416415l 41641F l*
! f.";tgl "*lB- I
15| r's.l; [ '-.
| .'6418-F;15|-.'e.
lF f Lsr3slS
I Lso4-lFlRN4lSfLslss
lf
lT.=l- |
lLSoTold - '""^
s-
" l-rszrslg
lil-----l
| ezss lS
!
t *,1[ _,sszs [-,,* l=
,-r. | igl----l
lRN2 lN-

t *,;t-l '*' It
-l
8237 EE
I soslql s. lF JLsrsl5 | Lso,E I.,.-lF
r-sszz
lF _[',''|[
| .rs-l
.-.*lsJ
frslzilEf LSo4lE f Lfil5 t rsorto- 8255
I s wzld
F
-=;

o
o
I rsorlsl'LslolF l- Rl6lEtlsoolF
o t L s' ,El$E
--r,e[...*ls o
Fig.1-10.The systemboardchiplayout

8288CLOCKGENERATOR
In the lower right of Fig. 1-10is an 8288clock
generator (U11) that receivesa power good
si gn a l fr om the power supply and a 14 . 3 1 8 1 8
MHz signal from an attached crystal and
producestheresetpulse and clock signalsto start
the CPU operating and awakenthe circuitry of
the systemboard into electroniclife.
Once powered,this IC continuouslypro-
ducesseveralclock signalsthat pulse throughout
the PC. A 4.772727MHz signalis passedto the
8088CPU and out onto the systemboard as the
systemclock. The clock generatoralso produces
a 2.386MHz signalthat is divided by two and
used to refresh the dynamic RAM on the system
board, and to update the time-of-dayinternal PC
clock. It alsois usedto activatethe speaker. Fig 1-11. The 8088centralprocessingunit.
10 Chapter I

screenbeing used. It also acceptsdata input


8253 PROGRAMMABLE
from the keyboard.
TNTERVAL
TTMER(PtT)
The 8253PIT (U34) near the lower middle of the
systemboard (Fig. 1-11) receivesthe divided READONLYMEMORY(ROM)
2.386MHz clock signaland developsspecialtime
of day and date signalswhich are maintainedas The column of large chips beginningwith the
long as power is applied to the machine. These empty socketfor U28 holds 40K bytes of ROM.
time and date signalscan alsobe storedin mass The empty socketwas originally designedto hold
memory with a file you have developedso you cassetteBASIC but wasn't required in the final
know which version of a program you are configuration. Four 8K ROMs contain a large
accessingwhen you reload the file into temporary cassetteBASIC high level languageinterpreter
memory on the systemboard. It also produces program. A fifth 8K ROM chip below U28
speakerpulsesfor generatingsound. containsthe ROM basic input/output system
(BIOS) that enablesCPU communicationwith
the systemcircuitry. It handlesvideo display
graphics,a time-of-dayclock, printing to the
8237DIRECTMEMORY screen cassetteoperations, and printer and
ACCESS(DMA)CONTROLLER asynchronous devicecommunications.Included
in this chip is a self-testprogram that checksthe
Below U34 in Fig. 1-11 is an 8237 Dl./.A
functionalityof the PC during power-up. It also
Controller (U35). This specialpurposemicro-
containsa minifloppy disk bootstrap loader to
processor enables large data block transfers
cause a floppy drive to load mass storage
betweenmassstorage(disk drivesor other I/O)
programsonto the temporary memory on the
and the internal memory on the systemunit
systemboard.
board without CPU involvement. It can handle
data blocksup to 64K bytesin length.
One of the four DMA channelsof U35
combineswith one of the three counter/timer RANDOMACCESS
channelsof U34 to produce a refresh signalfor MEMORY(RAM)
the temporarymemory chips and any additional
memory mounted on expansionboards and The temporarymemory is the RAM mountedin
pluggedinto one of the five expansionsockets. four columnsof nine chipseachat the far left top
of Fig. 1-11.Eight chipsin eachcolumnmake up
the 8-bit data word. Early versionsof the PC
containedfour columnsof 16K x 1-bit ICs with a
8255PROGRAMMABLE singlecolumn of chips providing the minimum
PERTPHERAL
TNTERFACE
(PPt) 16K systemand four columns of chips providing
the maximum configurationof 64K RAM. After
The IC below U35 in Fig. 1-11is the 8255PPI late spring of 1983,eachPC was designedto hold
(U36). This smart peripheral device allows 64K x l-bit RAM chips providing working
externalcommunicationwith the CPU. It is a memoryof between64K and 256K.
parallel I/O chip with three ports that can be In both cases,the ninth chip in eachcolumn
configuredby a softrvarecommandto function as is a specialRAM used to store the parity value
either input or output. The PPI is used to read for each byte of stored data. During storage,
the system board configuration switches to parity circuitry determinesthe number of logic ls
determine how much memory is installed,the in the word and addsenough(1 or 0) to make the
number of disk drives,and the type of display numberof ls an evennumber. Thus 10010001 in
SvstemOverview 11

the storedword would causethe circuitry to store through to a socketon the rear of the systemunit
a I in the parity RAM thus ensuring that the for powering a monochromedisplay.
total number of 1sis even. When a word is read The supplyreceives120VAC at 50/60H2
from RAM memory, parity check circuitry throughthe line cord and generates+5, -5, +72,
computes what the parity should be and and -12volts as output. It is fused and includesa
comparesits value (1 or 0) with the value stored power sensingdevice that automaticallycuts off
in the parity RAM. If the two valuesare not the power to the PC if too much or too little voltage
same, a non-maskableinterrupt called parity is detected. It also shutsdown if an overvoltage
error occurs causing the CPU to produce a or overcurrentcondition occursbecauseof a
display that readsPARITY CHECK and then short on the systemboard, on an expansion
haltssystemoperation. board,or in the disk drives.
Two 6-pin connectorsprovide power to the
systemboard, and two connectorsprovide power
to eachinternal disk drive assembly.
POWERSUPPLY In the next chapter,you will read about the
role of eachof the previouslydescribedchips in
The switchingpower supply inside the system the PC system and gain an in-depth under-
unit providesup to 64 watts of energyto operate standingof how the IBM personal computer
the computer,its internal disk drives,and the systemoperates. Chapter 2 takesyou deep into
adapter cards plugged into the systemboard the circuitry to gain a detailedunderstandingof
expansionslots. It can also pass 120 VAC the systemyou are about to repair and maintain.

Vous aimerez peut-être aussi