Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!rutgers!mcnc!ece-csc!ncrcae!ncr-sd!crash!mwilson From: mwilson@crash.CTS.COM (Marc Wilson) Newsgroups: comp.sys.cbm Subject: Re: SEQ -> PRG Message-ID: <1680@crash.CTS.COM> Date: Wed, 9-Sep-87 13:29:05 EDT Article-I.D.: crash.1680 Posted: Wed Sep 9 13:29:05 1987 Date-Received: Sat, 12-Sep-87 00:48:18 EDT References: <5237@j.cc.purdue.edu> <669@uokmax.UUCP> <741@csun.UUCP> Reply-To: mwilson@crash.CTS.COM (Marc Wilson) Distribution: na Organization: Grossmont College, El Cajon, Ca. Lines: 40 In article <741@csun.UUCP> aeusejxn@csun.UUCP (Joachim Nave) writes: >In article <669@uokmax.UUCP> rufsmith@uokmax.UUCP (Random of Amber) writes: >>In response to Jeff Wieland's question about SEQ-PRG conversion: >> >>....... Sorry, but the only thing that comes >>to mind is for you to print out the file (if you have a printer) >>and type it in by hand. I should also point out that a program >>written on the IBM will very likely not work on the Commodore. >> > >NOOOOOOOOO! >Please dont waste your time typing in the prgram again. All you have to >do is change one byte in the directory from 82 to 81 (hex). This will do no good at all. The only change will be in the directory entry, not in the file itself. CBM DOS treats SEQ, PRG, and USR files identically. There are several programs in the public domain that accomplish the task. Most of them sit up in the $C000 block and mess with the ROM so that you can modify the program in memory without having BASIC close your disk files all the time. There's also a simple way to do it with an OPEN and two POKEs from the interpreter itself, but I dunno what it is. Look in one of the volumes Compute! Books has put out. >It takes only a few seconds to change it!!! Even a few seconds wasted is still a waste worth avoiding. >Joachim Nave, CSU Northridge, Computer Science Department >UUCP:{sdcrdcf, ihnp4, hplabs, ttidca, psivax, csustan}!csun!aeusejxn > !csun!titan!eectrjxn -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~