Article View: borland.public.cppbuilder.nativeapi
Article #7115Re: Port I/O
From: Tom Jackson
Date: Sat, 12 Mar 2005 03:35
Date: Sat, 12 Mar 2005 03:35
32 lines
2307 bytes
2307 bytes
Its simplicity was what I wanted. I hoped to demonstrate some simple DSP and sound theory in the simplest of environments before moving on to the more complex. Back in the pre-dos days, I managed to get the color computer (a z-80 based machine with a cassette tape drive) to play some pretty complex music. Oh well, I will just have to re-think it. Thanks for your efforts! Tom " Bruce Salzman" <bruce@nospam.org> wrote in message news:4232291c$1@newsgroups.borland.com... > > "Tom Jackson" <tjax@comcast.net> wrote in message > news:423221e8@newsgroups.borland.com... > > An asm in or out instruction raises EPriviledge exception. I don't > > want to > > use Beep() because it is not powerful enough for what I want to do. > > > > Can you find an old computer running DOS? Seriously, the PC speaker > has always been a problem for Windows. In order to produce sounds, you > need the timer chip, which is being used for other things. That's why > the WinAPI doesn't expose much of an interface for it (Beep() and > MessageBeep(0xFFFF), and those grundgingly). What you want to do was > commonplace 10 or 20 years ago, but the PC has moved on. > > Regards, > Bruce > >
Technical Details
Message-ID:
<423262f1$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!uio.no!uninett.no!news.net.uni-c.dk!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<4231d1ea$1@newsgroups.borland.com> <4231dc29$1@newsgroups.borland.com> <42320e6a@newsgroups.borland.com> <423215d9$1@newsgroups.borland.com> <423221e8@newsgroups.borland.com> <4232291c$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,dfd1a77f2aeefe74 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Tom Jackson" <tjax@comcast.net> From: "Tom Jackson" <tjax@comcast.net> Newsgroups: borland.public.cppbuilder.nativeapi References: <4231d1ea$1@newsgroups.borland.com> <4231dc29$1@newsgroups.borland.com> <42320e6a@newsgroups.borland.com> <423215d9$1@newsgroups.borland.com> <423221e8@newsgroups.borland.com> <4232291c$1@newsgroups.borland.com> Subject: Re: Port I/O Date: Fri, 11 Mar 2005 22:35:00 -0500 Lines: 34 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 NNTP-Posting-Host: 69.240.187.199 Message-ID: <423262f1$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1110598385 69.240.187.199 (11 Mar 2005 19:33:05 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!uio.no!uninett.no!news.net.uni-c.dk!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail