Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!rpi!peck From: peck@ral.rpi.edu (Joseph Peck) Newsgroups: comp.sys.amiga.programmer Subject: Re: Help: *@$#%! Joysticks.... Message-ID: Date: 16 Jan 91 16:41:54 GMT References: <`42^3D|@rpi.edu> <91015.145934DXB132@psuvm.psu.edu> Organization: Rensselaer Polytechnic Institute, Troy NY Lines: 37 Nntp-Posting-Host: ral.rpi.edu In article <91015.145934DXB132@psuvm.psu.edu> DXB132@psuvm.psu.edu writes: >In article <`42^3D|@rpi.edu>, peck@ral.rpi.edu (Joseph Peck) says: > >>will be easy to fix..... I am *attempting* to be multi-tasking friendly >>and not do anything that will trash other programs running in the >>background. (Geee, where's Mike Farren when you need him? I think > >I don't see how reading the ports directly is going to "trash" other programs. >Really, I think this is a case of going overboard in trying to be a >friendly program. (A worthy goal, especially if it's not an arcade-type game). I don't really either, that was more of a general statement about my entire programming intentions. There are really two reasons why I would like to avoid reading the hardware directly. The first is that eventually, the locations of the joystick registers may be moved. (I know, its not likely, but why take a chance if you don't have to....) The second is that there are several points in the game where you make a selection using the joystick. Since we do have this neat multitasking machine, if you flip to a different screen to check on something else, I still pick up left mousebutton clicks as firebutton actions! This is really no great trauma, since it is just a game, but it would be "nice" if it didn't do this. > >Kind of reminds me of the long, complicated program in AmigaMail a while back >about how to toggle the LED that could have been done quite nicely with >bchg #1,$bfe001 / rts. What 2.0 REALLY needs is an led.resource....:-) :-) :-) > >-- Dan Babcock Joe Peck peck@ral.rpi.edu P.S. Buy lot's and lot's of my game. The more money that I make on this one, the better the next ones will be (better equipment). :) .