Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!rutgers!umnd-cs!umn-cs!umnstat!kb From: kb@umnstat.UUCP (Christopher Bingham) Newsgroups: comp.sys.cbm Subject: Re: SEQ -> PRG Message-ID: <361@umnstat.UUCP> Date: Wed, 9-Sep-87 22:48:42 EDT Article-I.D.: umnstat.361 Posted: Wed Sep 9 22:48:42 1987 Date-Received: Sat, 12-Sep-87 06:39:30 EDT References: <5237@j.cc.purdue.edu> <669@uokmax.UUCP> <741@csun.UUCP> Organization: Statistics, U. of Minn, Mpls, Mn Lines: 35 Summary: Changing directory won't work. Here is a program that will. 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. > > 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). > You can edit this sector (12,...(hex)) with FastLoad. > If you do not know how to do this, you are welcome to send me the disk > (or a copy for that matter) and I will change it for you! > > Joachim Nave, CSU Northridge, Computer Science Department > UUCP:{sdcrdcf, ihnp4, hplabs, ttidca, psivax, csustan}!csun!aeusejxn > !csun!titan!eectrjxn NOOOOOOOOOOOOO! Changing the directory will not do it. You have to tokenize the file. Here is short C64 program that I think was on the net a while ago. It really works: 63997 input"Name of file to tokenize";file$:file$="0:"+file$+",s,r" 63998 close2:open2,8,2,file$:poke812,73:poke781,2:sys65478:end 63999 close2:poke812,47:sys65484:end:rem from 11/86 transactor. Type this in and type "run", giving the name of the sequential file to be tokenized when asked. When the disk stops spinning (the red light will still be on because the file has not been closed), type "goto 63999" . At this point the tokenized file will be in memory with the above lines appended at the end. Delete the lines and save the file. C. Bingham, Applied Statistics, U of Minn. St. Paul, MN umnstat!kb@umn-cs.uucp