TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Jim Fitzsimmons
from: Thomas Seeling
date: 1996-06-10 07:50:06
subject: Joystick Reading

Hallo, Jim!

*** Am Freitag 07. Juni 1996 um 21:25 schrieb Jim Fitzsimmons an All:

 JF>  I have been using this code for reading the Joystick under Dos But I
 JF> don't think it is valid under OS/2 at least EMX/GCC reports errors
 JF> about undefined symbols. Can anyone point out what is the problem with it
 JF> as it is?

 JF>         int86(0x15, ®s, ®s);

You cannot use this kind of call to the OS. You need a joystick device
driver, which is floating around everywhere. Use its documentation to find
out the usage (DosDevIOCtl or just DosOpen/DosRead etc.).


Tschau...Thomas

--- E3-32/1.11-32/2.50+
* Origin: Die TeX-Box +49-6034-1455 V.34 -930022 ISDN 24h (2:244/1130.42)
SEEN-BY: 50/99 270/101 620/243 625/100 711/401 409 410 413 430 808 809 934
SEEN-BY: 711/955 712/407 515 517 628 713/888 800/1
@PATH: 244/1130 24/999 888 396/1 270/101 712/515 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.