Author Topic: 2cdt  (Read 5328 times)

0 Members and 1 Guest are viewing this topic.

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.336
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2271
  • Likes Given: 3478
2cdt
« on: 11:32, 28 July 10 »
My "2cdt" tool has been updated.

This is a command-line tool which you can use to build cdt files for your own programs.

In this version I have added the changes from Spanish user CECPC.

But, the command-line switches are not the same as his version. Please read the instructions.

I have followed his lead but expanded upon the functionality.

New changes:
* Baud rate calculation fixed
* Set/override load address
* Set/override execution address
* Set/override type
* Define pause at start of file (length now can be defined)
* Add extra block for bad arnold emulator which skips first block ;) (old version)

Also includes some changes I made but I never told anyone about ;)

* Spectrum ROM loader (I use this for my tape games)
* Set name of file on tape

Also, you can define load address and execution address in hex by prefixing them with $ or & or 0x.
e.g.
$4000, &4000 or 0x4000.

I am sure there are some bugs, so please tell me when you find them so I can fix them and improve this tool.

EDIT: Zip contains windows version.
Source is included and should compile on linux ok.

http://www.cpctech.org.uk/download/2cdt.zip


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

Offline Axelay

  • 6128 Plus
  • ******
  • Posts: 579
  • Country: au
  • Liked: 375
  • Likes Given: 87
Re: 2cdt
« Reply #1 on: 17:09, 28 July 10 »
Thanks for the new version!  Hmm, I guess this explains why the 2000bd cdts it was making before were a bit on the fast side then?

Also on the subject of tape loading, I was wondering if it would be OK to use the spectrum loader from the Balloonacy demo for a future project of mine?

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.336
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2271
  • Likes Given: 3478
Re: 2cdt
« Reply #2 on: 17:35, 28 July 10 »
Thanks for the new version!  Hmm, I guess this explains why the 2000bd cdts it was making before were a bit on the fast side then?

Also on the subject of tape loading, I was wondering if it would be OK to use the spectrum loader from the Balloonacy demo for a future project of mine?
np. I need to fix something in the source. I'll send it to you once that is fixed :)
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline Axelay

  • 6128 Plus
  • ******
  • Posts: 579
  • Country: au
  • Liked: 375
  • Likes Given: 87
Re: 2cdt
« Reply #3 on: 08:23, 29 July 10 »
np. I need to fix something in the source. I'll send it to you once that is fixed :)

Cool!  Thanks!