News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_Ythcal

DSK-Manager for unix/osx?

Started by Ythcal, 12:59, 23 February 11

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ythcal

Does anyone know about a tool for unix/osx to manage .DSKs? (create image, Import/Export single files)


I found iDSK, but it seems to be french only :-(

SyX

I use iDSK and only have minor text in french, the rest is in english, including how you can see the command line help:
$ iDSK
You did not select a DSK file to work with !

--------------------------------------------------------------------------------
################################################################################
iDSK version 0.15 (by Demoniak, Sid, PulkoMandy), www.code.google.com/p/cpcsdk
################################################################################

Usage :
        iDSK <DSKfile> [OPTIONS] [files to process]
OPTIONS :                              EXAMPLE
-l : List disk catalog                 iDSK floppy.dsk -l
-g : export ('Get') file               iDSK floppy.dsk -g myprog.bas
-r : Remove file                       iDSK floppy.dsk -r myprog.bas
-n : create New dsk file               iDSK floppy2.dsk -n
-z : disassemble a binary file         iDSK floppy.dsk -z myprog.bin
-b : list a Basic file                 iDSK floppy.dsk -b myprog.bas
-d : list a Dams file                  iDSK floppy.dsk -d myprog.dms
-h : list a binary file as Hexadecimal iDSK floppy.dsk -h myprog.bin
-i : Import file                       iDSK floppy.dsk -i myprog.bas
-t : fileType (0=ASCII/1=BINARY)           ... -t 1
-e : hex Execute address of file           ... -e C000 -t 1
-c : hex loading address of file           ... -e C000 -c 4000 -t 1
-f : Force overwriting if file exists      ... -f
-o : insert a read-Only file               ... -o
-s : insert a System file                  ... -s
-u : insert file with User number          ... -u 3
--------------------------------------------------------------------------------
Please report bugs ! - Demoniak/Sid/PulkoMandy
Although if you like, you can suggest to the authors for an english version, they are always very helpful and open to the user suggestions  :)

Ythcal

OK, the homepage linked at the wiki just offers an older version (0.13) which ist french.


Where did you get 0.15? At the mentioned website of the header (www.code.google.com/p/cpcsdk) I only find a windows version...

SyX

Well, i downloaded the sources from the svn and recompiled it.

I have attached the sources and an executable compiled for linux x86-64. For compiling you only have to:$ sh build_config.sh
$ ./configure
$ make
If you find another problem, tell me :)

Ythcal


mr_lou

I have always used Windoze tools with wine on my Linux; ManageDsk, and some other commandline tool.

Will have to take a look at iDsk though. But I'm pretty sure I went with a 32bit version of Ubuntu when installing, so I guess I can't use a 64bit version of iDsk then?

SyX

The executable no because i make a 64 bit version for my Debian 64, but you can compile it with the same instructions in your system ;)

ced64k

#7
up :)

Could someone tell me the correct command to create a .dsk (replace .dsk if existing) and add a binary file to it ?

I tried with this command, I can see the file with CAT, but I can load it (the Amstrad returns to Basic). I tried with CPCDiskXP, with the same .bin and it works.

iDSK mydisk.dsk -i -n -f -t 1 mybin.bin

And:
iDSK mydisk.dsk -i  mybin.bin

And also:

iDSK mydisk.dsk -n -i -e 6000 -c 6000 -t 1 -f  mybin.bin
(not sure about the hex value)


-n : create New dsk file
-i : Import file
-t : fileType (0=ASCII/1=BINARY)
-e : hex Execute address of file
-c : hex loading address of file
-f : Force overwriting if file exists

(I compiled 0.13 and 0.15 under Mac OS X 10.9)

Thanks :)

ralferoo

I used this with good results:

iDSK image.dsk -i program.bin -e 8000 -c 8000 -t 1 -f



ced64k

Thanks it works :)

I only have a problem with 0.15, when the same command, it returns "Segmentation fault: 11". However I don't have error during compilation. With 0.13 it works.

CraigsBar

Quote from: ced64k on 23:21, 09 February 14

(I compiled 0.13 and 0.15 under Mac OS X 10.9)




Any chance you can upload binary versions of one or both of these?


Thanks


Craig
IRC:  #Retro4All on Freenode

ced64k


Powered by SMFPacks Menu Editor Mod