Path: news.uiowa.edu!chi-news.cic.net!nntp.coast.net!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!uwm.edu!math.ohio-state.edu!magnus.acs.ohio-state.edu!freenet.columbus.oh.us!not-for-mail From: dalloff@freenet.columbus.oh.us (Dave Althoff) Newsgroups: comp.sys.apple2,comp.binaries.apple2,comp.sys.apple2,comp.sys.apple2.comm Subject: Re: Converting ProDOS .BAS files to .TXT files ... Date: 21 Jan 1996 15:18:28 -0500 Organization: The Greater Columbus FreeNet Lines: 34 Message-ID: <4du72k$791@acme.freenet.columbus.oh.us> References: <4ds3u8$5f0@news.asu.edu> <4dt41n$7v5@news.asu.edu> NNTP-Posting-Host: acme.freenet.columbus.oh.us X-Newsreader: TIN [version 1.2 PL2] Xref: news.uiowa.edu comp.sys.apple2:97832 comp.binaries.apple2:8850 comp.sys.apple2.comm:3964 chrisk@imap2.asu.edu wrote: : OK, does anyone out there know of a program that translates applesoft : basic programs to raw text files? I know that basic programs are : tokenized (a lot of garbage appears when you go to look at one with a : text editor). Are there any programs out there that "untokenizes" : applesoft basic programs? : If there are, cold someone please post one or point me in the right : direction of where I might FTP it? Thanks in advance! Here is the program you need: 0 TEXT:PRINT CHR$(21):HOME:POKE 33,33:PRINT CHR$(4);"OPEN APPLESOFT.TXT":PRINT CHR$(4);"WRITE APPLESOFT.TXT":LIST 1,63999:PRINT CHR$(4);"CLOSE":TEXT:END Just attach that to your program, and type RUN. If your program already uses line 0, put the program at 63999 and change the LIST instruction to "LIST 0,63998" and do a "RUN 63999". That's all there is to it! To get that program back into Applesoft, just type ]EXEC APPLESOFT.TXT (in DOS 3.3) or ]- APPLESOFT.TXT (in ProDOS) Have fun! --Dave Althoff, Jr. -- /-\ _ _ __*** Closed for the season *** /XXX\ /X\ /X\_ _ /XX\_ _ _ _____ /XXXXX\ /XXX\ _/XXXX\_ /X\ /XXXXX\ /X\ /X\ /XXXXX _/XXXXXXX\__/XXXXX\/XXXXXXXX\_/XXX\_/XXXXXXX\__/XXX\_/XXX\_/\_/XXXXXX