CPCfs v0.85 update
==================
CPCfs (c) Derik van Zuetphen
CPCfs update by Kevin Thacker. May 2000.

This is not an official CPCfs release.

I was talking to Frederic Herlem, maintainer of the ALL-CPC list,
and he mentioned bugs he had discovered and features he would like to see in CPCfs.
We both agree that CPCfs is an excellent utility for transfering files to
and from CPCEMU style disk images.

Since I have not seen any CPCfs releases for a while, I decided to take
the original CPCfs source and add my changes to fix a few bugs and add
some more features.

Although this version fixes some bugs, I may have accidentally introduced some
new bugs. Since I do not use all the features of CPCfs I have not fixed all the bugs
that could be found.

I hope that eventually my source additions will be part of the official distribution.
Derik, if you read this please contact me.

Included in this release is a Windows Command-line executable. It will *not* run under
pure DOS, but will under a Win95/98/2000 and WinNT command-line/Dos window.

I have released this source for the benefit of others, I hope that with the permission
of Derik we could all help to extend the functionality of CPCfs furthur.

I would be interested if others would make sure that this code works under DOS and Linux.
Unfortunatly, I do not have enough spare time to do this myself.

The included "cpmdisks.def" was taken from ftp.lip6.fr/pub/amstrad
It has been modified slightly. (Entries which had a & in front of
their name, as far as the 22disk documentation is concerned, are not
valid in a format description. Therefore, these are not supported
with my update of CPCfs.)

I hope you will enjoy this update.

Best Wishes,

Kevin
amstrad@aiind.upv.es

Changes:
========

- support for Extended disk image file format

- changed code so that it could be compiled using Microsoft
Developer Studio. I only did this because I prefer Microsoft Developer
Studio to develop with. A Windows command-line version can now be created
which will work under WinNT, Win95, Win98 and Win2000.

- support for 22disk .def file. CPCfs used to have a fixed selection
of formats, now it can be configured.

- support for many disk format types (Romdos, Amsdos, Vortex etc),
through a 22disk .def disk format definition file.

- improved disk format detection 

- added "formats" command which lists the available formats.
The list takes the form:

<identifier> (<description>)

- changed format command:
format -f <format identifier> <disk image name>

The <format identifier> is the <identifier> listed in the "formats" command.
Please type the identifier exactly and in the case shown in the list.

- updated stat command:
This will now display the disk image type ("standard" or "extended"), and will
report the detected format in the same way as it is seen in the "formats" command.

Bug fixes:
==========

- disk images where sectors were not stored consecutive now work.
(after reading the documentation this appears to be intentional. In my opinion,
this means that CPCfs is restricted in the disk images that can be used. A disk image,
in DATA format would fail if the sectors were not consecutive, even if the whole
image did not contain copyprotection!).

- fixed possible with long filenames. The end of some buffers
could be overwritten causing crash problems. Not likely under DOS but could happen
under Linux and Windows version.

- added sanity checks in places where crashes could occur.

To be done:
===========

- error checking for missing sectors or tracks in read/write mode.
- choose disk image format to write (extended/standard)
- anything else anyone can suggest....

 