[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dsktool.rb and Ruby Questions



"jonnosan" <jonnosan@gmail.com> wrote in message 
f698c5dd-d09b-45b2-8645-74f08bfb504c@w24g2000prd.googlegroups.com">news:f698c5dd-d09b-45b2-8645-74f08bfb504c@w24g2000prd.googlegroups.com...
>It looks like in the dsktool module build for this version, I haven't 
>specified the dependancy on the png module

This problem is also in the latest version. I omitted that in my original 
post.

I uninstalled and reinstalled ruby again, installed png, installe dsktool 
and catalogued a CP/M disk and extracted files correctly.  Also tried DOS 
3.3 and ProDOS and those 2 operations seemed to work just fine. Mutt is 
right. Had I researched I would have known more.

See below:

C:\ruby>gem install /dsktool/png-1.0.0.gem
Successfully installed png, version 1.0.0
Installing ri documentation for png-1.0.0...
Installing RDoc documentation for png-1.0.0...

C:\ruby>cd \dsktool

C:\dsktool>gem install dsktool-0.5.1.gem
Successfully installed dsktool, version 0.5.1
Installing ri documentation for dsktool-0.5.1...
Installing RDoc documentation for dsktool-0.5.1...

Then:

C:\cpmtools>dsktool.rb -c SoftcardCPM.dsk
SoftcardCPM.dsk
sector order:   physical
filesystem:     cpm
   APDOS.COM   1664
     ASM.COM   8192
CONFIGIO.BAS   7424
    COPY.COM   1024
   CPM56.COM  10752
     DDT.COM   5120
DOWNLOAD.COM    512
    DUMP.ASM   4224
    DUMP.COM    512
      ED.COM   6656
  FORMAT.COM   2304
  GBASIC.COM  25600
    LOAD.COM   1792
  MBASIC.COM  24576
     PIP.COM   7424
    RW13.COM   2304
    STAT.COM   6144
  SUBMIT.COM   1280
    XSUB.COM    768

And finally :

C:\cpmtools>dsktool.rb -e APDOS.COM -o foo.com --raw SoftcardCPM.dsk

 Directory of C:\cpmtools

04/12/2008  09:07 PM             1,664 foo.com

Then I tried a ProDOS disk:

C:\AppleX\SAMPLES\FATFONT>dsktool.rb -e FATFONT.FNT -o foo.bin --raw 
METOO.DSK

No additional problems to report. Just the complaint about the size of the 
ruby runtime. .

I also ran dskexplorer.rb without problem.

Bill