🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #7113

Re: Port I/O

#7113
From: Bruce Salzman
Date: Fri, 11 Mar 2005 23:26
17 lines
1699 bytes
"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: <4232291c$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4231d1ea$1@newsgroups.borland.com> <4231dc29$1@newsgroups.borland.com> <42320e6a@newsgroups.borland.com> <423215d9$1@newsgroups.borland.com> <423221e8@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
From: " Bruce Salzman" <bruce@nospam.org>
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>
Subject: Re: Port I/O
Date: Fri, 11 Mar 2005 17:26:21 -0600
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 24.94.231.89
Message-ID: <4232291c$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1110583580 24.94.231.89 (11 Mar 2005 15:26:20 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail