🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.multimedia
1 messages
1 total messages Started by Mark Beutnagel Tue, 01 Sep 1992 19:44
WANTED: low overhead parallel port I/O buffering
#470
Author: Mark Beutnagel
Date: Tue, 01 Sep 1992 19:44
32 lines
1933 bytes
I'm look for source code (C preferred) that allows a DOS
program to send bytes to a parallel port in some fashion
that lets the DOS program continue computations.  For
instance, imagine a signal processing program that produces
8-bit audio samples in (barely) real-time and a digital/audio
converter sitting on the parallel port.  The program produces
a small buffer of samples every few milliseconds.  The DAC
will probably be playing 8KHz MULAW, but that doesn't
really matter.  Print spoolers might also have such functions.

It seems that everything in the PC world wants to open a file
and play a file, usually while nothing else is happening.
I need routines that allow the program to queue up each new
buffer and get on with computing the next one.  With a fast PC,
my guess is that I could live with an interrupt per byte if
need be.

The last item on the wish-list is that someone has such
routines for a 32-bit environment.  I'm using Watcom C9.0
and the DOS/4GW extender.

Any pointers would be greatly appreciated.  Please respond via
e-mail.  I'll post a collection of interesting responses if
warranted.

Thanks in advance,

Mark Beutnagel                                  (908) 582-2952
AT&T Bell Labs, Rm 2D-513                       (908) 582-7308 [FAX]
P.O. Box 636       (for US mail, -or-)          mcb@research.att.com
600 Mountain Ave.  (for UPS, etc.)              ...!research.att.com!mcb
Murray Hill, NJ 07974-0636
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads