Article View: alt.msdos.programmer
Article #1103Game port information (was Re: IRQ2 or IRQ5)
From: Tomi H Engdahl
Date: Sun, 10 Jan 1993 10:08
Date: Sun, 10 Jan 1993 10:08
16 lines
1338 bytes
1338 bytes
In article <1993Jan9.124633.19036@mnemosyne.cs.du.edu> istuart@nyx.cs.du.edu (Ian Stuart) writes:
>What IRQ is the game-port on?
Game port does not have any IRQ line. It is just a simple polled
device. It has just I/O address 201h, which you can read and write.
Writing to that address resets the flip-flop timers in the card, which
are used for measuring the state of the joystick potentiometers.
By reading the card you get the state of the buttons and flip-flops.
--
Tomi.Engdahl@hut.fi ! LOWERY'S LAW:
then@snakemail.hut.fi ! "If it jams - force it. If it breaks,
! it needed replacing anyway."
Technical Details
Message-ID:
<THEN.93Jan10120814@lk-hp-17.hut.fi>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.funet.fi!ajk.tele.fi!funic!sauna.cs.hut.fi!news.cs.hut.fi!thenReferences:
<1993Jan7.122713.17450@walter.cray.com> <1993Jan9.124633.19036@mnemosyne.cs.du.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.funet.fi!ajk.tele.fi!funic!sauna.cs.hut.fi!news.cs.hut.fi!then From: then@snakemail.hut.fi (Tomi H Engdahl) Newsgroups: alt.msdos.programmer,comp.msdos.programmer,comp.os.msdos.programmer,comp.sys.ibm.pc.programmer Subject: Game port information (was Re: IRQ2 or IRQ5) Date: 10 Jan 93 10:08:14 GMT Organization: Helsinki University of Technology, Finland Lines: 17 Distribution: inet Message-ID: <THEN.93Jan10120814@lk-hp-17.hut.fi> References: <1993Jan7.122713.17450@walter.cray.com> <1993Jan9.124633.19036@mnemosyne.cs.du.edu> NNTP-Posting-Host: lk-hp-17.hut.fi In-reply-to: istuart@nyx.cs.du.edu's message of Sat, 9 Jan 93 12:46:33 GMT