Welcome, Guest. Please login or register.

Author Topic: Script for mounting ADF, ISO and HDF images.  (Read 5196 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline PanterHZTopic starter

  • Sr. Member
  • ****
  • Join Date: Jul 2009
  • Posts: 295
    • Show only replies by PanterHZ
    • http://www.rhz1.com
Script for mounting ADF, ISO and HDF images.
« on: September 24, 2011, 03:13:56 AM »
The next version of Amiga911 Maker is soon ready to be released. One of the new features is that DiskImage can now be added to the boot disks created, this gives the possibility of mounting ADF floppy images, ISO CD-ROM images and HDF harddisk images after booting the Amiga911 floppy. The user can then copy files from/to the mounted image files,

Everything is controlled by DiskImageGui, which is a simple requester based script I have created, it allows the user to insert and eject disk image files in/from the virtual devices. Since things has to be kept very simple on the Amiga911 disk, I decided to not mess around with seperate mount files. Instead they will be generated on the fly by the script when they are needed, then the script will use the temporarily created mount files for mounting the image files.

The mount file creation method turned out to be really useful when dealing with HDF image files since the details of the mount file needs to match the characteristics of the HDF image in question. Here the "HighCyl" value is most important, and the script will use the size of the HDF file for calculating the correct value.

The main reason for adding HDF support, is that not only will it now be possible to set up a harddisk by using the Amiga911 disk, the user can also mount one of the pre-configured Workbench packs like ClassicWB, and then copy everything from the HDF file directly to the harddisk!
Several versions of ClassicWB has been tested, and the DiskImageGui script should be able to mount any HDF file as long as it uses a block size of 512 and a BlocksPerTrack value of 32.


The reason why I'm writing this post, is just in case someone here on this forum is interested in the script I have created. DiskImageGui does also work on standard Workbench as well, so I'm including it here. Just have in mind that a 020 or higher CPU is required.

In addition you will also need this: http://aminet.net/package/disk/misc/diskimage

Just copy DiskImageCtrl to C: and diskimage.device to Devs:, then start the DiskImageGui script. For mounting ISO images, you will also need AmiCDFS which you can find here: http://aminet.net/package/disk/cdrom/amicdfs240


PS! There are two different versions of diskimage.device, but only Thore Böckelmann's version is supported.
 

Offline nicholas

Re: Script for mounting ADF, ISO and HDF images.
« Reply #1 on: September 24, 2011, 03:24:43 AM »
Amazing work as usual, thanks! :)
“Een rezhim-i eshghalgar-i Quds bayad az sahneh-i ruzgar mahv shaved.” - Imam Ayatollah Sayyed  Ruhollah Khomeini
 

Offline PanterHZTopic starter

  • Sr. Member
  • ****
  • Join Date: Jul 2009
  • Posts: 295
    • Show only replies by PanterHZ
    • http://www.rhz1.com
Re: Script for mounting ADF, ISO and HDF images.
« Reply #2 on: October 02, 2011, 08:31:59 PM »
Thanks nicholas :)

Amiga911 Maker 1.46 will most likely be released within the next few days, I just have to do some more testing and go over the documentation first.
 

Offline Gulliver

Re: Script for mounting ADF, ISO and HDF images.
« Reply #3 on: October 02, 2011, 08:36:39 PM »
Great work!

I am glad you are still working on it.
 

Offline PanterHZTopic starter

  • Sr. Member
  • ****
  • Join Date: Jul 2009
  • Posts: 295
    • Show only replies by PanterHZ
    • http://www.rhz1.com
Re: Script for mounting ADF, ISO and HDF images.
« Reply #4 on: October 13, 2011, 04:42:24 AM »
Thanks Gulliver :)

Version 1.46 of Amiga911 Maker is now available.

http://rhz1.com/amiga911maker
 

Offline XDelusion

  • Alien Breeder
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 5089
    • Show only replies by XDelusion
    • http://starwarslegacy.net/
Re: Script for mounting ADF, ISO and HDF images.
« Reply #5 on: October 13, 2011, 04:59:14 AM »
Hey, thankx brother!
Earth has a lot of things other folks might want... like the whole planet. And maybe these folks would like a few changes made, like more carbon dioxide in the atmosphere and room for their way of life. - William S. Burroughs
 

Offline Darrin

  • Lifetime Member
  • Hero Member
  • *****
  • Join Date: May 2002
  • Posts: 4430
    • Show only replies by Darrin
