WWW.DISSERS.RU


...
    !

Pages:     | 1 ||

Mcepco opaoa Poccco eepa Taoc ocyapce exec yepce . A. OB CXEMOTEXHA epooe yeoe ocoe cyeo 4 ypca eoo oee ...

-- [ 2 ] --

Coo coco (pc.8.18) ooe opee oooc eeo ycpoca epea ae (DSR=1), xoee cxpoa (SDET=1), oy opaa (FE=1), oy epeoe (OE=1), oy opo eoc ax (PE=1), aepee epea (TxEND=1), oooc pea (RxRDY=1 ae yepe), oooc epeaa (TxRDY=1 yep yc).

7 6 5 4 3 2 1 DSR SDET FE OE PE TxEND RxRDY TxRDY Opaa COM Pc 8.18 opa ypaeo coa SW opa [11] epcoaoo oepa ee eoope o, cae epy oepe c opaae oceoaeo c co caap ycpoca oeo. ooeo C i8250 ee pecp, opeee copoc pea-epea.

B epcoao oepe oo coyec a opa COM1 COM2. Apecoe pocpaco 3F8h 3FFh epoo opa, 2F8h 2FFh opoo. Pacpeeee opo eoopx cyax ac o capeo papa ypaeo coa. Ec cap (D7), aa acaeoo o apecy 3FBh, pae 0, o o apecy 3F8h pacoaaec pecp pea (epea) ax. B poo cyae (D7=1) o oy apecy acaec a a oea ee aco. Aaoo eec aaee pecpa o apecy 3F9h. Ec D7=0 o apecy 3FBh, o o apecy 3F9h pacoaaec pecp ypae pepa. B cyae, oa D7=1, o apecy 3F9h pacoaaec cap a oea epecea.

B ae 8.1 peeo cooece oeo epecea copoc pea (epea).

Taa 8. oe Copoc (o) oe Copoc (o) 1040 110 24 768 150 12 384 300 6 192 600 3 96 1200 2 48 2400 1 Pecp ypae pepa (apec 3F9h) o acxpooo aaepa ee opa, pee a pc.8.19.

7 6 5 4 3 2 1 0 0 0 RxRDY=1 papeee pepa o oooc pea ax TxRDY=1 papeee pepa o oooc epeaa ax 1 papeee pepa o BREAK o oe 1 papeee pepa o xox CTS, DSR, RI, DCD Pc 8.19 opa pecpa ypae pepa opeee p pepa cy pecp ea pepa. Eo opa oaa a pc.8.20.

7 6 5 4 3 2 1 0 0 0 0 0 C1 C0 IxRDY Pc 8.20 Pecp ea pepa o pecp pacoaaec o apecy 3FAh. Ec IxRDY=1, o e pepa oax ocya. C1 C0 opee o coa pepa: 00 ec pepae o oe OE, PE, FE BREAK;

01 ae p (RxRDY);

10 yep epeaa yc (TxRDY);

11 eoc cocoe CTS, RI, DCD, DSR.

COM1 popoeccopo ccee oee ypoe IRQ4 apoca pepa, COM2 IRQ3.

o apecy 3FBh pacooe ypa pecp, ocy e ac. Be opeeec oeco ax ape, oeco coox , ae opo eoc cpoaa eoc, ycaoa epepa BREAK ypaee 7 6 5 4 3 2 1 opa o apeca 3F8h, 3F9h (pc8.21).

oeco ax ape: 00 ;

01 6 ;

10 7 ;

11 8 0 - 1 co ;

1 2 co a opo: x0 e;

01 o eeoc;

11 o eoc cpoaa eoc: 0 P=0 D4=D3=1;

1 P=1 D4, D3 = caoa epepa, o cpo ye paee oeo BREAK 1 3F8h, 3F9h oe ee aco;

