🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: sci.electronics
Article #22241

DMA conflict with Hard Disk Writes on IBM PC/AT -- HELP!!!

#22241
From: A J Annala
Date: Sun, 11 Feb 1990 23:35
26 lines
1953 bytes
I have an eight channel multiplexed analog to digital converter hooked
up to a SONY PCM-F1 digital signal processor (aka digital audio to VCR
video conversion box).  The 16 bit wide * 88.1 KHz data stream can be
retrieved as a 16 bit TTL bus signal plus data ready strobe via 25 pin
RS-232-C shell connector on the back of the box. 

The data stream is currently being read into an IBM PC/AT via a simple
TTL compatible digital input card using channel 6 on the second 8237A
DMA controller.  The problem comes when I try to simultaneously input
the data stream from the digital input card and write the data to hard
disk.  I get many errors from the disk (going through either Turbo C
formatted/unformatted io calls, MSDOS file service calls, MSDOS fixed
disk service calls, or BIOS fixed disk service calls) when I try to do
a write while simultaneously reading data from the DMA chip.  

Perhaps if I were to use a large capacity FIFO chip in the data stream 
I might be able to mask out (disable) channel 6 for long enough to write 
data to the hard disk.  Does anyone have any suggestions here?  Dr. Dobbs
used a 1024 byte FIFO chip (IDT7202 source unknown) to buffer data about
100 KBytes/second.  His code ran in an interrupt service routine (does
this maybe suspend DMA briefly?).  In any case I am open to suggestions
about how to get this data into memory and write it to disk continuously
and without interruption.

Thanks, AJ
  
Technical Details
Message-ID: <22828@usc.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!zaphod.mps.ohio-state.edu!usc!neuro.usc.edu!annala
References: <1753@pbhyc.PacBell.COM> <7466@chaph.usc.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!zaphod.mps.ohio-state.edu!usc!neuro.usc.edu!annala
From: annala@neuro.usc.edu (A J Annala)
Newsgroups: sci.electronics
Subject: DMA conflict with Hard Disk Writes on IBM PC/AT -- HELP!!!
Message-ID: <22828@usc.edu>
Date: 11 Feb 90 23:35:31 GMT
References: <1753@pbhyc.PacBell.COM> <7466@chaph.usc.edu>
Sender: news@usc.edu
Distribution: usa
Organization: University of Southern California, Los Angeles, CA
Lines: 26