Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!rochester!udel!burdvax!sdcrdcf!trwrb!cadovax!keithd From: keithd@cadovax.UUCP Newsgroups: comp.sys.amiga Subject: Re: Intuition's "dont mess with these" fields... Message-ID: <1830@cadovax.UUCP> Date: Wed, 28-Oct-87 13:57:21 EST Article-I.D.: cadovax.1830 Posted: Wed Oct 28 13:57:21 1987 Date-Received: Sun, 1-Nov-87 01:40:14 EST References: <1961@amiga.amiga.UUCP> <1825@cadovax.UUCP> <21469@ucbvax.BERKELEY.EDU> Reply-To: keithd@cadovax.UUCP (Keith Doyle) Organization: Contel Business Systems, Torrance, CA Lines: 53 Keywords: Intuition verboten nopokenzefields In article <21469@ucbvax.BERKELEY.EDU> bryce@hoser.berkeley.edu (Bryce Nesbitt) writes: >Nobody is going to like this solution much, You got that right. >but you will have to admit it should work: Well, it won't BREAK anything once 1.3 is out, but that is because it is designed to STOP WORKING then. >Check the version of Intuition (IntuitionBase->LibNode.lib_Version): >If it is *above* 34, then assume that the bug has been fixed, or at >least the IntuitionBase *has* changed, and thus cannot be messed with. >(I call it a bug because I highly suspect a change to the OS will render >your problem null and void) You're implying that in 1.3, if you do an OpenScreen() of an overscan screen, that MaxXMouse and MaxYMouse will automatically be adjusted appropriately. If that is true, then yes, your fix should do the trick. I tend to doubt that C= is willing to guarantee this. (and at *exactly* what version number?) >This solution is *slightly* better than just mashing Intuition's private >data structure. Assuming the "bug" is fixed in Intuition version 35. (or some known version) >BTW: The "LockIBase(0L)" call can be used to disable Intuition temporarily >while doing wild things. Again it is not good to do such things, but at >least try to protect yourself. Example: >long key; > > key=LockIBase(0L); > /* Do funny stuff here... but not much of it... be QUICK! */ > UnlockIBase(key); Sounds reasonable. Is this any better/worse/different than doing a Forbid()/Permit() or an Enable()/Disable() ? >I'd like to see the Amiga grow and improve... it can't if people insist >on breaking the rules too often. Or if Commodore insists on a "I'm sorry, we don't support that feature" response to stuff like this. > All I'm saying is take care and tread lightly... And carry a big stick. Keith Doyle # {ucbvax,decvax}!trwrb!cadovax!keithd Contel Business Systems 213-323-8170