Path: news1.icaen!news.uiowa.edu!news1.chicago.iagnet.net!iagnet.net!newsxfer.visi.net!news-xfer.siscom.net!news.bconnex.net!not-for-mail From: CUTjefbla@bconnex.net (Jeff Blakeney) Newsgroups: comp.sys.apple2 Subject: Re: Help ME! Apple IIc Date: Wed, 31 Dec 1997 18:37:49 GMT Organization: Barrie Connex Lines: 73 Message-ID: <34aa7aae.3216938@news.bconnex.net> References: <34a65b72.614885@news.brunnet.net> <19971228180445458330N@surfk73.koeln.netsurf.de> <34a6d008.380685@news.brunnet.net> Reply-To: CUTjefbla@bconnex.net (Jeff Blakeney) NNTP-Posting-Host: pm4-60.barrie.connex.net X-Newsreader: Forte Free Agent 1.1/32.230 Xref: news1.icaen comp.sys.apple2:128741 On Sun, 28 Dec 1997 22:22:48 GMT, mike_malek@hotmail.com (Mike Malek) wrote: >Do you program and if you >do, how do you use a word processor on my Apple II (I have several) to >save as a BASIC program. Dennis K. told me about saving the file, >exiting to ProDOS and then EXECuting the file and SAVEing it to >memory? Other way? Thanks a lot! One neat way that I learned in comp.sys.apple2.programmer a couple months ago is to copy BASIC.SYSTEM to a sub-directory and save your program that you typed in your word processor to this same directory with the filename STARTUP. Then quit the word processor and start up the BASIC.SYSTEM that you put in the sub-directory. This will automatically EXEC the program you are working on. If you get any errors while it EXECing (before you get a flashing cursor by the Applesoft "]" prompt) then you need to type BYE and go back to your word processor because you've typed something wrong. If the EXEC works with no errors, you can run the program to test it. If it works the way you want, you can save it to wherever you want with whatever filename you want. If it needs more work, type BYE and run your word processor again to add or change things. As an example, here is a way you could set up a booting ProDOS disk that contains your Applesoft development environment. In this example I will use the filename EDIT.SYSTEM to denote your word processor. If you are going to use AppleWriter or something similar, you must rename it so that the filename ends in .SYSTEM. Format a ProDOS disk, give it a name of DEV and copy the following files to the disk in the same order that they appear below. PRODOS SYS EDIT.SYSTEM SYS (or whatever your word pro is called; see above) BASIC.SYSTEM SYS When you boot this disk it will start up your word pro. You can then either load a previously saved STARTUP file from this disk or write a new one and save it to this disk. When you quit the word pro you will do one of two things. If you are running a newer version of ProDOS, you will get a menu with EDIT.SYSTEM and BASIC.SYSTEM listed. Choose BASIC.SYSTEM and you will EXEC the program you are working on and you can then RUN it to test it. If you are running an older version of ProDOS, you will have to type in the name of your development disk, DEV in the example above and press RETURN then type in BASIC.SYSTEM and press RETURN. If you want to return to editing your program in the word pro, either reboot or type BYE and press RETURN. Following the steps above for quiting from the word pro but use the name of your word pro instead of BASIC.SYSTEM. In this example it would be EDIT.SYSTEM. Remember that if you make any changes to the program while in Applesoft, you will not be changing the program that your word pro loads. If you make changes in Applesoft and want to keep them before going back to the word pro for more editing type in the following line and type RUN followed by the RETURN key. 0 POKE 33,33:PRINT CHR$(4);"OPEN STARTUP":PRINT CHR$(4);"WRITE STARTUP":LIST 1-63999:PRINT CHR$(4);"CLOSE":TEXT:END This post has become a lot longer than I had intended but I hope the method is clear to you. If not, let me know and I'll help as much as I can. I think I might just work on this description a little more and see if someone wants to publish a poor man's Applesoft editor article. === I've had enough SPAM. Cut the obvious from my address to email me. ===