Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!dlyons From: dlyons@Apple.COM (David Lyons) Newsgroups: comp.sys.apple Subject: Re: Reset Vectors Message-ID: <35375@apple.Apple.COM> Date: 9 Oct 89 03:19:57 GMT References: <6483@latcs1.oz> <4561@wpi.wpi.edu> <848@xroads.UUCP> Organization: Apple Computer Inc, Cupertino, CA Lines: 25 In article <848@xroads.UUCP> cc@xroads.UUCP (Dan McGuirk) writes: >[...] >Yes, of course you can do that. I believe that Philip Stephens even >mentioned that in his article. But, if you read the rest of the article, >what he was saying that you CAN'T do is resume execution of the program from >the same place where it left off after a reset. It is possible to start the >program over, or have it abort with an error, but never for it to resume in >the same place.. Starting the Applesoft over with the equivalent of "RUN" from a reset-trapping routine will almost always work (because RUN wipes out the variable table, which could have been in an unusable state because an operation on it was interrupted). If ProDOS was in the middle of doing something when Reset was hit, you could still easily toast yourself. -- --Dave Lyons, Apple Computer, Inc. | DAL Systems AppleLink--Apple Edition: DAVE.LYONS | P.O. Box 875 America Online: Dave Lyons | Cupertino, CA 95015-0875 GEnie: D.LYONS2 or DAVE.LYONS CompuServe: 72177,3233 Internet/BITNET: dlyons@apple.com UUCP: ...!ames!apple!dlyons My opinions are my own, not Apple's.