Article View: borland.public.cppbuilder.nativeapi
Article #7106Re: Port I/O
From: Tom Jackson
Date: Fri, 11 Mar 2005 21:34
Date: Fri, 11 Mar 2005 21:34
32 lines
1804 bytes
1804 bytes
Thanks. I am trying to write a simple sound routine to the built in PC Speaker. This is for experimental and learning purposes. I must figure out how to talk to the driver. Can you point me in the right direction? Tom "Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message news:4231dc29$1@newsgroups.borland.com... > > "Tom Jackson" <tjax@comcast.net> wrote in message > news:4231d1ea$1@newsgroups.borland.com... > > > What happened to inp(), outp() etc? > > They were done away with. The OS protects against direct access to hardware > now. You have to use device drivers to control hardware. > > > I just need to read and write to port 61h. > > What exactly are you trying to accomplish in the first place? > > > asm fails because it requires protected mode and it seems > > inp() and outp() are no longer in conio.h > > Correct. > > > Gambit > >
Technical Details
Message-ID:
<42320e6a@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4231d1ea$1@newsgroups.borland.com> <4231dc29$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> Subject: Re: Port I/O Date: Fri, 11 Mar 2005 16:34:23 -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: <42320e6a@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1110576746 69.240.187.199 (11 Mar 2005 13:32:26 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail