🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: demon.tech.pc
Article #68996

Re: Addressing individual serial port pins - possible?

#68996
From: Chris Isbell
Date: Wed, 17 Apr 1996 00:00
31 lines
1848 bytes
In article: <83h1fBA1z5cxEwpu@pzoptic.demon.co.uk>  Tim Carter 
<tim@pzoptic.demon.co.uk> writes:
> 
> Friends
> what I would like to do is address individual serial port pins to run an
> external device from a c or pascal program.
> eg on program command "X" pin 1 will go high (?+5V) and on command "Y"
> pin 1 will go to ground.
> Is this possible and if so how? If not serial port pins then any other
> port?

The parallel (printer) port would probably be a better bet. 
(Assuming that you want output only.) Provided you can make your
hardware fake an on-line printer (which should not be too difficult)
you could use the BIOS printer services to toggle the lines.

> If this is the wrong news group I sincerely apologise - please tell me
> where to go (nicely!).

This is the right group. (Well done! :-)

> Many thanks in advance for any help.  ps I get out of my depth on pc
> technicals very quickly!!

Well it's never too late to learn. You will need to do so if you
want to mess around with low level hardware interfacing.

-- 
Chris Isbell               Southampton, England
chris@kenda.co.uk (work)   chris@isbell.demon.co.uk (home)
+44 1703 869922            +44 1703 465367
Technical Details
Message-ID: <501591271wnr@kenda.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <83h1fBA1z5cxEwpu@pzoptic.demon.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1036bc,6e54c45d9fbd1089
X-Google-Attributes: gid1036bc,public
From: Chris Isbell <chris@kenda.co.uk>
Subject: Re: Addressing individual serial port pins - possible?
Date: 1996/04/17
Message-ID: <501591271wnr@kenda.co.uk>
X-Deja-AN: 148007888
x-nntp-posting-host: kenda.demon.co.uk
references: <83h1fBA1z5cxEwpu@pzoptic.demon.co.uk>
x-broken-date: Wed, 17 Apr 1996 16:44:14 GMT0BST1
x-mail2news-path: relay-4.mail.demon.net!post.demon.co.uk!kenda.demon.co.uk
organization: Kenda Electronic Systems Ltd
reply-to: chris@kenda.co.uk
newsgroups: demon.tech.pc