home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky alt.msdos.programmer:3127 comp.msdos.programmer:113 comp.os.msdos.programmer:11964 comp.sys.ibm.pc.programmer:763
- Path: 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
-
- 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."
-
-