[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Applesoft -> ASCII?
In article <CK9Eqz.F7H@acsu.buffalo.edu> v393vlqr@ubvms.cc.buffalo.edu (Daniel W. Emmer) writes:
>From: v393vlqr@ubvms.cc.buffalo.edu (Daniel W. Emmer)
>Subject: Applesoft -> ASCII?
>Date: Wed, 26 Jan 1994 23:07:00 GMT
>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....
Try this. Load the program while in Applesoft on a Apple II. Insert the
following code at some place beyond the end of your program, say line 10000:
10000 ?chr$(4);"open alist"
10010 ?chr$(4);"write alist"
10020 list 1-9999
10030 ?chr$(4);"close"
Then type GOTO 10000 to execute it. I'm pretty sure the result will be an
ASCII listing of the program in text file ALIST.
_________________________________________
/ Mike McCormick \
| business: mtm4@rsvl.unisys.com |
| home: m.mccormick2@genie.geis.com |
| 70714.551@compuserve.com |
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
| "Follow your bliss, and doors will open |
\ where there were no doors before." /
-----------------------------------------