Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!decwrl!ucbvax!sdcsvax!sdcc6!sdcc18!cs162ffl From: cs162ffl@sdcc18.ucsd.EDU (John Schultz) Newsgroups: comp.sys.amiga Subject: Re: How do I read the Joysticks? Message-ID: <817@sdcc18.ucsd.EDU> Date: Wed, 25-Nov-87 15:32:18 EST Article-I.D.: sdcc18.817 Posted: Wed Nov 25 15:32:18 1987 Date-Received: Sun, 29-Nov-87 10:48:58 EST References: <760@hubcap.UUCP> <816@sdcc18.ucsd.EDU> <2073@umd5.umd.edu> Reply-To: cs162ffl@sdcc18.ucsd.edu.UUCP (John Schultz) Organization: University of California, San Diego Lines: 42 Keywords: joysticks In article <2073@umd5.umd.edu> louie@trantor.umd.edu (Louis A. Mamakos) writes: >In article <816@sdcc18.ucsd.EDU> cs162ffl@sdcc18.ucsd.edu.UUCP (John Schultz) writes: > >> Here is a simple joystick routine in Modula-2. >c'mon guys, this ain't no >Apple II or C-64 where we go PEEKing and POOKing at random places in memory. The information I offered does the equivalent of a PEEK. No POOKs (or POKES for that matter). >I suppose that these people will get what they deserve eventually. Oh, ok. Why include such a statement? > >John Schultz: I suggest that you get a copy of the devices and libraries >or any of a number of very good books out there. You'll find the proper way >to diddle the joysticks/mice without confusing other applications that might >happen to be running on your amiga at the time, and that are portable to newer >Amiga products that might be available in the future. > This tells us nothing new. I have plenty of written data, but my routines are as fast, compact, and efficient as possible. Any other method will be slower, larger, and less efficient (but my mind is still open for a better method). > >Louis A. Mamakos WA3YMH Internet: louie@TRANTOR.UMD.EDU >University of Maryland, Computer Science Center - Systems Programming I offer solutions, others submit suggestions. Why not show us your solutions? John (Reading joydat is harmless. If anyone can *prove* otherwise I'm all ears [not just hypothetical situations]. If the hardware is changed, then will my programs compiled today that access joydat via the gameport.device still work? I seem to have heard somewhere that even that device does not follow the so-called rules)