[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Basic converter
In article <9405082224.AA10918@epimetheus.pt.hk-r.se>,
Fredrik Ekman <d91fe@EPIMETHEUS.PT.HK-R.SE> wrote:
>Is there a program to convert Apple to BASIC to normal ASCII?
>I'd prefer C source so that I can convert it to my PC.
It would be possible to write such a program; not sure if anyone's
done it. (It would be a fairly quick hack...). If you still have
access to and Apple II, and can use things there, here's a quick
set of lines that you can add to any Applesoft Basic program (watch
out for overwriting lines, and make sure your program doesn't include
some assembly chunks :), and then run it...
1 PRINT CHR$(4)"OPEN DOSNAMES.SUK":PRINT CHR$(4)"WRITE DOSNAMES.SUK":
POKE 33,33: LIST 2-63000: PRINT CHR$(4)"CLOSE DOSNAMES.SUK": END
That's it. Of course, you can change the naming of these things
to something that's less of a commentary on MS-DOG, but anyhow :)
Nathan Mates
--
* Nathan Mates nathan@cco.caltech.edu * MSC #850, Pasadena CA 91126 *
* Ftp humor archiver: ftp to cco.caltech.edu, look in pub/humor *
* Largest collection of Clinton Jokes, other canonical lists *
* Support Twilight II, the best screen saver for the Apple IIGS! *