Insert ST files into .ST or HDD disc image (Linux)

A forum about the Hatari ST/STE/Falcon emulator - the current version is v2.2.0

Moderators: simonsunnyboy, thothy, Moderator Team

siriushardware
Captain Atari
Captain Atari
Posts: 486
Joined: Thu Aug 21, 2014 7:55 pm
Location: UK

Insert ST files into .ST or HDD disc image (Linux)

Postby siriushardware » Mon Nov 16, 2015 1:03 pm

Sorry for having to ask but I have searched around and don't seem to find the exact answer to this question:

Situation:
1) Linux box, which is used to download individual Atari ST files from time to time (as opposed to disc images)
2) Hatari installed, with a Linux folder containing various images of Floppy drives and several hard drive images.

Question:
How to place individually downloaded files directly into an existing .ST floppy image or a folder on an existing HDD image?

At the moment, what I do is copy the files (in linux) onto a PC formatted DS 720K disc, then DD the disc to a .ST image which I can then 'insert' into one of Hatari's drives. Then, in Hatari, I drag the files from the inserted floppy image into a folder on one of the HDD images. This is quite a long winded method.

Is there a more direct method or some independent piece of Linux software which combines a file browser / selector with a disc image creator, or better still can insert chosen files directly into a pre-existing .ST or HDD image?

User avatar
AdamK
Captain Atari
Captain Atari
Posts: 293
Joined: Wed Aug 21, 2013 8:44 am

Re: Insert ST files into .ST or HDD disc image (Linux)

Postby AdamK » Mon Nov 16, 2015 2:04 pm

Add GEMDOS drive to hatari and vopy files from it to your image under hatari.
Atari: FireBee, Falcon030 + CT60e + SuperVidel + SvEthlana, TT, 520ST + 4MB ST RAM + 8MB TT RAM + CosmosEx + SC1435, 1040STFM + UltraSatan + SM124, 1040STE 4MB ST RAM + 8MB TT RAM + CosmosEx + NetUSBee + SM144 + SC1224, 65XE + U1MB + VBXE + SIDE2, Jaguar, Lynx II, 2 x Portfolio (HPC-006)

Adam Klobukowski [adamklobukowski@gmail.com]

siriushardware
Captain Atari
Captain Atari
Posts: 486
Joined: Thu Aug 21, 2014 7:55 pm
Location: UK

Re: Insert ST files into .ST or HDD disc image (Linux)

Postby siriushardware » Mon Nov 16, 2015 3:42 pm

So I can copy files into the folders of the GEMDOS drive using either the terminal command line interface or the desktop's file manager just as I can into any other Linux folder, correct?

I take it that I can run a GEMDOS drive and a real hard drive image simultaneously with the HDD image as (Say) drives C, D, and E and the GEMDOS drive as drives F, G, H? I wasn't aware of that. I thought it was either / or (I don't know why I thought that).

How do I inform Hatari which 'ST drives' are on the drive image and which are on the GemDOS drive?

siriushardware
Captain Atari
Captain Atari
Posts: 486
Joined: Thu Aug 21, 2014 7:55 pm
Location: UK

Re: Insert ST files into .ST or HDD disc image (Linux)

Postby siriushardware » Mon Nov 16, 2015 6:20 pm

Well, I tried this and it seems to work.

-In the 'Hard Disks' setup under F12 I already have an ACSI hard drive image set up with three drives, C, D ,E, on it. Hatari boots from drive 'C' of this drive image.

-In Linux, I made a new folder called GEMDOS and in this folder I placed another folder called 'F'.

-In Hatari / F12 / hard disks I went to 'GEMDOS drive' and browsed to the GEMDOS folder (Not the 'F' folder) as the target.

-On the Hatari desktop I highlighted the existing 'E' drive icon and then went up to 'Install new drive' and in the box which appeared, edited the drive letter to 'F' and the drive name to GEMDOS. This created a new disk icon, drive F - GEMDOS.

-I saved the desktop with this new icon on it, then went to F12 / save configuration and saved the new setup with the default name, hatari.cfg

On exit from / re-entry to Hatari I found that I now had the original three hard drive icons, plus the new 'F' icon. As an experiment I copied the contents of drive 'E' to drive 'F' and that appeared to work OK.

On exit from Hatari, back to the Linux desktop, I found that I could now view the files copied from the Hatari drive E to drive F in the folder GEMDOS/F.

Is this how it should work, or have I made any terrible mistakes? I was basically just guessing my way around.

User avatar
simonsunnyboy
Moderator
Moderator
Posts: 5169
Joined: Wed Oct 23, 2002 4:36 pm
Location: Friedrichshafen, Germany
Contact:

Re: Insert ST files into .ST or HDD disc image (Linux)

Postby simonsunnyboy » Mon Nov 16, 2015 6:40 pm

Hatari comes with a handy zip2st tool. It creates an .st disk image from ZIP file contents with mtools and dd. Great thing :9 And you can use the supplied hmsa afterwards to make a .msa file out of it.
Simon Sunnyboy/Paradize - http://paradize.atari.org/

Stay cool, stay Atari!

1x2600jr, 1x1040STFm, 1x1040STE 4MB+TOS2.06+SatanDisk, 1xF030 14MB+FPU+NetUS-Bee

siriushardware
Captain Atari
Captain Atari
Posts: 486
Joined: Thu Aug 21, 2014 7:55 pm
Location: UK

Re: Insert ST files into .ST or HDD disc image (Linux)

Postby siriushardware » Mon Nov 16, 2015 7:06 pm

SSB, thanks for that - between that and AdamK's hint about using a GEMDOS drive as the go-between twixt Linux and emulated ST HDD images, I think my problems seem to be solved - cheers both.

User avatar
guythp
Captain Atari
Captain Atari
Posts: 157
Joined: Thu Oct 16, 2003 8:03 pm
Location: east england

Re: Insert ST files into .ST or HDD disc image (Linux)

Postby guythp » Wed Apr 03, 2019 3:59 pm

simonsunnyboy wrote:Hatari comes with a handy zip2st tool. It creates an .st disk image from ZIP file contents with mtools and dd. Great thing :9 And you can use the supplied hmsa afterwards to make a .msa file out of it.


Apologies for the thread revival but thanks for that! I was trying to work out how to play Giana STE via hatari and now I can, albeit nearly 5 years late :D
The Hairy Pies


Social Media

     

Return to “Hatari”

Who is online

Users browsing this forum: No registered users and 6 guests