Author Topic: #CPCTelera - 2CDT bas file import problem  (Read 712 times)

0 Members and 1 Guest are viewing this topic.

Offline Arnaud

  • Supporter
  • 6128 Plus
  • *
  • Posts: 561
  • Country: fr
  • Liked: 461
  • Likes Given: 923
#CPCTelera - 2CDT bas file import problem
« on: 23: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 :
Code: [Select]
2cdt -F 0 disc.bas -r intro bitume.dsk
Thanks,
Arnaud.
« Last Edit: 09:57, 17 September 17 by Arnaud »

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.335
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2261
  • Likes Given: 3478
Re: #CPCTelera - 2CDT bas file import problem
« Reply #1 on: 11: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".


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

Offline Arnaud

  • Supporter
  • 6128 Plus
  • *
  • Posts: 561
  • Country: fr
  • Liked: 461
  • Likes Given: 923
Re: #CPCTelera - 2CDT bas file import problem
« Reply #2 on: 14:12, 17 September 17 »
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.
« Last Edit: 15:09, 17 September 17 by Arnaud »