News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_EgoTrip

Creating tape image from files on disk

Started by EgoTrip, 18:16, 27 March 13

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

EgoTrip

So, I managed to squeeze everything into memory. How do I go about creating a tape image from the files currently on disk?

arnoldemu

Quote from: EgoTrip on 18:16, 27 March 13
So, I managed to squeeze everything into memory. How do I go about creating a tape image from the files currently on disk?
extract them from the dsk so you have the files on your pc.
EDIT: I believe winape allows you to do this, if not use cpcxfs or some other tool.

then use 2cdt command-line tool (or the gui version Markus made) to put the files onto the tape.

Don't forget to use ! before the filenames if you want to turn off the messages.

2cdt can be downloaded from Unofficial Amstrad WWW Resource
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

arnoldemu

#2
what am I babbling about?

I'm building all my code on pc, using pasmo etc so my game files are on the pc.

loader is a binary file with amsdos header for the loader.
scr is a binary file with amsdos header with the screen.
code is a binary file with amsdos header with the code.

disk:

cpcxfs -f -nD game.dsk
cpcxfs game.dsk -f -b -p discloader game.bin
cpcxfs game.dsk -f -b -p scr game.bi1
cpcxfs game.dsk -f -b -p code game.bi2


tape:

2cdt -n tapeloader -r "! GAME !" game.cdt
2cdt scr game.cdt
2cdt code game.cdt


For you, get your dsk open cpcxfs and put this to extract your files:


open game.dsk
dir
bin
mget *.*
close

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

EgoTrip

#3
Thanks for the reply. Is that the only tool, cos I cant seem to get it to work. Is there a graphical tool available?


I have uploaded the disk on the main topic here New Game: Pix, if anyone wants to create the cdt for me, the order of files is:


PIX.BAS
LOADER1.SCR
PIX2.BAS
01.BIN
02.BIN


The filenames will need to be the same on tape as they are on disk.


McKlain

In Markus' JavaCPC you have an option to create a tape from files in the loaded dsk using a GUI. It's on Edit > Copy files from DF0 as CDT.

Powered by SMFPacks Menu Editor Mod