Hello.

Ryan Underwood wrote:
The design is simple to me. The programmer of the application need do nothing but SynthOpen the correct devices, and then SynthWrite the data to them.
Sounds good. It would probably be a good
idea to provide an optional way to query
user's time and request the timer events
from user. It may be that the user's time
is different than the real time. dosemu
uses the real time, but AFAIK dosbox uses
the emulated time (CPU-emu relative).
It may also be possible that the real card's
sampling rate is not very precise (the pcsp
driver rounds the sampling rate rather cruely),
in which case you'll have one more timing
source with which you also have to keep in
sync. Last time I dealt with all that mess,
it wasn't very simple (see linux_sound.c :)

Plan to support the following synths in the library, all can be either hardware or emulated:
How are you accessing the hardware btw?
ioperm() ?

or DMA and such are not candidates.
Yes, DMA is out of question, that's for sure.

The OPL-chip has an internal IRQ but it can be triggered
or cleared by simply writing to the OPL's port.
AFAIK it is not even connected to any of
the PIC wires, but why can't you provide an
optional way to notify the user about an IRQ?
Simply calling the user's registered call-back
function might just do the trick, so why not?

-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to