Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!mtune!codas!killer!usl!elg From: elg@usl (Eric Lee Green) Newsgroups: comp.sys.cbm Subject: Re: SEQ -> PRG, and how about PRG -> SEQ? Message-ID: <163@usl> Date: Sun, 13-Sep-87 22:43:50 EDT Article-I.D.: usl.163 Posted: Sun Sep 13 22:43:50 1987 Date-Received: Tue, 15-Sep-87 04:57:31 EDT References: <5237@j.cc.purdue.edu> <669@uokmax.UUCP> <741@csun.UUCP> <361@umnstat.UUCP> <575@rocky.STANFORD.EDU> Reply-To: elg@usl.usl.edu.UUCP (Eric Lee Green) Organization: CACS, Univ of SW La, Lafayette, LA Lines: 25 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...) load"program",8 open8,8,8,"text file,s,w" cmd8:list print#8:close8 and presto, converted to a CBM ASCII file. To convert to a Real Ascii file, just look at the tables of CBM ASCII and Real Ascii. I'm afraid I can't really help you here, I use my own conversion tables (from various programs I've written in the past) and whip up a 5-minute program in ML whenever I need to do the job. Should take maybe 15 minutes at most to write it in BASIC. And then 5 minutes waiting for the compiler to compile it, if you want it to run at a decent speed :-). -- Eric Green {ihnp4,cbosgd}!killer!elg {ut-sally,killer}!usl!elg elg@usl.CSNET