LIBDSK page
LIBDSK is a library for accessing discs and disc image files. It
is intended for use in:
- Emulator tools - converting between real floppy discs and disc
images, as CPCTRANS / PCWTRANS do under DOS.
- Filesystem utilities - CPMTOOLS is
configurable to use LIBDSK, thus allowing the use of CPMTOOLS on
emulator .DSK images. To do this, install LIBDSK and then build
CPMTOOLS, using "./configure --with-libdsk". For
CPMTOOLS 1.9 or 2.0, you will also need to apply this patch.
- Emulators - it is possible to use LIBDSK as part of an
emulator's floppy controller emulation, thus giving the emulator
transparent access to .DSK files or real discs.
New in v1.1.1
- Support has been added for the
APRIDISK file
format.
- LibDsk can be programmed to retry automatically in case of error.
- Supports double-stepping, so 360k discs can be read in 1.2Mb drives.
New in v1.1.0
- The example utilities take parameters in any order.
- Support has been added for the 400k disc images used by the NanoWasp
emulator.
- The 32-bit Windows library can use the 16-bit library for
floppy disc access. This allows 32-bit LibDsk programs to read ADFS
floppies, for example.
New in v1.0.0
New in v0.9.9
- More bug fixes.
- Now compiles under 16-bit DOS and Windows.
- Projects included for Visual C++, Borland C++, Pacific C and
DJGPP.
New in v0.9.5
- Bug fixes in the POSIX and MYZ80 drivers.
New in v0.9.1
- Squeeze code rewritten from scratch to avoid possible licence
conflict.
New in v0.9.0
- Support for compressed disc image files (.SQ and .gz).
- Support for reading/writing deleted data.
- Major bug fixes in the support for extended CPCEMU-format disc
images.
- BBC Micro DFS added to the list of built-in formats.
Disc types supported
LIBDSK has drivers for:
- Raw files (including /dev/fdn).
- .DSK files, as used in CPCEMU, JOYCE and other Sinclair/Amstrad
emulators.
- MYZ80 hard drive image files.
- NanoWasp floppy image files.
- .CFI (Compressed Floppy Image) files, as created by FDCOPY.COM
under DOS.
- The Linux floppy drive (supports CPC System and Data formats,
which the standard "Raw file" driver does not).
- The Windows 3.x/95/98/ME/NT/2000 floppy drive.
- The DOS floppy drive (via the PC BIOS).
Download
Stable version: libdsk-1.0.0.tar.gz
Development version: libdsk-1.1.1.tar.gz
Debian
packages by Darren Salt.
Redhat 9
packages by Ian Chapman.
LIB765
Lib765 is the floppy controller emulation from JOYCE, separately packaged. It is (in some
sense) the reverse of LibDsk; it converts uPD765a commands into
LibDsk API calls. It should come in handy if you're writing a PCW,
CPC or Spectrum+3 emulator; if you want to use it in a PC emulator,
you'll need to add features such as DMA.
New in v0.3.1
- (v0.3.1) Fixed default error handler.
- (v0.3.0) Should be compatible with MacOS X.
lib765-0.3.1.1.tar.gz
John Elliott
2003-06-18