Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!mit-eddie!ll-xn!ames!sdcsvax!ucbvax!hplabs!hp-sdd!ncr-sd!crash!mwilson From: mwilson@crash.CTS.COM (Marc Wilson) Newsgroups: comp.sys.cbm Subject: Re: SEQ -> PRG, and how about PRG -> SEQ? Message-ID: <1718@crash.CTS.COM> Date: Tue, 15-Sep-87 13:22:38 EDT Article-I.D.: crash.1718 Posted: Tue Sep 15 13:22:38 1987 Date-Received: Fri, 18-Sep-87 00:48:09 EDT References: <5237@j.cc.purdue.edu> <669@uokmax.UUCP> <741@csun.UUCP> <361@umnstat.UUCP> <575@rocky.STANFORD.EDU> Reply-To: mwilson@crash.CTS.COM (Marc Wilson) Distribution: na Organization: Grossmont College, El Cajon, Ca. Lines: 45 In article <575@rocky.STANFORD.EDU> ali@rocky.UUCP (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...) > >I either have to send the program to the Amiga as is and do some conversion >on the Amiga, or convert it on the 64 and send over the actual BASIC words >(ie, the four characters GOTO instead of the token...). And there's the >ASCII conversion... Is there any programs/utilities already out there that >will do this? Or some easy tricks that will aid in "untokenizing" that I can >use in a program? > The easiest way to untokenize the program is the following: 1) Load program 2) Type the following: OPEN 2,8,2,".LST,s,w" CMD 2 LIST PRINT#2 CLOSE 2 What you have now is an ASCII copy of your program on the disk. You can send this to the Amiga with a minimum of effort ( Amiga MS Basic DOES allow you to load an ASCII file, doesn't it? ) Apologies if this isn't correct... I haven't touched a Commodore machine in over a year, and I'm sure I'm rusty. >Ali Ozer, ali@rocky.stanford.edu -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Marc Wilson ARPA: ...!crash!mwilson@nosc.mil ...!crash!pnet01!pro-sol!mwilson@nosc.mil UUCP: [ cbosgd | hp-sdd!hplabs | sdcsvax | nosc ]!crash!mwilson INET: mwilson@crash.CTS.COM ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~