isa dma & bus masters

15
ISA DMA & Bus Masters By Nishant H. Shah Roll No : 0412096 Batch : B4

Upload: nishantshah2381

Post on 27-Jun-2015

2.865 views

Category:

Business


1 download

DESCRIPTION

All about ISA DMA BUS Transfers

TRANSCRIPT

Page 1: Isa Dma & Bus Masters

ISA DMA & Bus Masters

By Nishant H. Shah

Roll No : 0412096

Batch : B4

Page 2: Isa Dma & Bus Masters

• What is DMA ?• ISA DMA Signals• Modes of Dma Tranfers• Dmac Priority Logic• Dmac Adressing

capabilty• ISA Bus Master

Page 3: Isa Dma & Bus Masters

ISA Bus Master

• All The Channels of DMA is Programmed for Cascaded Mode

• Bus Master is Attached To Master DMAC

Page 4: Isa Dma & Bus Masters

ISA DMA Signal Lines

• DRQ [3:0] - DMA Request

DRQ [7 :0] - DMA Request

• DAK# [3:0] - DMA Acknowledge

DAK# [7:5] - DMA Acknowledge

• TC - Transfer Complete

• Master16# - For 16 bit Bus Master

• AEN - Address Enable

Page 5: Isa Dma & Bus Masters

Associated Signals with ISA DMA

• SA [19:0] - System Address Bus

• La [ 23:7] - Latchable Address Bus

• SBHE# - System Bus High Enable

Page 6: Isa Dma & Bus Masters

DMA Channel Assignments In ISA

Channel 0 : Earlier was used for DRAM Refresh on

8bit ISA .Now its on 16 bit ISA used for 16 bit Bus Master

Channel 1: For External DeviceChannel 2: Floppy And Hard drive Controller

Page 7: Isa Dma & Bus Masters

DMA Channel Assignments In ISA

Channel 3 :

Hard disk controller

Channel 5 :

Hard disk controller

Channel 6 & 7:

External Device

Page 8: Isa Dma & Bus Masters

Modes of DMA Transfers

• Single Transfer Mode

• Block Transfer Mode

• Demand Transfer Mode

• Cascaded Mode (used in 16 bit ISA Bus)

Page 9: Isa Dma & Bus Masters

DMA Priority Logic

• Fixed Priority

• Rotating Priority

Page 10: Isa Dma & Bus Masters

Addressing Capability of DMA

• Address Range of 16 MB

000000H-FFFFFFH

This Can Achieved with 16bit Memory Address Register associated with DMA & 8bit external DMA Page Register

Page 11: Isa Dma & Bus Masters

Addressing Capability of DMA

• Addressing for Slave DMA

• Addressing Master DMA

• Addressing The ISA Memory

DMAC resides on X-bus & Addresses Bus on ISA Bus

Page 12: Isa Dma & Bus Masters

When ISA MASTER requests for the Bus following Sequence Takes place

• Requesting device asserts DRQ line

• Master DMA 8237 asserts Hold request to the Microprocessor

• In response The Microprocessor asserts HLDA

Page 13: Isa Dma & Bus Masters

• Master DMAC asserts DAK line associated with respective DRQ line of Bus Master

• Now ISA Bus Master card should Asserts MASTER16#

• This causes AEN signal on ISA bus to be deasserted.

Page 14: Isa Dma & Bus Masters

• When ISA Bus Master has completed it uses of the bus it desasserts DRQ line

• And DMAC deasserts DAK and HOLD

• And this Deasserts HLDA line On Micro processor

Page 15: Isa Dma & Bus Masters

Thank You

Nishant H. ShahBE ETRX BATCH – B4

Roll No: 0412096