Mail Archives: djgpp/1995/07/05/00:08:02
Xref: | news-dnh.mv.net comp.lang.c:27655 comp.os.msdos.djgpp:771
|
Path: | news-dnh.mv.net!mv!news.sprintlink.net!ratty.wolfe.net!news.net99.net!gate.usaor.net!news
|
From: | "P. Tumati" <ptumati AT usaor DOT net>
|
Newsgroups: | comp.os.msdos.djgpp,comp.lang.c
|
Subject: | Re: Sound blaster
|
Date: | 4 Jul 1995 20:13:18 GMT
|
Organization: | USA OnRamp
|
Lines: | 27
|
References: | <DB5K3B DOT C08 AT freenet DOT carleton DOT ca>
|
Nntp-Posting-Host: | dyn215.gator1.usaor.com
|
To: | ao950 AT FreeNet DOT Carleton DOT CA
|
Dj-Gateway: | from newsgroup comp.os.msdos.djgpp
|
ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) wrote:
>
>
>Me again... simple question, no doubt complex answer.
>How do I a) detect and b) control a sound blaster or compatible card from
>C? Neither my compiler nor my blaster came with any info on this. I need
>to know every little thing: how to generate simple and more complex
>waveforms and sounds, how to ASYNCHRONOUSLY(!) read in and play a WAV or
>MIDI file, etc. I assume interrupt calls with int86?
>Assume I'm fairly C-literate, but know only a small amount about registers
>and interrupt calls and a lot less about the sound blaster.
>
if you have a driver, you can load it and make calls to the
driver, but as for making int86 calls, it won't work... you're
going to have to use ports and registers...
download PCGPE from x2ftp.oulu.fi, it has a good explanation of
SB programming (which I myself am having trouble programming...)
so if you get anywhere with generating simple things like a square
wave, lemme know... because after I detect my sb with my routines,
I will get sounds sometimes, but they don't sound really good...
and sometimes I get strange static...
- Raw text -