Path: utzoo!mnetor!uunet!husc6!mailrus!ames!pasteur!ucbvax!UMDD.BITNET!BBOURBIN From: BBOURBIN@UMDD.BITNET (Brett S Bourbin) Newsgroups: comp.sys.amiga.tech Subject: Intuition Shutdown Message-ID: <8804181807.AA15039@jade.berkeley.edu> Date: 18 Apr 88 17:36:34 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 22 I have just switched from doing all my work on the Amiga in assembly to 'C' and assembly mixture. I want to write a system (read: GAME) that will take over the system, not multitasking, but uses all system calls and does not go to the hardware. I want to keep compatibility with future Amigas along with being able to port it to other machines, if I wish. Now comes the question: I have disabled the Intuition Handler (set the SetMPort to -1) and I am using port 2 for joystick input. After thinking about it for awhile, I realized that this method still keeps the Intuition Handler running and also taking up memory. It will also intercept any of the keyboard messages (Amiga-arrows, etc). I don't want to waste more more memory to write code to intercept the input devices before Intuition get a hold of them, instead I wish to shut down Intuition TOTALLY and take it from there. Can I FindTask(mytask) and issue a CloseDevice() to the input.device and return the memory allocated for the handler? I want to keep compatibility but I do not need the overhead. _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- Brett S Bourbin /--> bbourbin@umdd.BITNET ICP -- University of Maryland Email--| College Park, MD 20742 \--> brett@rover.umd.edu