Export listing of Basic program to a text file from XRoar

Hardware Hacking, Programming and Game Solutions/Cheats
Post Reply
gepree
Posts: 1
Joined: Sat Dec 31, 2011 12:35 pm

Export listing of Basic program to a text file from XRoar

Post 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 2696 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
admin
Site Admin
Posts: 410
Joined: Thu Jul 17, 2008 10:22 pm

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

Post 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....
Simon Hardy
Sarah
Posts: 177
Joined: Wed Apr 13, 2011 3:36 pm
Contact:

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

Post 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). ;)
Post Reply