*BSD News Article 18462


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!haven.umd.edu!uunet!math.fu-berlin.de!irz401!uriah!not-for-mail
From: j@bonnie.tcd-dresden.de (J Wunsch)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Joystick Device Driver availablility
Date: 9 Jul 1993 13:17:44 +0200
Organization: Textil Computer Design GmbH, Dresden, Germany
Lines: 17
Message-ID: <21jk4oINN63f@bonnie.tcd-dresden.de>
References: <21f0ocINN6bh@uwm.edu>
NNTP-Posting-Host: bonnie.tcd-dresden.de

In article <21f0ocINN6bh@uwm.edu> knier@miller.cs.uwm.edu (Robert Knier ) writes:
>
>		Just wondering if there is a device driver available for
>the standard joystick port?  If not, are there any good sources?  Thanks.
>

Probably a silly thing. Not that i don't find it useful playing with
a joystick, but we've inherited one of IBM's pitfalls. To request the
joystick's position, you have to send a pulse out of port 0x200, thus
starting a timer (mono-flop, one channel of a NE556), then you have
to query port 0x200 regularly to measure the time 'til the mono-flop
falls back. Kinda CPU hog, not much good to run under unix, i'm afraid.
-- 
in real life: J"org Wunsch |   )  o o  | primary: joerg_wunsch@tcd-dresden.de
above 1.8 MHz:   DL 8 DTL  |    )  |   | private: joerg_wunsch@uriah.sax.de
                           | . * ) ==  |
          ``An elephant is a mouse with an operating system.''