0 - 3F8h ae, 3F9h pecp ypae pepa Pc 8.21 opa pecpa ypae ocyecec epe pecp pacooe o apecy 3FCh. OUT1 OUT2 (pc.8.22) cooecy aac . D4 aycae ec opa p yco, o xo TxD xo RxD ay.

7 6 5 4 3 2 1 0 0 0 TEST OUT2 OUT1 RTS DTR o apecy 3FCh pacoaaec pecp Pc 8.22 opa pecpa ypae oeo coco (pc.8.23). T oeae a ae ay, .e. eee ycpoco e ee c c oepo. T1xRDY oaae oooc pecpa ca epeaa, a TxRDY oooc pecpa xpae ax epeaa. BREAK ycaaaec 1 ec oapyea a cpoa ye. Ec SE=1, o pooa oa cxpoa.

Paoa c py a oo pecpa aaoa SW pc.8.18.

7 6 5 4 3 2 1 T T1xRDY TxRDY BREAK SE PE OE RxRDY o apecy 3FEh pacoaaec pecp coco oea Pc 8.23 opa SW (pc.8.24). DCD o eeop paeoo c caa, RI 7 6 5 4 3 2 1 0 aop oa.

Ocae pap SW oea ec.

DCD RI DSR CTC DCD RI DSR CTC Cocoe ea cocoe Pc 8.23 opa SW oea op Ca DB9 DB25 Hapaee oceoaeo c aapao oe peaoa cocae TxD 3 2 Bxo pax C. Cxeoexa opa oe e o, e e a eo popapoae epec. epcoa RxD 2 3 Bxo oep ee pae oe ex ycpoc opa. po cooa a a paeo - 25 9 oae.

DTR 4 20 Bxo Ha pc.8.24 oaao cooece cao oaa paea apaee epeaaeo opa. Bce ca e DSR 6 6 Bxo popa ocy, o e, pye ac.

8.4 POPPAMMPEM OHTPOEP PEPBAH RTS 7 4 Bxo CTS 8 5 Bxo pepau uponpoeccopx cucmeax. pepa peca coo epecaoy oeca poeccopa, ay DCD 1 8 Bxo ee o ooe oeo cpy po.

co pepa o epepe ycpoca, oepaop RI 9 22 Bxo popoeccopo cce, popae cpeca. ec pepa pecac cao, ocae popoeccopy.

GND 5 7 o ca ae eee yaae cea oa popoeccopa. popaa, oe oopo epexo popoeccop peyae pepa, aaec popao Pc 8.24 Pae COM opa opao pepa.

Cyecye a oxoa opaa pepa: co ce pepa ca o yaae oa popaa opao;

c a pepae ca co coce yaae co popaa opao. B epo oxoe oaeo oa ooea opa (o pepa), o o co pepa. o oy pepa aec cooecya opopaa opao. Bo opo oxoe cooecya popaa aec aoaec, ..

cyecye ecoo ypoe pepa.

o p oopeeo ocye apoca a pepae papeaec ycaoee popeo ey ypo pepa.

pepa ec a acpyee eacpyee. epe oy apee papee popa cocoo a ypoe popoeccopa a ypoe opoepa pepa. Bope e oy apee popao.

uueca opauau npepau. Co pe eco opaa paa paay eopy ccey pepa.

B paao ccee pepa aoy apocy IRQ cooecye oe xo popoeccopa apec. popaca a IRQ o oea oa xoa opopay. Bxo pocxo aoaec o apocy, o popao o opocy. B oox cyax ce oa coxpaec cee, a ce oa acaec capo apec opopa.

Ha pc.8.25 oaa pae ycooo paecoo ooae popoeccopa i8085 c xoa apoco pepa [10].

C e yee oexoycooc coy ecoo o aycax cao IRQ: caec, e pocxo eee eo opoa TRAP M ypo (RST5.5, RST6.5);

aec, e aa i copoc apaca caa (RST7.5);

aec RST7. opoa (TRAP). Bce pepa, poe NMI, acpyee.

RST5. aa e paaa IRQ oe Caece pepaea acpa, oey o RST6. cxee oaoe Ȼ apoc o ecox coo (pc.8.26). o a aaeoe Heacpyeoe NMI pacpee paao cce eoo noua.

ec ec oa poea, caa c eae coa. Peaec oa opoco Pc 8.25 Paaa ccea pepa oooc aoo coa.

Cxea opoca oaaa a pc.8.27. y a apoco oa coco oceoaeo opoce coco cex ycpoc, cax c ao e apoca.

M +5V IRQ RST paep Coxpa Opoc oec oooc o Pc 8.26 Cxea oa Bemopa cucmea npepau.

eee poeypa eoc Boccao ocya cce pepa oec pepa cao c D0 IRQ apaepae aep oa CALL D1 IRQ pepae epeae y D2 IRQ eepa oo D3 IRQ apaepa (eopa D4 IRQ pepa) Pc 8.27 Opaa ocya o opocy D5 IRQ e cpeca.

D6 IRQ epec eopoo apoca pacpe o VECT, oopa D7 IRQ oe a aooo, a coeeo c o ax.

cxpoa pao poeccopa coa eopa RD INT pepa coyec ca INTA. Pacpee eopo cce WR coco poepoa ex, popao ypaex cpec, oope copa ope (epepe) apoc IRQ1, IRQ2,...

A IRQN.

CS CAS Cyecye a oxoa pee o aa. ep coco CAS epeae y oppoa eopa pepa eey INTA CAS MS/SL Pc 8.28 cooe paecoe ooaee C ycpocy. Bopo epeae y oppoa eopa pepa ceaoy ycpocy opoepy pepa.

Paccop popapye opoep pepa P580BH59 (i8259). cooe paecoe ooaee C peeo a pc.8.28.

Bxo D0D7 xo xo oe e ax popoeccopo cce. paee ee ac oec caap caa RD#, WR#, A0, CS#. Bxo INTA cy oepe oye caa pepa popoeccopo c xoa INT C . MS/SL# - xo opeee: ey (1) eo (0) . Ha xo IRQ0-IRQ7 ocya apoc pepa o ex ycpoc eox opoepo. Bceo eec 8 ypoe pepa, o x oo pacp o 64, eoo acaoo e . o CAS0-CAS2 (xo/xo) eyey epeaec o eooo , p acao oe.

popapoae opoepa coco ac ecox ypax co. ep acaec coo ICW1. Apec oe e, .e. xo A0=0. D4 D3 e cpoae ae 1 0, oaae, o ocyae epoe ypaee coo (pc.8.29). F ycaaae a eopa pepa. Ec F=1, o a pae 4. Ec F=0, o a oce. S ycaaae oeco opoepo (S=1 o , S=0 - ecoo ). Pap D7-D5, ypaeo coa oea a a a apeca eopa pepa. popapyee ae apeca A7 A6 aa 8 A7, A6, A5 aa 4. Mae pap apeca, A4 A0, 7 6 5 4 3 2 1 cc .

Bop o eeoy apecy acaec ICW2, opeeee A7 A6 A5 1 0 F S capy ac apeca eopa pepa (pc.8.30).

Tpee ypaee coo ICW3 ee e oa acaec oo oa ec ey eoe . Bey , o eeoy apecy, acaec ICW3.1. Beo , 7 6 5 4 3 2 Pc 8.29 opa ICW ae o eeoy apecy, acaec ICW3.2.

Pap Ui coa ICW3.1 (pc.8.31) pa aee 1 ec A15 A14 A13 A12 A11 A10 A9 A cooecy xo IRQi C oe xoy INT eooo . aee 0 acaec ex cyax, oa cooecyey xoy IRQi oea apoca pepa eeo ycpoca.

Pc 8.30 opa ICW 7 6 5 4 3 2 1 Pap Ui coa ICW3.2 (pc.8.32) - o o eooo , oo pae oepy xoa IRQ eyeo .

U7 U6 U5 U4 U3 U2 U1 U Ocyae pepa oec coa OCW1 OCW2.

ypae coa oy aca e oaeo ce a ICW coa.

7 6 5 4 3 2 1 Hapep, OCW Pc 8.31 opa ICW3. pec opopaax opao 7 6 5 4 3 2 1 0 M7 M6 M5 M4 M3 M2 M1 M pepa. Ho eo ao ca p - - - - - U2 U1 U aa. Coo Pc 8.33 opa OCW OCW1 pecae coo acy pepa, Pc 8.32 opa ICW3.2 acaec o eeoy apecy (pc.8.33). Eoe aee a Mi opye poxoee apoca c cooecyeo IRQ xoa.

Hyeoe aee papeae poxoee pepa.

Coo OCW2 ee oee coy cpyypy (pc.8.34), ..

ypae aepee pepa (EOI), co oa popeo 7 6 5 4 3 2 1 (R) ycaoo ceaoo ypo pepa (SL, L2, L1, L0).

acaec o eoy apecy (A0=0). D4 D3 oaeo R SL EOI 0 0 L2 L1 L o e yeoe aee, o pep pacoaa C OCW2 ICW1. oo ppeo oaao a pc.8.35.

Paccop ocoe oa OCW2 x ece .

Pc 8.34 opa OCW ae ye aca aa co capeo, ceoo, a.

oa 00100000 peec cyax ooo aepe pepa, ee aoee pacpocpaee.

Ceaoe aepee pepa, oa 01100L2L1L0, coyec aepe ocya opeoo ypo pepa. ocee p a (L2, L1, L0) cooecy ooy oy oepa o popeo aepaeoo pepa.

ec c ypoe c o poe popea aepee pepa ee oa 10100xxx. Tp ocex a paoe e 7 6 5 4 3 2 1 yacy oy pa e oece IRQi ae. o popeo ycaaaec o ocyaeoy pepa. Hapep, yc Hapaee ca Pc 8.35 oo popeo apoc o IRQ5. Toa oce ac OCW2=A0h (AFh), ypoe ee ca pope, a oo popeo ee : 54321076. apoc IRQ6 ye e co pope.

oa 11100L2L1L0 peec ecoo ca ypoe popeo co cea aepee pepa. L2, L1, L0 opee o a popea. Hapep, yc oo ee 76543210 oye apoc o IRQ3, o o OCW2=11100101 (L=101b 5D). Toa epexo cxooe cocoe ye peapoa a ocyae pepa, a oo popeo ee aee 54321076.

Papeee pae ypoe popeo papeaec oae 10000L2L1L0. oaa ycaaae cayc ypoe e oe oepa aepe pepa, e cxoo coco.

Cpoc papee pae ypoe popeo oec ac OCW2=00000xxx.

ec c popeo e aepe pepa cooecye OCW2= 11000L2L1L0. ocee p a opee o a oa.

oycae opaoy pepa o opocy, o peec oa pae peo. B opoep, o eoy apecy, aca coo OCW3 (pc.8.36). pep opeee coa: 7 =0, 4 = 0, 3 = 1. pe ceye oa: ycaoa pea opoca (000011xx);

papeee e pecpa ocya pepa OCW1 (00001011);

papeee e pecpa apoco pepa IRR (00001010);

papeee pepa ceaoo acpoa (01101000);

cpoc pepa ceaoo acpoa pepa (01001000). o eeoy apecy ca a co ae pepa IRR OCW1. Pecp IRR : oaae ec pepae (1) eo e (0), a ae p a (2,1,0) coepa o pepa peyeo ocya. o cooecye oepy xoa IRQ.

Cxea popapoa oppoepa ceya:

7 6 5 4 3 2 1 - ao popae ICW1 ap. (PIC) 0 SM RM 0 1 POL RD RDEN ICW2 ap. (PIC+1) OCW1 ap. (PIC+1) OCW2 ap. (PIC) - cpoc opoep cxooe cocoe.

