home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / alt / msdos / programm / 3127 < prev    next >
Encoding:
Internet Message Format  |  1993-01-10  |  1.4 KB

  1. Xref: sparky alt.msdos.programmer:3127 comp.msdos.programmer:113 comp.os.msdos.programmer:11964 comp.sys.ibm.pc.programmer:763
  2. Path: sparky!uunet!mcsun!news.funet.fi!ajk.tele.fi!funic!sauna.cs.hut.fi!news.cs.hut.fi!then
  3. From: then@snakemail.hut.fi (Tomi  H Engdahl)
  4. Newsgroups: alt.msdos.programmer,comp.msdos.programmer,comp.os.msdos.programmer,comp.sys.ibm.pc.programmer
  5. Subject: Game port information (was Re: IRQ2 or IRQ5)
  6. Date: 10 Jan 93 10:08:14 GMT
  7. Organization: Helsinki University of Technology, Finland
  8. Lines: 17
  9. Distribution: inet
  10. Message-ID: <THEN.93Jan10120814@lk-hp-17.hut.fi>
  11. References: <1993Jan7.122713.17450@walter.cray.com>
  12.     <1993Jan9.124633.19036@mnemosyne.cs.du.edu>
  13. NNTP-Posting-Host: lk-hp-17.hut.fi
  14. In-reply-to: istuart@nyx.cs.du.edu's message of Sat, 9 Jan 93 12:46:33 GMT
  15.  
  16. In article <1993Jan9.124633.19036@mnemosyne.cs.du.edu> istuart@nyx.cs.du.edu (Ian Stuart) writes:
  17.  
  18. >What IRQ is the game-port on?
  19.  
  20. Game port does not have any IRQ line. It is just a simple polled
  21. device. It has just I/O address 201h, which you can read and write.
  22. Writing to that address resets the flip-flop timers in the card, which
  23. are used for measuring the state of the joystick potentiometers.
  24. By reading the card you get the state of the buttons and flip-flops.
  25.  
  26.  
  27.  
  28. --
  29. Tomi.Engdahl@hut.fi    !  LOWERY'S LAW:
  30. then@snakemail.hut.fi  !  "If it jams - force it. If it breaks,
  31.                        !   it needed replacing anyway." 
  32.  
  33.