TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Geert Bosch
from: Peter Fitzsimmons
date: 1995-02-25 01:51:28
subject: Crash OS/2 from DOS

PF> Yes,  but the interface to this device driver is supposed to
 PF> be used by MMOS2,  not by the end programmer -- so you are

 GB> That's true, and I know that. I hoped however that MMOS2 would just be a 
 GB> more advanced layer upon a well-defined device-driver 
 GB> interface. That would make it possible to access the 

Okay,  so you understand what is going on... I suggest you buy the DDK (or
Device Driver Devcon I think they are calling it now,  since it includes
the devcon cdroms),  where you will get all the details (and some source
for an actual sound driver).


 GB> of hardware independency. The file-interface to some 
 GB> kind of audio device driver would be much simpler to 
 GB> use than MMOS2 and be sufficient for most applications.

I think the whole point of MMOS2 is to make it simple;  going directly to
the SBAUD*$ device will be harder,  and non-portable (you're assuming a
sound blaster).

 PF> Read the toolkit MMOS2 stuff;  you'll probably want to use
 PF> the MCI api to send it a "play" command.
 GB> AFAIK the play command requires a filename to play 
 GB> from. Since I want to play audio from tape, I can't

You can (with more work) feed it data from anywhere you want.  The MMOS2
docs are not very good at giving an overview (I have not untangled it
myself yet,  so I can't immediately tell you how to do it).  If you figure
it out,  let me know -- I want to do the same thing (cd to tape,tape to
audio).


--- Maximus/2 2.02p1
* Origin: Sol 3/Toronto (905)858-8488 (1:259/414)
SEEN-BY: 12/2442 620/243 624/50 632/348 640/820 690/660 711/409 410 413 430
SEEN-BY: 711/807 808 809 934 942 949 955 712/515 713/888 800/1 7877/2809
@PATH: 259/414 400 99 250/99 3615/50 229/2 12/2442 711/409 808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.