[comp.sys.ibm.pc] Game ports on an AT

fargo@pawl.rpi.edu (Irwin M. Fargo) (03/08/89)

Could someone please send me information on the interrupt to use on an AT to
access the game port?

Thank you and happy hunting!   Internet: fargo@pawl.rpi.edu
    ____    [> SB <]                     fargo@{paraguay|uruguay}.acm.rpi.edu
   /__      -=>??<=-        Bitnet (??): usergac0@rpitsmts.bitnet
  /   ARGO : 3000 years of regression from the year 4990

matthew@sunpix.UUCP ( Sun NCAA) (03/11/89)

#Could someone please send me information on the interrupt to use on an AT to
#access the game port?


INT 15 - SYSTEM - READ JOYSTICK (AT,XT2,XT286,PS)
	AH = 84h
	DX = subservice
	     0 get switch settings
	       return: AL = switch settings (bits 7-4)
	     1 read joystic inputs
	       return: AX = A(x) value.
	       return: BX = A(y) value.
	       return: CX = B(x) value.
	       return: DX = B(y) value.
-- 
Matthew Lee Stier                         |
Sun Microsystems ---  RTP, NC  27709-3447 |        "Wisconsin   Escapee"
uucp: { sun, mcnc!rti }!sunpix!matthew    |
phone: (919) 469-8300 fax: (919) 460-8355 |