Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!rutgers!ames!ucbcad!zen!bryce From: bryce@cogsci.berkeley.EDU (Bryce Nesbitt) Newsgroups: comp.sys.amiga Subject: Re: Re: Another 1.3 wish. Message-ID: <3163@zen.berkeley.edu> Date: Mon, 3-Aug-87 02:50:01 EDT Article-I.D.: zen.3163 Posted: Mon Aug 3 02:50:01 1987 Date-Received: Tue, 4-Aug-87 01:00:47 EDT References: <8707190424.AA10158@cogsci.berkeley.edu> <434@sugar.UUCP> Sender: news@zen.berkeley.edu Organization: University of California, Berkeley Lines: 75 In article <434@sugar.UUCP> peter@sugar.UUCP (Peter da Silva) writes: >In article <>, bryce@COGSCI.BERKELEY.EDU (Bryce Nesbitt) writes: >>In article <397@sugar.UUCP> Peter da Silva typed: > >> [incoherent junk deleted] > >That's nice, but it won't (as has been explained a thousand times) disable >system requestors [sic] (bad disk, disk full, etc...) caused by your actions. Exactly. As was explained a thousand times, setting pr_WindowPtr will NOT ensure that a requester from some weird source might not show up. I know this. In fact, in that discussion it was decided that a program would be needed. Apparently you missed something, because the program I posted ensures that *all* requesters from *all* tasks are turned off when you want them off. It SetFunction()'s AutoRequest() and BuildSysRequest() and Cancel!'s them for sure, every time. Search backwards for the word "Cancel". (from rn type "?cancel?rh"). Or look to comp.sources.amiga and comp.binaries.amiga. BTW: Setting pr_WindowPtr will *not* catch most bad disk requesters, but *will* catch disk full. For some requesters it's probably impossible to determine what actions, or set of actions, caused the problem. >[Flame-throwers on "stun", captain] > >And why explain in 68000 code? Probably because I wrote the requester canceling code in 68000 and was in that frame of mind. I program in C also, but not that day. > MyProcess = FindTask(0); > WindowSave = MyProcess->pr_WindowPtr; > MyProcess->pr_WindowPtr = 0; That's an incorrect conversion. To silence DOS generated requesters you set that to -1. 0 selects the Workbench screen. A pointer is taken to point to a window structure, the requesters will open in that window (and thus screen). >I bought this machine because the operating system requires an absolute >minimum mucking about in assembly. Ther's [sic] no reason on god's green earth >why that code had to be in assembly. I prefer assembly. So there. --Really, no religious wars intended-- >SCADA: Supervisory Control and Data Acquisition.... Thank you. >AmigaDOS is a pretty good soft real-time operating system. Strange, I think of AmigaDOS as a relatively well designed, but poorly implemented "Disk Operating System". It controls the disk and file system. The whole ball of wax that contains exec, Intuition, graphics, AmigaDOS, etc. has, or should have, another name. "AmigaDOG" and such derogatory terms are amied only at the Tripos influenced file system. (Flames welcome on this point, especially if I'm wrong!) >-- Peter da Silva `-_-' ...!seismo!soma!uhnix1!sugar!peter (I said, NO PHOTOS!) |\ /| . Ack! (NAK, EOT, SOH) {o O} . Use the address below, and no other! ( " ) bryce@cogsci.berkeley.EDU -or- ucbvax!cogsci!bryce U "Success leads to stagnation; stagnation leads to failure."