Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ dma_enable(K) — System V/386 Software Development System 3.2.2b

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     DMA_ENABLE(K)             UNIX System V             DMA_ENABLE(K)



     Name
          dma_enable - begins DMA transfer

     Syntax
          #include "sys/dma.h"

          int
          dma_enable(chan)
          unsigned chan;

     Description
          This routine starts a DMA transfer.  There is no return
          value. This routine clears the mask register on the
          controller to let a DMA transfer begin.

     Parameters
          The chan argument specifies the DMA channel to be used.
          Possible values are:

          8-Bit Channels:    DMA_CH0, DMA_CH1, DMA_CH2, DMA_CH3

          16-Bit Channels:   DMA_CH5, DMA_CH6, DMA_CH7

          Channel 4 is not available.  Other channels may be
          permanently allocated by system drivers.  Consult the
          /usr/adm/messages file for which channels are in use.  Use
          printcfg in your driver initialization routine to display
          the DMA channel that you select.

     See Also
          dma_param(K), dma_start(K), dma_relse(K), dma_alloc(K),
          dma_resid(K), printcfg(K)

                                                      (printed 7/6/89)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026