🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Port I/O

#7103
From: Remy Lebeau (TeamB)
Date: Fri, 11 Mar 2005 17:57
20 lines
1371 bytes
"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: <4231dc29$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!newsprint.newsread.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>

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>
Subject: Re: Port I/O
Date: Fri, 11 Mar 2005 09:57:59 -0800
Lines: 22
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: <4231dc29$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1110563881 68.69.17.41 (11 Mar 2005 09:58:01 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!newsprint.newsread.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail