Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!steinmetz!nyfca1!brspyr1!davef From: davef@brspyr1.BRS.Com (Dave Fiske) Newsgroups: comp.sys.cbm Subject: Re: SEQ -> PRG, and how about PRG -> SEQ? Message-ID: <1789@brspyr1.BRS.Com> Date: Fri, 11-Sep-87 11:04:28 EDT Article-I.D.: brspyr1.1789 Posted: Fri Sep 11 11:04:28 1987 Date-Received: Sat, 12-Sep-87 20:03:12 EDT References: <5237@j.cc.purdue.edu> <669@uokmax.UUCP> <741@csun.UUCP> <575@rocky.STANFORD.EDU> Organization: BRS Info Technologies, Latham NY Lines: 33 Summary: A Mere Bag of Shells In article <575@rocky.STANFORD.EDU>, ali@rocky.STANFORD.EDU (Ali Ozer) writes: > > Ok, I want to do the reverse --- take a C64 BASIC program (which appears > as a PRG file), and send it over the 1600 modem to my Amiga. (I was looking > at all the BASIC programs I wrote for the 64, and realized some could run > on the Amiga with minimal changes...) This is real easy. Just open a disk file on the 64, use the CMD command to direct output to that file, and list the program. OPEN 2,8,2,"0:FILENAME,S,W" CMD2:LIST When everything stops, type PRINT#2:CLOSE2 (This is required to make sure the buffer gets cleared and that everything got put into the file.) The only oddity of this is that you will end up with a Linefeed and the message "READY" at the end of the Sequential file (the same stuff you would get if you had listed to the screen). Either edit these out somehow, or ignore them (since they're not Basic keywords, they'll probably be harmlessly rejected by whatever computer receives them--plus, since they don't have line numbers, they can't do any damage to the Basic program anyway.) -- As you read this, your eyelids are becoming very heavy. You can barely keep your eyes open. You are getting sleepy, sleepy. Now you are fast asleep, you are in a deep restful sleep. You will obey my every command. Take out a $5 bill and email it to: ihnp4!philabs!nyfca1!brspyr1!davef