delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/19/15:36:34

From: "Steven Taylor" <s_taylor AT primus DOT com DOT au>
Newsgroups: comp.os.msdos.djgpp
References: <3768A98B DOT 47FBAC85 AT computerpro DOT com> <929630375 DOT 731702 AT diddley DOT primus DOT com DOT au> <wrba3.800$uo1 DOT 29302 AT news DOT uswest DOT net> <37694978 DOT E6FD74DC AT computerpro DOT com>
Subject: Re: Sound C++ with DJGPP
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
Organization: Internet Primus
Message-ID: <929775094.155365@diddley.primus.com.au>
Cache-Post-Path: diddley.primus.com.au!unknown AT ras549 DOT ports DOT adel DOT primus DOT com DOT au
X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/)
Date: Sat, 19 Jun 1999 16:18:01 +0930
NNTP-Posting-Host: 203.134.0.92
X-Complaints-To: abuse AT telstra DOT net
X-Trace: nsw.nnrp.telstra.net 929775092 203.134.0.92 (Sat, 19 Jun 1999 16:51:32 EST)
NNTP-Posting-Date: Sat, 19 Jun 1999 16:51:32 EST
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> Unfortunately the information for sound with the pc speaker is in pascal
and
> doesn't make much sense to me. I'm trying to acomplish this in C++ and
don't
> know any pascal.

As far as I can remember, the document clearly explains how it works and the
coding is a trivial part of it. The main thing you'll have to do some
research on is effectively hooking interrupts. DJGPPFAQ.TXT (or the html
version) will explain this clearly.

Alternitavely, Allegro has some excellent internal routines which are
excellent coding examples of interrupt hooking.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019