Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!ncar!gatech!purdue!haven!cs.wvu.wvnet.edu!h.cs.wvu.wvnet.edu From: jlf@h.cs.wvu.wvnet.edu (Jack L Forester,,2933607,6526712) Newsgroups: comp.sys.atari.st.tech Subject: Re: Questions for a TSR I'm writing Message-ID: <1177@h.cs.wvu.wvnet.edu> Date: 5 Jan 91 04:50:23 GMT References: <1991Jan4.213601.28046@informatik.uni-erlangen.de> Sender: news@cs.wvu.wvnet.edu Lines: 41 From article <1991Jan4.213601.28046@informatik.uni-erlangen.de>, by csbrod@informatik.uni-erlangen.de (Claus Brod (turo)): > jlf@cs.wvu.wvnet.edu (Jack L Forester) writes: > >>Here's a few questions for the GEM gurus... > >> I'm writing a TSR that is going to use GEM and a resource that will >>be compiled as part of the program. It is going to be activated by >>exceptions. > > Are you sure you're going to do this in a TSR? TSRs normally link into > some system vecors, i.e. TRAPs. The problem is: You can't call AES > from a TRAP handler. You will experience nothingbut crashes. Really? I've finished the program, and I've had no crashes (not even one lockup). I do call the AES to throw up a dialog during an exception, but I've had no ill effects (btw: I'm using (gasp) TOS 1.0) > Would it be possible to do what you want in a DA? What kind of > function will the TSR perform? It's just a simple program which catches exceptions and puts up a dialog box containing information about the exception and the CPU registers. Someone put a program on atari.archive a couple of months ago to do this, but I was unimpressed with it. So a couple of days ago I decided that the text messages that Neodesk displayed on the screen were too crude (no offense, I _love_ Neodesk) for me - after all we're in a graphics environment, why not use it? I'm putting the finishing touches on the program and writing the docs. As soon as I put all of this together, I'm going to upload it to atari.archive. > > ---------------------------------------------------------------------- > Claus Brod, Am Felsenkeller 2, Things. Take. Time. > D-8772 Marktheidenfeld, West Germany (Piet Hein) > csbrod@medusa.informatik.uni-erlangen.de > ---------------------------------------------------------------------- -- Jack Forester, Jr. * Disclaimer: My opinions are mine and mine * jlf@a.cs.wvu.wvnet.edu * alone! I don't share my opinions * West Virginia University * with anyone! :-) * Dept. of Computer Science * *