[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 351
  • Last Modified:

Theoratical DMA question

Hi,
    I have a question regarding DMAs. I understand the concept that the DMA is used to organise the movement of data so that the processor can get on with processing it. What are the implications if 2 DMAs are used? Is there any sort of limit to the number of DMAs you could use? Would it cause bigger problems with keeping the cache consistent?
Thanks in advance,
Nik.
0
PiersBull
Asked:
PiersBull
  • 2
1 Solution
 
datnCommented:
DMA or direct memory access are used by high speed devices that bypasses the CPU, therefore, "direct". Serial and parallel ports are not DMA, but sound cards and SCSI cards often are. In IBM-AT compatible machines, you have access to 7 DMA channels. If you have the same DMA channel being used at the same time, you will have a resource conflict. However, if the devices do not need the DMA simultaneously, it is possible to share the DMA. For example, if you have a tape backup and a network adapter, you can do backups, but not while being on the network.
0
 
PiersBullAuthor Commented:
Hi datn,
    Does 7 DMA channels imply that there are 7 DMAs? i.e. 7 seperate pieces of hardware?

Cheers.
0
 
datnCommented:
You actually have two DMA controllers per card. The first 4 DMA does transfers at 8-bit, while the 2nd 4 DMA has 16-bit transfers. Channel 0 does not appear on most 16-bit cards. If it does, it still only transfers data at 8-bits. Channel 1 and 5 are usually for the sound, with channel 5 being only 16-bit. Channel 2 is universally used by the floppy controller. Channel 3 is for ECP parallel ports. Channel 6 is available usually as a SCSI. Channel 7 is also a 16-bit available.
0

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now