[uae] Re: Will there be a upcoming E-UAE release?

  • From: "Keith G. Robertson-Turner" <uae-freelists@xxxxxxxxxx>
  • To: uae@xxxxxxxxxxxxx
  • Date: Mon, 24 Nov 2008 16:40:44 +0000

Verily I say unto thee, that Andrew 'Truck' Holland spake thusly:
> On So, 23 Nov 2008, Keith G. Robertson-Turner wrote:
>> Verily I say unto thee, that Bernd Schmidt spake thusly:
>> 
>>> Needed for what?  What's the goal, or to repeat my question, what
>>> do you need that UAE or E-UAE don't already have?
>> 
>> Does (E)UAE support the creation of hardfiles yet?
> 
> You can create a working hardfile using various methods.

Well I've never actually tried this with Amiga filesystems, but I'm
guessing the following would be along the right lines:

1. modprobe affs
2. dd if=/dev/zero of=Workbench.hdf bs=1M count=1024
3. losetup /dev/loop0 Workbench.hdf
4. use fdisk to create an AFFS RDB ???
5. mkfs -t affs Workbench.hdf
6. mount -t affs Workbench.hdf /mnt/Workbench -o loop=/dev/loop0

As an alternative to step 4 (which I haven't yet worked out how to do):

7. Use HDToolbox in the host to partition the new hardfile

Also, I just tried step 5, and it failed with:

   mkfs.affs: No such file or directory

Even though the affs module loaded successfully.

I read through the kernel docs for the module, but it doesn't seem to
have any info about actually creating RDBs:

http://www.mjmwired.net/kernel/Documentation/filesystems/affs.txt

Then there's the question of actually /using/ the hardfile in UAE, since
AFAICT the GUI lacks the means to add such a filesystem, and it needs to
be added manually to the config, like this:

hardfile2=rw,HD0:$(FILE_PATH)/Amiga/Workbench.hdf,0,0,0,512,-1,
hardfile=rw,0,0,0,512,$(FILE_PATH)/Amiga/Workbench.hdf

I'm not entirely clear if both these lines are necessary, or if one is a
legacy left over from a previous version of the program.

So I went ahead and added the unpartitioned and unformated hardfile to
uaerc, like this:

hardfile2=rw,HD1:$(FILE_PATH)/Work.img,0,0,0,512,-1,
hardfile=rw,0,0,0,512,$(FILE_PATH)/Work.hdf

But when I ran uae, HDToolbox could only see HD0; HD1 was missing.

Clearly this process is non-trivial, and needs some serious work to be
actually usable.

The hardfiles I use currently were created by WinUAE many years ago, and
simply cloned and repartitioned/reformated over the years. If I had to
make new ones from scratch then I'd be stuck, because I'm Linux-only
these days.

Meanwhile, any pointers to get this to actually work, would be most welcome.

-- 
Regards,
Keith G. Robertson-Turner


Other related posts: