Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!husc6!seismo!cmcl2!beta!unm-la!unmvax!merlin!schaker From: schaker@merlin.UUCP Newsgroups: comp.sys.apple Subject: Re: Bankswitching Message-ID: <420@unmvax.unm.edu> Date: Wed, 11-Mar-87 13:56:44 EST Article-I.D.: unmvax.420 Posted: Wed Mar 11 13:56:44 1987 Date-Received: Fri, 13-Mar-87 00:51:48 EST References: <8703091250.aa19002@SPARK.BRL.ARPA> Sender: news@unmvax.unm.edu Reply-To: schaker@merlin.UUCP (Stefan Chakerian) Distribution: world Organization: University of New Mexico, Albuquerque Lines: 35 In article <8703091250.aa19002@SPARK.BRL.ARPA> Xc60039@PORTLAND.BITNET writes: > >I'd like to know if the sequence of >opperations to bank switching can be inserted in the >beginning of a basic program or if opperation has to >be incorporated into its own program, which must be >run before running the basic program. As far as I know, bankswitching a basic program will kill your program. I would assume you'd have to write the code in assembler, then CALL the appropriate area. The problem is still that the stack has to be saved, along with any other memory you might be using. Essentially, all the bankswitching has to be done in assembler. The //e programmers reference manual and ROM routines has the necessary info. I can mail/post some of the information, if you'd like. > Also, sometimes my programs have 'blown up' and reverted >into code of some sort .... a bunch of symbols and lower >case lettering. Is there anyway that the program can be >recovered, assuming that the file has not been saved. Don't know. Need more info. Are you fooling with any of the memory from $800 on? If so, you might've killed your BASIC program. It is possible to reset the loading address, tho. It's also possible to recover a program that has been NEWed. I'm at work and don't remember any of this off hand, but if you or anyone else reading this wants the info, mail me and I will reply. ------------------------------------------------------- Stefan Chakerian schaker@merlin.unm.edu | Take it easy. decvax!unmvax!schaker@merlin | USnail: P.O. Box 4741 BITNET: schaker@unmb | If it's easy, Albuquerque,NM 87196 CIS: 74365,231 | take it twice! -------------------------------------------------------