12 June 2008, 11:37 | #1 |
Zone Friend
Join Date: Apr 2005
Location: London
Posts: 1,176
|
Creating and mounting hardfiles from amiga side
Is it possible, from within the emulated amiga, to create a hardfile of a certain size and then mount it (and unmount it), without restarting the amiga?
|
12 June 2008, 14:30 | #2 |
Registered User
Join Date: Feb 2008
Location: New York / USA
Posts: 360
|
No, because the Amiga itself does not support fixed-disk removable media. What you're suggesting is the equivalent of plugging a hard drive into the SCSI cable of a running Amiga and having AmigaDOS see the RDB without rebooting.
Rodney |
12 June 2008, 17:21 | #3 |
Zone Friend
Join Date: Apr 2005
Location: London
Posts: 1,176
|
I see.
Is it possible in winuae to mount a hardfile as removable media? (Like on a real Amiga when you use a zip drive) |
12 June 2008, 18:56 | #4 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
Hardfile on the fly insertion via GUI or dragndrop isn't working yet but real removable (non PC-formatted, USB sticks, memory cards, zip disks etc..) drives mount automatically.
|
12 June 2008, 23:08 | #5 |
Zone Friend
Join Date: Apr 2005
Location: London
Posts: 1,176
|
Cool, thanks Toni.
Last question - is there a limit to the number of hardfiles I can have mounted? Would 10 or 15 hardfiles (only little ones - each under 20 Mbyte ) be ok? |
13 June 2008, 09:18 | #6 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 6,985
|
|
13 June 2008, 16:39 | #7 |
Zone Friend
Join Date: Apr 2005
Location: London
Posts: 1,176
|
Ah, excellent, DiskImage is just perfect for the job I want to do!
Great suggestion! You know you can create an empty hardfile with winuae, where you specify the size in Mbytes... do you know of a program on the Amiga to create a hardfile where I can specify the size in Kbytes? That would be awesome. I see that DiskImage allows me to create a new empty hardfile with the properties of an existing device, but that's not the same. Last edited by rare_j; 13 June 2008 at 16:40. Reason: used the wrong smiley! |
13 June 2008, 17:48 | #8 | |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 6,985
|
Quote:
Code:
/* rexx */ size = 880*1024 file = "ram:test.adf" buffsize = 32768 buffer = left("",buffsize,'00'x) if Open(out,file,write) then do do while (size > buffsize) call WriteCh(out,buffer) size = size - buffsize end call WriteCh(out,left(buffer,size)) call Close(out) end else say "cannot open output file:" file |
|
13 June 2008, 23:10 | #9 |
Zone Friend
Join Date: Apr 2005
Location: London
Posts: 1,176
|
Excellent! Works perfect!
Thankyou! |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mounting .hdf files from Linux side? How? | Hercules | support.OtherUAE | 5 | 13 January 2020 10:48 |
WANTED: Amiga 1000 side expansion slot plastic cover | klx300r | MarketPlace | 0 | 20 August 2012 03:10 |
Mounting a PC CD on an Amiga 1200 | AndersHP | support.Other | 6 | 16 August 2010 12:59 |
program to format/copy Amiga diks/files on the PC side ? | Overdoc | support.Other | 3 | 21 January 2010 18:08 |
Share Amiga volumes TO windows side. | kokoko3k | request.UAE Wishlist | 0 | 06 July 2004 14:39 |
|
|