🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.lang.learn.c-c++
Article #794

Re: How can I write to a PC port through dos

#794
From: Lawrence Kirby
Date: Sun, 27 Dec 1998 00:00
16 lines
1739 bytes
In article <914778641.26356.0.nnrp-12.c2dea518@news.demon.co.uk>
           sar@sar-home.demon.co.uk "Spencer Anthony Robinson" writes:

>Please could somebody help me I am trying to find out how to use C to read
>and write to the ports of a PC though DOS. Any examples would be appreciated

The C language itself provides no way to do this. You'll need to use
DOS related extensions so ask in a newsgroup such as
comp.os.msdos.programmer. Incidentally why did you cross-post this
to non-English language newsgroups?

-- 
-----------------------------------------
Lawrence Kirby | fred@genesis.demon.co.uk
Wilts, England | 70734.126@compuserve.com
-----------------------------------------
Technical Details
Message-ID: <914788363snz@genesis.demon.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <914778641.26356.0.nnrp-12.c2dea518@news.demon.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1014db,3e22ec85252b9f7c
X-Google-Attributes: gid1014db,public
X-Google-Thread: f58d1,3e22ec85252b9f7c
X-Google-Attributes: gidf58d1,public
X-Google-Thread: fdcad,3e22ec85252b9f7c
X-Google-Attributes: gidfdcad,public
X-Google-Thread: 114592,3e22ec85252b9f7c
X-Google-Attributes: gid114592,public
X-Google-Thread: f9822,3e22ec85252b9f7c
X-Google-Attributes: gidf9822,public
From: fred@genesis.demon.co.uk (Lawrence Kirby)
Subject: Re: How can I write to a PC port through dos
Date: 1998/12/27
Message-ID: <914788363snz@genesis.demon.co.uk>
X-Deja-AN: 426242577
References: <914778641.26356.0.nnrp-12.c2dea518@news.demon.co.uk>
X-Complaints-To: abuse@demon.net
X-Mail2News-Path: news.demon.net!genesis.demon.co.uk
X-Trace: mail2news.demon.co.uk 914792197 mail2news:15286 mail2news mail2news.demon.co.uk
Organization: none
Reply-To: fred@genesis.demon.co.uk
Newsgroups: alt.comp.lang.learn.c-c++,comp.lang.c,fr.comp.lang.c,fr.comp.lang.c++,han.comp.lang.c