- opopae opao pepa Pc 8.36 opa OCW DI PUSH... - coxpa ce pecp...

( eo opopa)...

POP... - oca ce pecp, poe A, PSW.

OCW2 (PIC) - cpoc opoep POP PSW EI RET Bpeea apaa pao pee apoca oaaa a pc.8.37. Ha xo opoepa IRQi ocyae apoc o eeo ycpoca eooo . opoep oppye apoc INT epeae popoeccopy.

Boe a ca oepe INTA, oyeoo o popoeccopa, o e ax epeae ey o oa CALL. Ec ec acaoe ee, o oyae o eooo opoepa o, oppye apec xoa eop pepa oe a a oepe IRQi INTA ocae caaa a INT a apeca, a ae cap. Ta INTA opao, popoeccop epexo oe DATA CALL Apec L Apec H opopa opao pepa.

CAS eaop apoca epcoa oep a AT ee a Pc 8.37 Bpeea apa pao opoepa pepa.

oeco apoco 16. B oex XT coyec o . o ca, opao pepa c oepa pepa, coyec aa eopo. aae ep oa O o 0000:0000 o 0000:03FF, ae 256 eeo FAR apeco opaoo pepa. B epo coe eea a acao ceee, a o opo apec ceea opao pepa. Hapep, pepa 0 apec 0000:0000, pepa 1 apec 0000:0004 .. o ce popae pepa cpe x 16 aapax. Ba.8. peea caapa aa BIOS. opo pacooe apoco pee cooec c x popea.

Ta 8. Be co pepa op NMI 02h opo , eoc ax ( XT copoeccop) IRQ0 08h O aepa, acoa 18.2 IRQ1 09h O aayp p aa oa a IRQ2 0Ah acapoa IRQ8 IRQ15 ( XT peep) IRQ8 70h O aco peaoo pee, p coae aco ya IRQ9 71h Peep o opoepa EGA XT IRQ10 72h Peep IRQ11 73h Peep IRQ12 74h Peep PS/2 - mouse IRQ13 75h O aeaecoo copoeccopa (pae oe AT) IRQ14 76h O HDC - opoepa HDD AT IRQ15 77h Peep IRQ3 0Bh O opa oceoaeo c COM2 COM IRQ4 0Ch O opa oceoaeo c COM1 COM IRQ5 0Dh O HDC opoepa XT, LPT2 AT, yoa apa peep IRQ6 0Eh O FDC - opoepa FDD IRQ7 0Fh O pepa LPT Peepe apoc pepa oy cooac ooeo oae oepy ycpoca, apep cee aaepo (IRQ11), ooe IDE (IRQ15) p. Caapa pacaa apoco oe eea ooaee.

popapoae opoepa pooc o apeca: ey 20h, 21h;

eo A0h, A1h.

pae coa acac ICW1 20h (A0h), ICW2 ICW4 21h (A1h).

oa aa ICW1 ICW2 epcoao oepe e eoope o o aaox ypax co P580BH59 [11]. o ca c cpoa ao pepa, yeee cex apecx papo (pc.8.38), oee eepoo ypaeo coa ICW4 popa ypaee yceoc xoo IRQ. S ypae oeco opoepo. Ho AT oex peec oo acaoe ee. Cape p a e coyc.

7 6 5 4 3 2 1 0 0 0 1 0 S pa ICW4:

yceoc 1 coyec;

xoo IRQ:

0 - e paee coo ICW 1 o ypo;

1- o , 0 - ecoo opeee ao apec eopa pepa aaoo pc.8.30. Mae 2 0 e 0 o poy coyc o e yee ae. e ee pec ICW3.1 ICW3. (pc.8.31, pc.8.32). Ho 7 3 ICW3.2 peoeyec pe c ye ae.

Pc 8.38 opa ICW1 epcoao oepe oaoe coo ICW4 aae pe pao AT oex, a XT oex o pe a aa (pc.8.39) 7 6 5 4 3 2 1 0 0 T popoeccopa:

