Professional Documents
Culture Documents
Session 9
Session 9
1.0 1.1 1.2 Introduction Objectives An overview of system features and components 1.2.1 Motherboard 1.2.2 Processor 1.2.3 Memory 1.2. Ports 1.2.! "us type and s#ots 1.2.$ Mass stora%e 1.2.$.1 1.2.$.2 1.2.$.3 &#oppy dis' drive (ard dis' drive )ompact dis' drive
1.0 INTRODUCTION
Most systems are simi#ar/ but a few important differences in system architecture have become more apparent as operatin% environments have increased in popu#arity. Operatin% systems such as O-02 1.1 and 2indows 3.1 re3uire at #east a 2,$ )P4 p#atform on which to run. O-02 2.1/ 3.1 52arp6/ and 2indows 7! wi## run on a 3,$ system/ and 2indows 89 .1 re3uires at #east a ,$ )P4 to run.
(ence/ the Persona# )omputers can be c#assified main#y on the basis of differences in system architecture. And the c#assification main#y depends on the type of hardware used such as the type of processor/ motherboard/ hard dis' contro##er/ f#oppy dis' contro##er/ system memory/ seria# ports/ bus types and s#ots etc. :nowin% and understandin% the differences amon% these hardware p#atforms wi## enab#e you to p#an/ insta##/ and use modern operatin% systems and app#ications more optima##y. A## P)+compatib#e systems can be broad#y c#assified as ,+bit 5P)0;9+c#ass6 systems or 1$0320$ +bit 5A9+c#ass6 systems. 9his unit discusses brief#y the various features and components of a computer system. 9he concept re#ated to the processors/ memory/ motherboard/ buses etc are e1p#ained in view of P)+ compatib#e systems.
1.1
OBJECTIVES
At the end of this unit / you wi## be ab#e to 4nderstand the importance of various computer system components such as motherboard/ processor/ memory/ ports/ buses etc. :now the processor wor'in% modes<rea# and protected =escribe memory in terms of physica# and #o%ica# #ayouts =efine terms #i'e > memory ban'/ (MA/ 4MA/ ;MAppreciate the usa%e of I0O ports 4nderstand the construction/ setup and wor'in% of mass stora%e devices 9he type of power supp#y used in computer system 4nderstand the functions of add+on cards
9he )P4/ memory unit and the input0output unit constitute the basic components of a computer system. In order to ma'e these components functiona#/ other supportin% system components and chips such as "IO-/ seria# ports/ para##e# ports/ "uses/ ?A8 cards/ sound cards/ )= @OM drive/ (ard dis' drive etc./ are used. 9hese components determine the capabi#ities of a computin% system. 9he system components are brief#y described be#ow.
1.2.1 MOTHERBOARD
9he most important component in a P) system is the motherboard. It contains the )P4/ possib#y a math processor/ the system c#oc'/ the @OM with the system "IO- routines/ @AM/ 'eyboard contro##er/ #o%ic that re#ates to I0O operations and many more e#ectronics. A## e#ectronic components may not mounted be on a sin%#e motherboard. Instead they may be #ocated on an e1pansion board or an adapter card p#u%%ed into a s#ot. -ome systems use a passive desi%n that incorporates the entire system circuitry into a sin%#e mothercard. 9he mothercard is essentia##y a comp#ete motherboard that is desi%ned to p#u% into a s#ot. 9he mothercard concept a##ows the entire system to be easi#y up%raded by chan%in% one or more cards. &i%ure 1.1 shows the #ayout of a typica# motherboard.
A typica# motherboard has severa# options that ref#ects the hardware confi%uration by settin% the switches or jumpers. 9he settin% is throu%h the -A94P uti#ity and stored in )MO- @AM. 9he fo##owin% are some of the confi%uration options avai#ab#e> Monitor type )#oc' speed "us speed Memory on+board Memory type @OM siBe
1.2.2
PROCESSOR
9he )P4 or processor is the part that ma'es the computer smart. It is a sin%#e inte%rated circuit referred to as a microprocessor. 9he ear#ier microprocessors were Inte# ,0,0 or ,0,$/ they were very s#ow. 9hen came faster mode#s from Inte# such as ,02,$/ ,03,$/ ,0 ,$ and now Pentium processors. Aach of these vary in speed of their operation. 9he A9 compatib#es < ,02,$ onwards/ run in one of the two modes> @ea# mode Protected mode
9he processor comp#e1 is the name of the circuit board that contains the main system processor and any other circuitry direct#y re#ated to it/ such as c#oc' contro#/ cache/ and so forth. 9he processor comp#e1 desi%n a##ows the user to easi#y up%rade the system #ater to a new processor type by chan%in% one card. In effect/ it amounts to a modu#ar motherboard with a rep#aceab#e processor section. ?atest desi%ns a## incorporate the up%radab#e processor. Inte# has desi%ned a## ,$/ Pentium/ Pentium MM;/ and Pentium Pro processors to be up%radab#e to
faster 5sometimes ca##ed Over=rive6 processors in the future by simp#y swappin% 5or addin%6 the new processor chip. )han%in% on#y the processor chip for a faster one is the easiest and %enera##y most cost+effective way to up%rade without chan%in% the entire motherboard.
1.2.3 MEMORY
Memory is the most important component of a computer meant for storin% data and pro%ram instructions. 9he I"M P) architecture does not differentiate between memory used for storin% pro%ram instructions and that used to ho#d data. -o/ the pro%rammer must ensure that a pro%ram does not overwrite parts of itse#f with data. A computer system uses various types of memory such as semiconductor memories/ f#oppy dis'/ hard dis' and )=+@OM etc. =ifferent address schemes and memory contro##ers are a#so used. 9he memory can be described in terms of physica# and #o%ica# #ayouts.
MEMORY BANK
A ban' is the sma##est amount of memory that can be addressed by the processor at one time and usua##y corresponds to the data bus width of the processor. Memory chips 5=IPs/ -IMMs/ -IPPs/ and =IMMs6 are or%aniBed in ban's on motherboards and memory cards. In order to add memory to the system./ it is necessary to 'now the ban' #ayout..
&i%ure 1.2 shows the #o%ica# address #ocations for a P)+compatib#e system. If the processor is runnin% in rea# mode/ on#y the first me%abyte is accessib#e. If the processor is in protected mode/ the fu## 1$D /07$D or $!/!3$M are accessib#e. Aach symbo# is e3ua# to 1: of memoryD each #ine or se%ment is $ :D and this map shows the first two me%abytes of system memory. CONVENTIONAL (BASE MEMORY 9he ori%ina# P)0;9+type system was desi%ned to use 1M of memory wor'space/ sometimes ca##ed @AM 5random access memory ). 9his 1M of @AM is divided into severa# sections/ some of which have specia# uses. =O- can read and write to the entire me%abyte/ but can mana%e the #oadin% of pro%rams on#y in the portion of @AM space ca##ed conventiona# memory/ which at the time the first P) was
introduced was !12:. 9he other !12: was reserved for use by the system itse#f/ inc#udin% the motherboard and adapter boards p#u%%ed into the system s#ots. I"M decided after introducin% the system that on#y 3, : was needed for these reserved uses/ and the company be%an mar'etin% P)s with $ 0: of user memory. 9hus/ $ 0: became the standard for memory that can be used by =Ofor runnin% pro%rams/ and is often termed the $ 0: memory barrier. 9he remainin% memory after $ 0: was reserved for use by the %raphics boards/ other adapters/ and the motherboard @OM "IO-.
U..$+ M$*!+, A+$' (UMA :0---1---2---3---4---5---6---7---8---9---A---B---C---D---E---F--0A0000:GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG 0B0000:MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC :0---1---2---3---4---5---6---7---8---9---A---B---C---D---E---F--0C0000:VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 0D0000:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa :0---1---2---3---4---5---6---7---8---9---A---B---C---D---E---F--0E0000:rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr 0F0000:RRRRRRRRRRRRRRRRRRRRRRRRbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbRRRRRRRR
E/%$"0$0 M$*!+,:0---1---2---3---4---5---6---7---8---9---A---B---C---D---E---F--100000:hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
NOTE- 9o save space/ this map is ended after the end of the second me%abyte. In rea#ity/ this map continues to the ma1imum of addressab#e memory. 9he way the 3, : of upper memory is used brea's down as fo##ows> 9he first 12,: after conventiona# memory is ca##ed Gideo @AM. It is reserved for use by video adapters. 2hen te1t and %raphics are disp#ayed on+screen/ the e#ectronic impu#ses that contain their ima%es reside in this
space. Gideo @AM is a##otted the address ran%e from A0000+"&&&&. 9he ne1t 12,: is reserved for the adapter "IO- that resides in read+on#y memory chips on some adapter boards p#u%%ed into the bus s#ots. Most GEA+compatib#e video adapters use the first 32: of this area for their on+ board "IO-. 9he rest can be used by any other adapters insta##ed. Many networ' adapters a#so use this area for specia# purpose @AM ca##ed -hared Memory. Adapter @OM and specia# purpose @AM is a##otted the address ran%e from )0000+=&&&&. 9he #ast 12,: of memory is reserved for motherboard "IO-/ 5the basic input0output system/ which is stored in read+on#y @AM chips or @OM6. 9he PO-9 5Power+On -e#f 9est6 and bootstrap #oader/ which hand#es your system at bootup unti# the operatin% system ta'es over/ a#so reside in this space. Most systems on#y use the #ast $ : 5or #ess6 of this space/ #eavin% the first $ : or more free for re+mappin% with memory mana%ers. -ome systems a#so inc#ude the )MO- -etup pro%ram in this area. 9he motherboard "IO- is a##otted the address ran%e from A0000+&&&&&.
3MS M$*!+,
In an A9 system/ the memory map e1tends beyond the 1M boundary and can continue to 1$M on a system based on the 2,$ or hi%her processor/ E 5 /07$M6 on a 3,$=; or hi%her/ or as much as $ E 5$!/!3$M6 on a Pentium II. A1tended memory is basica##y a## memory past the first me%abyte/ which can on#y be accessed whi#e the processor is in protected mode. 9he e1tended memory specification 5;M-6 was deve#oped in 17,* by Microsoft/ Inte#/ A-9 )orp./ and ?otus =eve#opment to specify how pro%rams wou#d use e1tended memory.
is an area of memory 1$ bytes short of $ : in siBe/ startin% at the be%innin% of the first me%abyte of e1tended memory. It can be used to #oad device drivers and memory+resident pro%rams to free up conventiona# memory for use by rea# mode pro%rams. On#y one device driver or memory+resident pro%ram can be #oaded into (MA at one time/ no matter what its siBe.
BIOS
"IO- stands for "asic Input Output -ystem. It is the #ow + #eve# system software that reside on a @ead On#y Memory 5@OM6 chip in the P). 9he "IOpro%rams is a set of routines for dea#in% with input0output devices such as 'eyboard/ disp#ay/ dis's and seria# and para##e# ports. Pro%rams can access these devices by ca##in% the "IO- routines/ and need not be aware of differences between machines that cou#d the way input0output is performed. 9hus/ "IO- enab#es various software to access the P)Ks hardware.
SERIAL PORT
A seria# port is one throu%h which data is transmitted or received bit by bit. It is a#so referred to as an @-+232) port or communications port. 9he seria# ports are based on a chip ca##ed 4A@9 < 4niversa# Asynchronous @eceiver 9ransmitter. It may be bui#t onto the motherboard or it may be a part of a mu#tifunction
e1pansion card. 9he I"M P) architecture a##ows up to four seria# ports to insta##ed in a P). 9hey are accessed via =O- as )OM1 throu%h )OM .
9he I0O port addresses are> )OM1 > 03&,( < 03&&( )OM2 > 02&,( < 02&&( )OM3 > 03A,( < 03A&( )OM > 02A,( < 02A&( 9his port is the most versati#e I0O port on a P) and it is used for interfacin% modems/ 'eyboard/ seria# printers/ p#otters to the system.
PARALLEL PORT
9his port is used to transmit or receive data bits in para##e#/ at the same time. -o/ they can achieve hi%her data rates than seria# interfaces. 9he para##e# port is essentia##y intended to be a one way path from computer to printer. -ince/ a#most a## P) users consider printer to be essentia#/ most manufacturers now bui#d a para##e# interface on to the motherboard. 9he I"M P) architecture supports up to three para##e# ports. 4nder =O- they are ca##ed ?P91 5or P@86/ ?P92/ and ?P93. 9hese ports have addresses 03")( < 03"A(/ 03*,( < 03*A(/ and 02*,( < 02*A( respective#y.
INTERRUPTS
Interrupt re3uest channe# or the hardware interrupts are used by various devices to re3uest the )P4 for their services
A P) has many 'inds of buses/ Processor bus I0O bus Memory bus
CPU
External cache
Main system bus &IE. 1.3 9he processor bus. 9he processor bus is further divided into three types> the address bus/ data bus and contro# bus. 9he '00+$)) 9:) is unidirectiona#/ and used to address the memory and other devices. 9he 0'%' 9:) is a bi+directiona#/ and is used to e1chan%e the data from )P4 to memory or any other device. 9he 1!"%+!( 9:) is used to carry contro# information from )P4 to other devices. Most systems have an e1terna# cache for the )P4D these caches have typica##y been emp#oyed in a## systems that use the Pentium/ Pentium MM;/ Pentium Pro/ and Pentium II chips. In a Pentium+based system/ the processor bus has $ data #ines/ 32 address #ines/ and associated contro# #ines. 9he processor bus operates at the same base c#oc' rate as the )P4 does e1terna##y. 9his can be mis#eadin% as most )P4s these days run interna##y at a
hi%her c#oc' rate than they do e1terna##y. &or e1amp#e/ a Pentium 100 system has a Pentium )P4 runnin% at 100M(B interna##y/ but on#y $$.$M(B e1terna##y.
9o determine the transfer rate for the processor bus often ca##ed the bandwidth of the bus/ the data width 5$ bits for a Pentium chips6 is mu#tip#ied by the c#oc' speed of the bus. A1amp#e/ consider a Pentium chip that runs at a $$M(B motherboard speed/ and its data width of $ bits. 9he ma1imum instantaneous transfer rate is ca#cu#ated by usin% the formu#a> $$M(B 1 $ bits H /22 Mbit0sec /22 Mbit0sec M , H !2,M0sec.
BUS MASTERING
8ewer bus types use a techno#o%y ca##ed bus masterin% to speed up the system. In essence/ a bus master is an adapter with its own processor that can e1ecute operations independent#y of the )P4. 9o wor' proper#y/ bus+masterin% techno#o%y re#ies on an arbitration unit/ most often ca##ed an inte%rated system periphera# 5I-P6 chip. 9he I-P enab#es a bus+mastered board to temporari#y ta'e e1c#usive contro# of the system/ as thou%h the board were the entire system. "ecause the board has e1c#usive contro# of the system/ it can perform operations very 3uic'#y. A bus+masterin% hard drive contro##er/ for e1amp#e/ achieves much %reater data throu%hput with a fast drive than can contro##er cards that are not bus+mastered. 9he I-P determines which device %ains contro# by usin% a four+ #eve# order of priority> =MA transfers -ystem+memory refresh/ the )P4 itse#f/ "us masters/
Micro )hanne# Architecture 5M)A6 AI-A 4niversa# -eria# "us 54-"6 GA-A ?oca# "us 5G?+"us6
9he differences amon% these buses consist primari#y of the amount of data that they can transfer at one time and the speed at which they can do it. Aach bus architecture is imp#emented by a chipset that is connected to the processor bus. 9he fo##owin% sections describe the different types of P) buses very brief#y.
M)A runs asynchronous#y with the main processor/ has no jumpers and switches++neither on the motherboard nor on any e1pansion adapter. It supports bus masterin% which improves its performance over the I-A buses.
a f#oppy dis' contro##er/ the cab#e connectin% the drive to the contro##er board and the f#oppy dis'ettes. =rives and dis's used in P)+compatib#e systems are divided into two c#asses> ! 10 +inch and 3 102+inch. A## f#oppy drives/ re%ard#ess of type/ consist of severa# basic common components. 9o proper#y insta## and service a dis' drive/ you must be ab#e to identify these components and understand their function A f#oppy dis' drive norma##y has two read0write heads one for each side of the dis'/ which ma'es it a doub#e+sided drive. 9he head actuator is a mechanica# motor device that causes the heads to move in and out over the surface of a dis'. 9he -pind#e Motor spins the dis' with the speed of rotation dependin% on the type of drive. 9he circuit boards contains the circuitry used to contro# the head actuator/ read0write heads/ spind#e motor/ dis' sensors/ and any other components on the drive 9he facep#ate is the p#astic piece that comprises the front of the drive. 9hese pieces/ usua##y removab#e/ come in different co#ors and confi%urations A## dis' drives have at #east two connectors++one for power to run the drive/ and the other to carry the contro# and data si%na#s to and from the drive. A &#oppy =is' )ontro##er 5&=)6 is a device contro##er which a##ows the
interchan%e of information between the system memory/ )P4 and the f#oppy dis' drive. 9his device contro##er can support up to four &==s. 9he main functions of &=) is to provide circuitry and contro# functions for interfacin% processor to &==s/ to support doub#e density recordin%/ provide error detection techni3ues and support for writin%/ de#etin%/ see'in% etc. A 1'9($/ usua##y a 3 +wire ribbon connects the &=) to the &==.
Insta##in% &==s re3uires to setup or confi%ure a new f#oppy drive throu%h the fo##owin% steps 5however insta##ation of 3.! inch &==s are s#i%ht#y different6 1. turn off the power and remove the power cab#e from the soc'et. @emove the system unit cover + terminate the drive proper#y 2. remove the b#an'in% p#ate attached to the drive bay 3. set the drive se#ect jumper . se#ect system @eady0=is' chan%e !. s#ide the drive into the case/ connect the drive to the cab#eKs twisted or non+ twisted connector appropriate#y $. attach the power connector *. insta## the mountin% screws ,. rep#ace the system unit cover and power up the system and test the drive 9he usua# causes for the fau#ts in &==s are bad media/ dirty read0write heads/ misa#i%ned drives/ and fau#ty drive e#ectronics or contro##ers. 9o overcome this &==s must be cared proper#y < maintenance.
trac's. A## of the same trac's on each p#atter are co##ective#y 'nown as cy#inder. &urther/ trac's are divided into sectors. 9he fi%ure 1. shows the main components of (==> p#atters/ @ead02rite heads/ (ead Actuators/ spind#e motor. As with f#oppy dis's/ =O- stores hard dis' fi#es in c#usters or a##ocation units. )#uster siBe on hard dis' varies/ but it is typica##y / ,/ or 1$ sectors. 9o read from 5or write to 6 a fi#e/ =O- must convert the c#uster number to cy#inder/ head/
and sector number. It must then issue a "IO- function ca## with these as parameters. Information about the drive is he#d in a drive tab#e/ which is a part of system "IO-/ and is accessed usin% the drive type number. Many compatib#es have entries for up to $ drive types and many machines even have a user+ definab#e drive type. 9he user can enter the characteristics via the -A94P uti#ity. &i%ure 1. showin% (==
H'+0 D&)= C!"%+!(($+ (HDC Is the hardware which is used to communicate with the hard dis'. 9he speed of the system main#y depends on this. Inte%rated =rive A#ectronics 5I=A6 and -ma## )omputer -ystem Interface 5-)-I6 are the most common type of (ard dis' contro##ers in modern computers. -)-I offers %reat e1pandabi#ity/ cross+p#atform compatibi#ity/ hi%h capacity/ performance/ and f#e1ibi#ity. I=A is #ess e1pensive than -)-I and a#so offers a very hi%h+ performance so#ution/ but e1pansion/ compatibi#ity/ capacity/ and f#e1ibi#ity are more #imited compared with -)-I. -)-I offers some additiona# performance potentia# with a mu#tithreaded O- #i'e 2indows 89 or O-02/ but I=A offsets this with a #ower overhead direct system bus attachment.
PARTITIONING
9his is done throu%h =O- command 5&=I-:6. 9his pro%ram divides the dis' into one or more partitions. Aach partition has I= fie#d 5=O-/?inu16. One of these is mar'ed as active < boot from this partition. 9hus/ different operatin% system wi## reside in mar'ed partitions.
)MO- @AM drive type incorrect or #ost 5A96 =is' boot error @ead0write error "ad sectors
VIDEO BOARD
9he video board or video card determines the 'ind of software that can be run on a system and the time re3uired to disp#ay the data on the monitor screen. 9hey decide the co#or and the number of pi1e#s 5picture e#ements6 that can be disp#ayed on the screen. 9he common#y avai#ab#e video boards are Monochrome =isp#ay Adapter 5M=A6/ )o#or Eraphics Adapter 5)EA6/ Anhanced Eraphics Adapter 5AEA6/ Gideo Eraphics Array 5GEA6 etc.
LAN BOARD
9his is an essentia# card that may be inserted into the P)/ when P)Ks need to communicate with each other and share resources over a #oca# area networ'. -ome e1amp#es inc#ude Athernet/ 9o'en @in%/ and A@) 8et.
SOUND CARD
9his card is it is inserted in to the P) and used when it is re3uired to reproduce sound and music on a P). A sound card in combination with a )=+@OM and audio interface/ can p#ay music. 9he sounds are recorded and reproduced either with &M synthesis/ MI=I contro# or wave tab#es.
1.3
SUMMARY
9his unit e1amined the main components of a P) compatib#e system/ how they fit to%ether/ and how they wor'. 9he concepts re#ated to )P4/ memory/ and I0O ports/ "uses/ motherboard/ add+on cards/ mass stora%e devices/ -MP- etc. were brief#y dea#t. (ardware desi%n is a comp#icated subject to be dea#t in few pa%es. (owever/ this unit has %iven you an insi%ht to a## these.
1.6
@UESTIONS
the importance of a motherboard as an important system
1. "rin% out
component of a computer. 2. 2hat is the difference between physica# memory and #o%ica# memoryO 3. A1p#ain the terms> memory ban'/ "IO-/ conventiona# memory/ (MA/ 4MA/ ;M. 2hat is the importance of seria# and para##e# ports in a P)O !. 2hat is an e1pansion s#otO "rief#y state its use. $. 2hat is "us masterin%O
*. 8ame any two popu#ar bus architecture. ,. 2hat are mass stora%e devicesO Eive e1amp#es. 7. 2hat do you mean by formattin% a hard dis'O =escribe the necessary steps invo#ved. 10. "rief#y e1p#ain the operations invo#ved in a )=+@OM drive. 11. 2hat are add+on cardsO 2hy are they usedO Eive e1amp#es.