[comp.sys.atari.st] SUPRA Code for read/write DMA port

crash@calgary.UUCP (Glen ) (03/01/88)

Hi,

  I've gone through the Supra DMA code quite throroughly, and
used it. One possible bug is with their use of the "dma" variable.
First off thats a bad name for it. It is used for two purposes, to
select one of eight dma devices, and then to select one of eight
units on that device. Normally, no matter what device you select,
you'll want unit zero (it being first). However if you use the Supra
code, and select device 1, you'll get unit 1 (and so on). This is
because they reuse "dma" for unit selection.

I have re-documented their code, probably handy for those with
out developers doc. I have also made some code to make all work.
Anyone who wants let me know.

M. Braner- got your mail, replied but it suffers from this sq.sq.com
thing.

Glen