Gary.Day@p10.f7.n391.z8.fidonet.org (Gary Day) (07/27/90)
Does anyone know how to access the joystick from Turbo Pascal? I got used to being able to use the port on an apple for analog inputs of all sorts. I would like to do the same with the IBM. -- ------------------------------------------------------------------------------- N.W. Arkansas' UUCP to FidoNet Connection. If you are interested in connecting up Contact Kenneth Whelan. Addresses postmaster@palace or at 1:391/9(Fido) 97.6 % of All Statistics are Made UP -------------------------------------------------------------------------------
ts@uwasa.fi (Timo Salmi LASK) (07/27/90)
In article <59.26AF8412@palace.fidonet.org> Gary.Day@p10.f7.n391.z8.fidonet.org (Gary Day) writes: >Does anyone know how to access the joystick from Turbo Pascal? I got used to being able to use the port on an apple for analog inputs of all sorts. I would like to do the same with the IBM. The joystick can be accessed using interrupt 15Hex, sevice 84Hex. If you are not familiar with interrupt programming see any good Turbo Pascal textbook covering this subject, such as Ezzel, Programming the IBM User Interface Using Turbo Pascal. Also see Norton & Wilton, The New Peter Norton Programmer's Guide to the Ibm PC & PS/2. ................................................................... Prof. Timo Salmi (Moderating at anon. ftp site 128.214.12.3) School of Business Studies, University of Vaasa, SF-65101, Finland Internet: ts@chyde.uwasa.fi Funet: gado::salmi Bitnet: salmi@finfun