Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uwm.edu!spool.mu.edu!news.cs.indiana.edu!ariel.unm.edu!pprg.unm.edu!topgun!mustang!nntp-server.caltech.edu!nyet From: nyet@nntp-server.caltech.edu (n liu) Newsgroups: comp.os.msdos.programmer Subject: Re: Joystick reads in MS-C? Message-ID: <1991Jun14.072039.20217@nntp-server.caltech.edu> Date: 14 Jun 91 07:20:39 GMT References: <1991Jun13.170233.1179@ceres.physics.uiowa.edu> Organization: California Institute of Technology, Pasadena Lines: 11 rlm@ceres.physics.uiowa.edu writes: >We would like to read a joystick using Microsoft C for an application on an >HP Vectra 386 running MS-DOS. Does anyone either have a routine which >does this or can advise us where to look for joystick reading software? Reading the port directly is a drag (but is possible), but bios is the easiest; int15 subfunction 84h (check yer favorite interrupt list). If you need more info, mail me, and i'll send you the specifics. nye