Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!ll-xn!ames!ptsfa!well!ewhac From: ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab) Newsgroups: comp.sys.amiga Subject: Re: gameport.device Message-ID: <2713@well.UUCP> Date: Fri, 6-Mar-87 03:15:24 EST Article-I.D.: well.2713 Posted: Fri Mar 6 03:15:24 1987 Date-Received: Sun, 8-Mar-87 04:39:33 EST References: <292@umbc3.UMD.EDU> <3757@sdcc3.ucsd.EDU> <2680@well.UUCP> <3771@sdcc3.ucsd.EDU> Reply-To: ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab) Organization: Whole Earth 'Lectronic Link, Sausalito, CA Lines: 43 Keywords: gameport joystick cleanup arrrrgggg In article <3771@sdcc3.ucsd.EDU> ee173way@sdcc3.ucsd.edu.UUCP (John Schultz) writes: > > Well, Leo, I understand your point, but do you really think that >they are going to change all of the addresses with the new machines? You don't know if they will or they won't. But they will alter the OS to make it invisible to programs that follow the rules. >I'll bet my *compiler* won't even generate code properly (judging >from how long it takes for them to deliver their upgrades (Modula-2)). >So how do you access port 0? If you do as shown in the RKM- Kaboom. >Of course one could always patch in ahead of input events (which I >may have to do to maintain machine compatibility). This is one of the few fundamental design flaws of Intuition, namely, that you can't make it go away and give back control of gameport 0 and sprite 0. Yes, the official way is to patch in ahead of Intuition and snarf all the InputEvents. Personally, I just use gameport 1, which is tons easier to attach to. >I'll have to >experiment further...But for the average hack, what does it matter > ^^^^^^^^^^^^ >to have fun reading the hardware? > Yes, personal private hacking is fine. But if you're creating code that is to be redistributed in any form, you really should follow the rules. When I write a new display hack for public consumption, I try to follow all the rules, and where things get iffy, I try to document what I'm up to so that, if it breaks later on, you know where to look. That's how I feel about it. _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ ________ ___ Leo L. Schwab \ /___--__ The Guy in The Cape ___ ___ /\ ---##\ ihnp4!ptsfa!well!ewhac / X \_____ | __ _---)) ..or.. / /_\-- -----+==____\ // \ _ well ---\ ___ ( o---+------------------O/ \/ \ dual ----> !unicom!ewhac \ / ___ \_ (`o ) hplabs -/ ("AE-wack") ____ \___/ \_/ Recumbent Bikes: "Work FOR? I don't work FOR The _O_n_l_y Way To Fly! anybody! I'm just having fun."