Page 2 of 2

Posted: Sat Mar 29, 2008 4:30 am
by Boray

Posted: Sat Mar 29, 2008 4:44 pm
by Richard James
I tried the printer but it gives me a empty (zero length) file. I tried the textport program and it worked. But during learning how to use text port I found the following:

load the file into VICE
type
OPEN1,8,1,"FILE"
CMD1:LIST
PRINT#1:CLOSE1

This will save the file as FILE.P00 or FILE.P01 if FILE.P00 exists etc
then you can run petcat on that file and it will give you the BASIC file

That works quite well
Thanks to Boray and e5frog for leading me to the answer I wanted :)

Posted: Sun Mar 30, 2008 5:12 am
by e5frog
I think the printer file is 0 bytes until you close VICE and then open it.

Re: BASIC conversion into and out of VICE in UNIX

Posted: Tue Nov 10, 2015 9:56 pm
by almo
Got this from another post:

Code: Select all

c1541 imagename.d64 -extract
petcat -2 -o outputfile.txt -- inputfile.prg 

Re: BASIC conversion into and out of VICE in UNIX

Posted: Wed Nov 11, 2015 6:20 am
by e5frog
I'm sure it could be helpful even if it's seven years later. ;-)