News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_Arnaud

#CPCTelera - 2CDT bas file import problem

Started by Arnaud, 21:21, 16 September 17

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Arnaud

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.

arnoldemu

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".


My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Arnaud

#2
Thanks @arnoldemu,

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