🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Port I/O

#7112
From: Remy Lebeau (TeamB)
Date: Fri, 11 Mar 2005 23:10
27 lines
1907 bytes
"Tom Jackson" <tjax@comcast.net> wrote in message
news:423221e8@newsgroups.borland.com...

> An asm in or out instruction raises EPriviledge exception.

Only on NT-based systems, which is why you need to use Beep() for those
systems instead.

On Win9x, the instructions are not privileged.

> I don't want to use Beep() because it is not powerful enough for what I
want to do.

What EXACTLY are you trying to accomplish?  The PC speaker is not very
powerful to begin with.

> The components/code from Torry's Delphi Pages uses the in
> and out instructions too. Apparently under win9x and me the
> in and out instruction are not privileged.
>
> At least under win2k it seems I cannot access the speaker!

Two of the components at Torry can work fine on both 9x and NT systems.


Gambit
Technical Details
Message-ID: <4232254f$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!diablo.voicenet.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!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: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
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 15:10:39 -0800
Lines: 29
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <4232254f$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1110582607 68.69.17.41 (11 Mar 2005 15:10:07 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!diablo.voicenet.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail