[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Applesoft -> ASCII?



Daniel W. Emmer <v393vlqr@ubvms.cc.buffalo.edu> writes:
 
>Hey, there, Apple II fans!  I have some old AppleSoft BASIC programs
>that I've transferred to my pc-clone, but they appear to be in 
>"tokenized" format (commands replaced w/ codes, data [such as textg
>strings] in ASCII), so I can't even begin to play with converting them.
>Is there a simple way to translate the tokenized files to pure ASCII?
>I can probably track down an Apple ][, print out the listings, and re-
>type the relevant portions, but if there's an easier way.... 
 
There is a way, but you still need an Apple II for that.
You have to load the Basic programs (one at a time) in your Apple II.
Then add as the first lines of that prgram the following:
 
 PRINT CHR$(4)"OPEN TEXT.FILE":?CHR$(4)"WRITE TEXT.FILE":LIST:?CHR$(4)"CLOSE"
:END
 
Run the program after putting a disk in the drive and when it
finishes you should have an ascii file of your Basic program called   TEXT.FILE.
I
 
I hope that helps.
 
-A. Roffe.