Friday, September 01, 2017

How to run CPCXFS under Debian or Ubuntu

CPCXFS is a DSK Amstrad CPC disk image editor for use with emulators, you can:
  • Create new DSK images.
  • List the contents of the DSK.
  • Add, rename or delete files in the DSK.
  • Etc.

Setup

Follow these steps in order to install it in your GNU/Linux distro:
  • Add the necessary packages to compile and install:
    sudo apt-get install termcap* build-essential
  • Download the lastest versión.
  • You can uncompress it with nautilus, mc or console with the command:
    unzip -x cpcxfs.zip
  • Compile it:
    cd src
    make -f makefile.lnx clean
    make -f makefile.lnx
  • Move the binary to /usr/local/bin to get available in any path
    sudo mv cpcxfs /usr/local/bin/

Use

You can use this software in the linux console, you can see all the possibilities with the command:
cpcxfs --help

You can see some help files into the zip:
  • cpcxfs.doc: text plain file, you can use your distro text editor.
  • cpcxfs.hlp: windows help file, you can use xchm to read it.
Some interesting examples of use:
ExamplesResult
cpcxfs disc.dsk -dShow the contents of the DSK
cpcxfs disc.dsk -sShow statistics and technical information about the DSK
cpcxfs disc.dsk -g fileExtract a file from the DSK
cpcxfs disc.dsk -p fileAdd a file from the DSK
cpcxfs disc.dsk -mg file*Extract the files from the DSK acording to the input mask
cpcxfs disc.dsk -mp file*Add the files from the DSK acording to the input mask
cpcxfs disc.dsk -hMore help
..
Artículo original en castellano

No comments:

Post a Comment