home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / sci / virtual / 2783 < prev    next >
Encoding:
Text File  |  1992-08-16  |  2.3 KB  |  73 lines

  1. Newsgroups: sci.virtual-worlds
  2. Path: sparky!uunet!usc!sol.ctr.columbia.edu!destroyer!ubc-cs!uw-beaver!news.u.washington.edu!milton.u.washington.edu!hlab
  3. From: asklingl@immd4.informatik.uni-erlangen.de (Andreas Klingler
  4. Subject: Re: TECH: SEGA light guns
  5. Message-ID: <1992Aug17.060407.22429@u.washington.edu>
  6. Originator: hlab@milton.u.washington.edu
  7. Sender: news@u.washington.edu (USENET News System)
  8. Organization: CSD., University of Erlangen, Germany
  9. References: <1992Jul29.065124.26313@u.washington.edu> <Bs5Hzt.JyG@watserv1.
  10. Date: Thu, 13 Aug 1992 08:46:32 GMT
  11. Approved: cyberoid@milton.u.washington.edu
  12. Lines: 59
  13.  
  14.  
  15.  
  16. rcaslis@hydra.acs.uci.edu (Russell Caslis) writes:
  17.  
  18. >Could you post some pin-outs?
  19.  
  20. Ok. Here we go:
  21.  
  22. An Amiga Joystickport looks like this (for a lightpen):
  23.  
  24.                         Pin 3   left button
  25.                             4   right button
  26.                             5   pen pressed to screen (not used here)
  27.                             6   capture beam position
  28.                             7   +5V (125 mA)
  29.                             8   GND
  30.  
  31. One might use Pin 5 for the trigger of the gun, however it's easier to
  32. read Pin 3 or 4 in software, so I used Pin 3.
  33.  
  34. Beware that only one Port has the input for the beam. As far as I know
  35. this is Port 1 (the right one) on all new Amigas. Only on the A1000 it
  36. is Port 0 (the front one).
  37.  
  38. This is how the Nintendo connector looks:
  39.  
  40.               ------
  41.              /   1 |
  42.              | 5 2 |
  43.              | 6 3 |
  44.              | 7 4 |
  45.              -------
  46.  
  47.         Gun             Amiga (joystick port)
  48.         ---------       --------------------
  49.         pin 1 GND       pin 8
  50.         pin 5 +5V       pin 7
  51.         pin 6 Beam      pin 6
  52.         pin 7 Trigger   pin 3
  53.  
  54. (5 and 7 might by exchanged . You'd better check this. I can't
  55. anymore, since I cut of the connector.)
  56.  
  57. To enable reading of the beam to have to set some flag in the
  58. hardware.
  59.  
  60. I have put up a software which lets you control the mouse pointer with
  61. the gun on karazm.math.uh.edu (129.7.128.1) in Incoming/VR as
  62. AmigaGun.lha.  (Makes fun shooting at those Workbench drawers.
  63.  
  64. I just sould add some sound effects. :) )
  65.  
  66. The program should also appear at ftp.informatik.uni-erlangen.de
  67. (131.188.1.43) in amiga/misc soon.
  68.  
  69.  
  70. Andreas Klingler
  71. asklingl@informatik.uni-erlangen.de
  72.        I'd love to help you out... Which way did you come in?
  73.