Hi, I am trying to inspect some of the BASIC games by Paul Allen Panks and it would make things a whole lot easier if there was a way to print a BASIC listing from VICE to e.g. pdf so I could then search for terms in the pdf.
I see there are some printer options in VICE but I have no idea on how to use them. I am interested in both C128 and C64 mode.
thanks!
Printing Basic listings from VICE emulator
Moderator: Alastair
Re: Printing Basic listings from VICE emulator
Given that printing on a C64 is rather convoluted (thanks to Jack Tramiel refusing to pay any more money to Microsoft) the best I can offer is to point you to the relevant section in the VICE manual:
https://vice-emu.sourceforge.io/vice_5.html#SEC81
https://vice-emu.sourceforge.io/vice_5.html#SEC81
Re: Printing Basic listings from VICE emulator
Thanks, that worked very well for the VICE c64 emulator x64.
For some reason I can't get it to work with the VICE c128 emulator x128.exe, not even in c64 mode.
I wonder if the output file is just put somewhere else and I don't know where to look. I tried resetting to default settings but that did not help. Any advice is welcome.
After selecting printer 4 I used:
open 4,4
cmd4:list
close4
For some reason I can't get it to work with the VICE c128 emulator x128.exe, not even in c64 mode.
I wonder if the output file is just put somewhere else and I don't know where to look. I tried resetting to default settings but that did not help. Any advice is welcome.
After selecting printer 4 I used:
open 4,4
cmd4:list
close4
Re: Printing Basic listings from VICE emulator
I have another suggestion. Firstly, download DirMaster. (The following is from my notes.)
To export a BASIC program to a text file:
Open DirMaster.
Choose Disk > Open.
Select file type (typically *.d64 for disk, *.t64 for cassette).
Navigate to disk or cassette image.
Select it and click Open.
Right-click on the BASIC file.
Choose View file > BASIC.
Right click on the BASIC listing.
Choose Export.
Select file type of PETSCII (*.seq).
Select Export as BasText.
Navigate to folder.
Enter file name.
Click Save.
Optionally, rename file from .seq to .bas once saved.
To export a BASIC program to a text file:
Open DirMaster.
Choose Disk > Open.
Select file type (typically *.d64 for disk, *.t64 for cassette).
Navigate to disk or cassette image.
Select it and click Open.
Right-click on the BASIC file.
Choose View file > BASIC.
Right click on the BASIC listing.
Choose Export.
Select file type of PETSCII (*.seq).
Select Export as BasText.
Navigate to folder.
Enter file name.
Click Save.
Optionally, rename file from .seq to .bas once saved.
Re: Printing Basic listings from VICE emulator
Thanks - I already have DirMaster but I had never used it for BASIC listings. Works like a charm