CPCWiki forum

General Category => Applications (CPC and CPC-related) => Topic started by: Arnaud on 21:21, 16 September 17

Title: #CPCTelera - 2CDT bas file import problem
Post by: Arnaud on 21:21, 16 September 17
Hello,
i'm trying to add a basic loader to my cdt and it doesn't work, i have no error message but the file is not added.

I have verified with CDTMaster and effectively no basic file here.

Here my command :
2cdt -F 0 disc.bas -r intro bitume.dsk

Thanks,
Arnaud.
Title: Re: #CPCTelera - 2CDT bas file import problem
Post by: arnoldemu on 09:37, 17 September 17
Hi Arnaud,

That command-line looks like a mix of cpcxfs and 2cdt!

You need to do this:

2cdt -n disc.bas -r intro bitume.cdt
2cdt main.bin bitume.cdt

first line creates a new cdt called bitume.cdt. It then reads disc.bas and renames it to intro.
second line then adds main.bin to bitume.cdt.

Remember to use "!" in front of the filename in your basic loader, then BASIC will not ask you to "Press play then any key".


Title: Re: #CPCTelera - 2CDT bas file import problem
Post by: Arnaud on 12:12, 17 September 17
Thanks @arnoldemu (http://www.cpcwiki.eu/forum/index.php?action=profile;u=122),

all works now, the script i used and the version of 2cdt seem to be not updated under cpctelera.

With the last version of 2cdt and with your examples and all work fine.
Powered by SMFPacks Menu Editor Mod