GHGAQA4@cc1.kuleuven.ac.be (02/01/91)
Here we are again, I didn't have the chance yet to try out the solution offered to make residents work in expansion memory, but I've already got another question. How can I determine wether or not the exec routines may be used by my program. This question may seem stupid, but I assure you it isn't. My A500 contains a 68010 processor which allows me to move the Vector-list. I've written (actually : I'm writing) a program that captures all CPU-vectors and checks for certain conditions. If a CPU error occurs or if the user presses a certain key or mouse-button combination, then the program takes over the entire machine taking care not to trash any other programs placed in the memoryof the Amiga. This way I can interrupt programs running in the multi-tasking environment, but I can also startup my program while playing a non-multi-tasking game. To remove my program there's a built-in remove command, but ... if the exec-base has been trashed it's very unsave to remove the resident tag. (Who knows what the game uses that memory for |) So, that's the reason for my question : When is it save to use or manipulate the exec-base ? Hope to get some reactions, soon.