Path: utzoo!attcan!uunet!ncrlnk!ncrcae!hubcap!gatech!ukma!xanth!mcnc!rti!sunpix!matthew From: matthew@sunpix.UUCP ( Sun NCAA) Newsgroups: comp.sys.ibm.pc Subject: Re: Game ports on an AT Summary: from the interupt list posted awhile back... Message-ID: <411@greens.UUCP> Date: 10 Mar 89 21:18:07 GMT References: <856@rpi.edu> Organization: Sun Microsystems, Research Triangle Park, NC Lines: 20 #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 |