SFNM ae 0 8080;

pe oeoc 1 8086/8088 cape popeo apoco AEOI = 1 aoaecoe eyeo eooo aepee pepa e cpoca a ac MS/SL#: 1 ey;

0 - eo BUF=1 pa yeppoao Pc 8.39 opa ICW4 epcoao oepe B oepaoo pee epcoaoo oepa ocpae oa OCW1 OCW3. ac pooc o apeca: OCW1 21h (A1h), OCW2 OCW3 20h (A0h). O o pc.8.33, pc.8.34 pc.8. e.

Caapoe popapoae peeo a.8.3. coyec pe oex pepa c cpoa popeo aoaec ecea aepee pepa. aa opopaa opao aepaec ac OCW2 = 20h.

Ta 8. oaa XT AT (ey ) AT (eo ) ICW1 12h 11h 11h ICW2 08h 08h 70h ICW3 --- 04h 02h ICW4 0Fh 1Fh 1Bh OCW1 xxh xxh xxh OCW2 20h 20h 20h OCW3 0Ah 0Ah 0Ah apaa oepe INTA a apoc INT ae a a, o ep e ece oa oa.

ecee oo opo . epeaec 8 eop pepa, .e. oep o oopoy cca a poeypy opao pepa xpac ae pepa.

CCO TEPATP 1 Klaus-Peter Scholz. Microelectronik und deren Bauelemente - Berlin: Verl. Technik, 1986. 240 S.

2 Ae T.M., Tep-Xaaypo A.A. epea exa. M.: Bc. ., 1991. 384 c.

3 Exe H.H., yep .A., ayoc B.. p. epee epecx eepecx e. M.: epoaoa, 1990. 352 c.

4 Aaa .. pop eo epe epecx e. M.: Bc. ., 384 c.

5 pop epoepe opoa 4352. acop. op. 1984. 20 c.

6 Ocopa yxyeo yepca C1-74. Texecoe ocae cpy o cyaa B2.044.077 TO. 7 eyo H.H. Mpopoeccope cpeca cce. M.: Pao c. 1989. 288 c.

8 ayp .., opo B.., Mooo.. p. 80386: Ocae ccea oa. M.: MAȻ. 1991. c.

9 Pentium processor family. http://www.intel.com 10 axo B.A. Mpopoeccop popoeccope oe epax pocxe. M.: Pao c. 1988. .1. 368 c.

11 poo A.B., poo.B. Aapaoe oeceee IBM PC. .1. M.: AO-MȻ,1992. 208c BBEEHE................................................................................................................................... 1 MC B MPOPOECCOPHX CCTEMAX X.............................. APAMETP.............................................................................................................................. 2 OCHOBHE XAPATEPCT APAMETP.................................................... MEPTEHX POPOB........................................................................................... 3 METO OPEHOCT MEPEH.................................................................. 4 MTMETP.................................................................................................................. 5 ETPOHH OCOPA................................................................................. 6 MEPEHE ETPECX BEH B MPOPOECCOPHX CCTEMAX....................................................................................................................................................... 7 MPOPOECCOP....................................................................................................... 7.1 MPOPOECCOP i8080.............................................................................................................................. 7.2 MPOPOECCOP I80386............................................................................................................................ 7.3 MPOPOECCOP PENTIUM MMX........................................................................................................... 8 OMOHEHT MPOPOECCOPHX CCTEM............................................. 8.1 C APAEHOO BBOA-BBOA.................................................................................................. 8.2 C TAMEPA.................................................................................................................................................. 8.3 C HBEPCAHOO PEMO-EPEATA................................................................................ 8.4 POPPAMMPEM OHTPOEP PEPBAH...........................................................................

OB op Aecee CXEMOTEXHA eoe ocoe Peaop T. M. a eep o oepoy aepoa. . opaeoa....

..

...

......

...

.

Pages:     | 1 ||



2011 www.dissers.ru -

, .
, , , , 1-2 .