CPCWiki forum

General Category => Programming => Topic started by: funkheld on 18:12, 10 January 21

Title: how can you convert a demo.txt into a bas for the cpc with a tool for windows?
Post by: funkheld on 18:12, 10 January 21

Hi good afternoon.


how can you convert a demo.txt into a bas for the cpc with a tool for windows?


thanks.
greeting
Title: Re: how can you convert a demo.txt into a bas for the cpc with a tool for windows?
Post by: SRS on 19:21, 10 January 21
How about WINAPE AutoType Function ?
You can even do this from command line, as clearly stated in WINAPES manual.
Command Line Parameters


When starting WinAPE a disc image filename can be specified as a parameter (without the slash option). The following parameters can be specified on the command line:

ParameterFunction
filenameSpecify the filename for the disc image to be used in Drive A:
/AAutomatically run the program in Drive A:. To specify the name of the program to run use /A:filename. To start a disc using a CP/M boot sector use /A:|CPM
/T:filenameAutomatically start typing from the given Auto-type file.
Title: Re: how can you convert a demo.txt into a bas for the cpc with a tool for windows?
Post by: AMSDOS on 21:45, 10 January 21

According to Mr. held:

Quote from: funkheld on 20:02, 08 January 21
winape is out of date, javacpc is the program.
Title: Re: how can you convert a demo.txt into a bas for the cpc with a tool for windows?
Post by: eto on 22:19, 10 January 21
Quote from: funkheld on 18:12, 10 January 21
how can you convert a demo.txt into a bas for the cpc with a tool for windows?


Is demo.txt a Basic program?

Two easy options I used lately:

1) In RetroVirtualMachine you can drag files from your PC.
2) Use ManageDsk to add the file to your DSK (http://www.cpcwiki.eu/index.php/ManageDsk)

As long as the TXT is a pure ASCII file with Windows line endings, you can simply load it like any other Basic file too.
Title: Re: how can you convert a demo.txt into a bas for the cpc with a tool for windows?
Post by: funkheld on 22:22, 10 January 21
hello, thanks for the help.


greeting.
Powered by SMFPacks Menu Editor Mod