Download as pdf or txt
Download as pdf or txt
You are on page 1of 14

cassmate

Data,
Paga

Comand wstd duRduel un 2 ats


lrtaliyton comnaml wod k yltatonal cow.
L4259 can be untalized wth 4lcW's
fer uniam
CW3je gitn duting iasLAdrng ktrkugukin

Orrattnal C.w cocu)


Ocwis gun dun Grusattn 8259 Le when
CCw co77720nde ae st omulsoy for 8259.

Tauchart fer iiüialiatn soW8259


|ICwI
7eady to

cabade
Ues

1Cw

cd
AÇo
and Dy=I
Di Do
D3
D4
ADI SNGI
lCy
AoD7 Ds Ds
A6 As
A

CAL addces untiA

A-ABott
vector 2dhes

Ds D5 D4 D3 D2 Di Do
Ao D Az Ar A io Aa A8
As Au A

Vecor addscss
Ag- A1s=laotyt

8259
|Cw3:ls dlbed. hon thete us mOte than ne
bont in he akom..
D Medthan2 B259 thenut woks um
cascade ote Cmatis slve)
|Ao D De D D4 bs D2 Do
S7 53 32

|= wntout (JRDhabslae
O= IR input doe,n't howe sla
Slae
Dz D6D5DA2D2L Do
D2 |D| IDo

ICWA:à amnn usdto indalse 9259indhtot Musdes.


D7 De Ds D3D2 DI Do
Ao
SENM: BUFms AEOI uPM
O.X
Xbottoyd I9086/808Tde
Bultyed! 0= MCs-80 85mede
) O q u t o FOI

hauing fod pistitis


IR hugkebt paätaity
CSFNM)
2. Sraally tully nastid made: nkully raktd mode 259
dotsnt aaytkame and laur wel qetity inltuyt
because lR3>ptirty than lRs,
But mastet PICignstla aa tt defm same sla
dhis s mot he caae wth BFEM In 3ENM
chesse ansthtt úntuatuyt acutrtly being
Geues his mede ia âld mabti 3259
cascadamode
33 Kotating faisity lod:
as Aitoatii Kitatin: t à ald ton slweal

JRo JR IRe IR3 IRH Rs Re IR7


3 5

biluct anå hã IRlwveljo Jaueat, qriouty and


thus cam fin all thet yohity
Gnd e intouptCEO)

a iNIH Qul. 9259 ets sukespomdig bit iH


GRWon this btt s coaod itcallbd aa
end finrtuzt.
autonati EOI /aute EOT
Indhân Chc dutenq the 3d INTA bat ydle the

it Nansyeafi EOL

His comand albo sond oem 8 pto 8259 but dthib


aTmAd sneckes whth isk bt is to be.set

l 9259 aikfacing utn BO86 (Sing TMucde)


-Gungle 8259 can acCart Bunettuyt
-8259 can be wnitaliycd byguing 1C Wa, ICWa ifg un
- Crce s2s9 isuitaligd flleng álqune takta laa:
Coaordg bt is tt wniRX.
and thús. doberine highst,prisnmy iniruyt.
krishe aent uinstn and ackrwldgathe

be slthed
Hençe 9259 wil make csresonding bit in 19k
amd tortepordng bitOin AR.
uinteuyt
ocessot on cthe dataite bus
Sends 2nd (NTH Uuse to 9259
to dendk lbito vets no, n to un. to

- In AEO mode 19SR brt i& tuslt sthlws u


emain Act ntil apnorate EOl Lmmand
gien,
into the stack ,cleata TFand TF amd tan
addess tte 1SR
- At the end ef 19R EDI oOrnand uta given
Thus maka cotrCSrcrnding bt Oin uneut
peKkPC

255
PPI

D
Do
RD
A
DotDis MEMW
MEMR
Ab-A
Ao
|oW
1OR G28
GaA
Decodes

242% 28
4
OE
)atch
trans 74138 5k
bit EN
STB
T A1 A
A

30t 82H
Ay-Agls3-S6K pr/2 Ao|
lectim
AD,-ADs DEN MlIo RD WR |rdnoBon
ALE BHES7
A nelti
MNJMXFl aA A
o