Re: Script for mounting ADF, ISO and HDF images.
« Reply #6 on: October 13, 2011, 05:26:14 AM »
Cheers.  Finally an easy way to install ClassicWB on a real Amiga without messing around with UAE (not that it is that much trouble, but it is nice to do it all on an Amiga).  I look for ward to trying it.
A2000, A3000, 2 x A1200T, A1200, A4000Tower & Mediator, CD32, VIC-20, C64, C128, C128D, PET 8032, Minimig & ARM, C-One, FPGA Arcade... and AmigaOne X1000.
 

Offline XDelusion

  • Alien Breeder
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 5089
    • Show only replies by XDelusion
    • http://starwarslegacy.net/
Re: Script for mounting ADF, ISO and HDF images.
« Reply #7 on: October 16, 2011, 08:22:26 PM »
Oh, and I just noticed that you are familiar with The Residents.

Double Plus Good! ;)
Earth has a lot of things other folks might want... like the whole planet. And maybe these folks would like a few changes made, like more carbon dioxide in the atmosphere and room for their way of life. - William S. Burroughs
 

Offline PanterHZTopic starter

  • Sr. Member
  • ****
  • Join Date: Jul 2009
  • Posts: 295
    • Show only replies by PanterHZ
    • http://www.rhz1.com
Re: Script for mounting ADF, ISO and HDF images.
« Reply #8 on: November 03, 2011, 09:16:24 PM »
Quote from: Darrin;663392
Cheers.  Finally an easy way to install ClassicWB on a real Amiga without messing around with UAE (not that it is that much trouble, but it is nice to do it all on an Amiga).  I look for ward to trying it.

Well if you have tried it, I hope everything worked like it should Darrin :)

Quote from: XDelusion;663727
Oh, and I just noticed that you are familiar with The Residents.

Double Plus Good! ;)

Oh yes The Residents. My first experience with the band was in the 80's when a concert with them was aired on TV in my country. I didn't like the music then, and I didn't understand how others could either. But I never forgot about what I had seen, and years later I started to like this kind of weird music that The Residents make.

I was really a happy man the day I found the same concert I watched years ago on youtube, so happy that I not only decided to grab a screen of the video to use as a new avatar, I also downloaded the videos and converted them to mp3 files as well. :)

Here is the concert I'm talking about:

[youtube]U1PMkNwKIgE[/youtube]
 

Offline XDelusion

  • Alien Breeder
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 5089
    • Show only replies by XDelusion
    • http://starwarslegacy.net/
Re: Script for mounting ADF, ISO and HDF images.
« Reply #9 on: November 03, 2011, 11:21:21 PM »
Awesome!! I'm gonna have to remember to download that!!

And you are right, The Residents are most certainly an acquired taste. I don't think I discovered them till about 93 or 94, but have been hooked since!
Earth has a lot of things other folks might want... like the whole planet. And maybe these folks would like a few changes made, like more carbon dioxide in the atmosphere and room for their way of life. - William S. Burroughs
 

Offline slaapliedje

  • Lifetime Member
  • Hero Member
  • *****
  • Join Date: Oct 2010
  • Posts: 843
  • Country: 00
  • Thanked: 1 times
    • Show only replies by slaapliedje
Re: Script for mounting ADF, ISO and HDF images.
« Reply #10 on: November 04, 2011, 02:13:25 AM »
I'm into some weird music (the Legendary Pink Dots) and I'd have to say, that sounds like something they would do, but the outfits are what made that video!  

A constant WTF when watching it.  Bravo, thought I'd seen / heard some of the weirdest music before, I stand corrected.

slaapliedje
A4000D: Mediator 4000Di; Voodoo 3, ZorRAM 128MB, 10/100mb Ethernet, Spider 2. Cyberstorm PPC 060/50 604e/420.
 

Offline XDelusion

  • Alien Breeder
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 5089
    • Show only replies by XDelusion
    • http://starwarslegacy.net/
Re: Script for mounting ADF, ISO and HDF images.
« Reply #11 on: November 05, 2011, 02:31:56 AM »
I'm a HUGE Pink Dots fan as well! :)
Earth has a lot of things other folks might want... like the whole planet. And maybe these folks would like a few changes made, like more carbon dioxide in the atmosphere and room for their way of life. - William S. Burroughs
 

Offline fartknocker

  • Newbie
  • *
  • Join Date: Nov 2011
  • Posts: 1
    • Show only replies by fartknocker
Re: Script for mounting ADF, ISO and HDF images.
« Reply #12 on: November 13, 2011, 10:53:02 PM »
Thankyou .. This is perfect for my needs. :)