Page 1 of 1

Export listing of Basic program to a text file from XRoar

Posted: Sat Dec 31, 2011 5:35 pm
by gepree
With XRoar successfully installed on my Mac. I have been able to load in my old Basic programs (that I saved onto cassettes nearly 30 years ago).

Obviously, when I type LIST, I can see the Basic program appear in the emulator, as this screenshot shows:
Screen Shot 2011-12-31 at 14.32.41.png
Screen Shot 2011-12-31 at 14.32.41.png (17.45 KiB) Viewed 2915 times
But what I would really like to do is export this listing to a text file in my computer's file system.

Does anyone have a good suggestion about how I could do this?

Thanks

Re: Export listing of Basic program to a text file from XRoa

Posted: Sat Dec 31, 2011 9:11 pm
by admin
You may be able to use printer functions in an emulator and LLIST to a file.....

or

CSAVE "name", A to a new .CAS file and open that and manually remove the block header/footer bytes....

Re: Export listing of Basic program to a text file from XRoa

Posted: Tue Jan 03, 2012 4:24 am
by Sarah
admin wrote:CSAVE "name", A to a new .CAS file and open that and manually remove the block header/footer bytes....
You could alternatively run DC.EXE/D to convert that .CAS file to text (instead of doing it manually). ;)