dlacton
Chin
Ay
As

REGET
|orotor
READY A6
CL
A7 ICW|
X2 9284
CLK
X

RES
pale

3257 Intrfacngan Cabcadid ade

Is called akcadd confguecitien


"prax R259 = 9 and ma wntLps hadold
Dmastu, Q259 hat 3P/EN= +5Y amd s<ave= OV
"adh
eachslaues1NT utnut iaua lometed to IK ilp gmnst
"JNT Of mast j8 Conmcted to INIR ilp g up
mastir addnessess he wnduidual gOe hy CAS.CAS,
CA S2laes
yst the INTE of wn shald be enatd uang
" eachg 259 bas itls g07 addtess has. toulinilitaed
whem amuinRt

sends de inf poto the masbras .


Slces
dhe intps fo ep
int by kanding iNIA's pulbes
-IGt Gonds de brt slave jdendcation n0.9nthe U
slae udenlhis it no. sh CA nes and sct
5.n sonse to
6.Dug Jhe 2d INJA ulscg h 1SE brt dslave 1s
leared in AEOl mde, cthey H1s leasd by hehu
EOl Conm t dhe 1sR

pegoamfohe addhen q he ISe


the 15 Eol con mandy an m
q. At the END
to te msto and sto make the cosend

AsA4 A3AAA lofoais&


llo Mar Az A6
9259 CwI
1W2
3259 1CWI 62
Slaveo ICW2
S250 2
oloue ICW2
AD
ADs
’MEMw.
D7-
De >MEM2
BHE SF/EN
10W SplEN

Ao RDaueo
259 NFCAS CAS
D7-D.
INT RD INT

WRk IROk
D-Dk
AokRD
mastr SCA

|NTA
INT

ToCG
%
Vec
G2A
Gh23

8242 B:8Deud
A
G
DE
ST
o

INTR
Ax-An|:
ADADBHE|S7 DEN RO Gh2
ALE
detod
G12A

A
READK
genottor
REGET
CLK
X2
A6
2%H
gEADY
X
RESET
8257 DIA Contellt
Coaturos f 267:
It haâ tchanmels. uhuh com be
Jibod.ME o cojub
.Çach kannd, has, l6- bt addecdod. and J4 bit huti
uan tramsher data urto GHkB
"be mogammud. induqurdurtly
qrerfotm ad tanaher., it tianay
Do- D
CHO DPO
Dota AODR
Bus CNTR ’ DACKo
Butet
CHI 6bt k DRO
ADR
CNTR DA CKI
RESE T Read
A
Logu
CH 216b tk -DRQ 2
ADDR
CNT ’DAK

As
Lortsol
READ oq CH 3 kbtk-RQ3
HLOA AODR
MEMR Mode CNTR DACK3

ADSTB

T Resovee
MARK
Orwraten
Intally,tern amy dovue haa to doind data behuun
the deie andthe
DMA equeat cDRQ) tomomo, the die has to aund
" The DMA contslt sldaDmA contal
fos cthe CPU tD akit HRQ to the CPU and wate
the HLDA
hern tthe un ti- Gtatza. al tha dat
bus.add bus
and contol bus The CPUas cttu coilatl WE bus
and acknswdgca the HoLDequt cthraugh HLDA Signal
Nor CPU a in the HOLD State and DMA contallet
hat to manage the oruratena set duklk blw CPU,
erROy and io dwics.
Ao-A7 -Ac
BHE
A
Jrtthacng g257 with 9086
Do-D7

3282
xK2
DE 292 2

STB

DEN mlio WR

MN/MX

RESET
READY ycc

CLEgon.
3284
Draur and enlain mast slawe mode.el 9259
Ccacaded mede wth utabl bnamplo, Conud olave

s WAsembly danguge pog for g086


¢ 2 memsy blocks towrhange contint
MOV 3l, Jo00 H
MOy p|, 2000H
MoV CX, 000AH
AGIAN:MOV AX,[SI7
MOV CDIJ, AX
JNCSL
INC.
LOOP AGIAIN
RETINT3

MOY SL,J000+i
MOV DI, 2000H
MOVCX,000A
MOV AL[SIT
MoV AH [StI
CmP AH, AL

You might also like