Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Disk Image Manager

Disk Image Manager is an application for examining and manipulating disk images in the Standard and Extended DSK format used by many Spectrum, Amstrad PCW and CPC emulators.

Many of this tools features and functions were driven by the Spectrum Disk Preservation team which used this format and tool to help manage the selection and testing of disk images archived to The World of Spectrum and The TZX Vault.

These images are traditionally created with CPDRead under DOS but Simon Owen's mordern SamDisk works great under Windows and provides for much more advanced imaging especially around copy-protected disks.



  • Conversion between standard and extended image formats
  • Identification of tool that created the image
  • List all ASCII strings found on a disk image


  • Display of extended disk parameter block (XDPB)
  • Boot compatibility: Amstrad PCW 9512, Amstrad PCW 8256, Amstrad CPC 664/6128, Sinclair Spectrum +3
  • Visual customisable map of space utilisation, track structure and controller flags
  • Save visual map to bitmap
  • Hex and ASCII display of sector data
  • Search sector data for ASCII data

Disk format identification

Capable of identifying the following original disk formats even when de-skewed by image tools.

  • Amstrad PCW 9512
  • Amstrad PCW 8256 (CF2/CF2DD variants)
  • Amstrad CPC system
  • Amstrad CPC data
  • Spectrum +3
  • Ultra 208 (Chris Pile)
  • HiForm 208/203 (Ian Collier)
  • Supermat 192/XCF2
  • MGT SAM Coupe BDOS
  • MasterDOS

Copy protection identification

Identification of copy-protection schemes both signed and somtimes unsigned:

  • Alkatraz +3/CPC
  • Frontier
  • Hexagon
  • Paul Owens
  • Speedlock +3 1987/1988
  • Speedlock 1985/1986//1987/1987v2.1/1988/1989/1990
  • Three Inch Loader type 1/2/3
  • Laser Load
  • W.R.M Disc Protection (Martech)
  • P.M.S. Loader 1986/1987
  • Players 16-sector
  • KBI-19/KBI-10/CAAV
  • DiscSYS 2/2.5/3/Mean
  • Amsoft EXOPAL
  • Studio B Disc format
  • DiscLoc by Oddball

File system

  • Can list a CP/M file system such as used on +3, PCW and CPC.
  • Understands +3 DOS and CPC file headers
  • Experimental binary "File save as..." available from file entry.


  • Manipulation of controller flags, actual sector sizes and indicated FDC size
  • Formatting and unformatting of specific sectors & tracks
  • Compress out unused tracks and sectors option


  • Formatting of new disk images to known formats
  • Formatting of new disk images to custom tailored formats: Sides, tracks per side, sectors per track, sector size, first sector ID, interleave, reverse tracks, skew tracks, skew sides, gap read/write, gap format, directory blocks, block size, filler byte
  • Writing of disk boot sectors as part of the image formatting process


This application requires the Lazarus development system and was tested using Lazarus IDE v2.2.4 on Windows 11.

To be able to build and visually edit the forms you will need to install the supplied DIMComponents package. To do that:

  1. Go to Package > Open a Package File...
  2. Select the DIMComponents.lpk file from the DiskImageManager Source folder and press Open
  3. Press the Compile button on the window "Package DimComponents"
  4. Once complete press the Use >> button and choose Install
  5. On completion a DIM tab should appear next to the RTTI tab in the components area below the Lazarus main menu


Disk Image analysis

Screenshot identifying a disk format and details

Disk format specification

Screenshot showing specification

Visual track/sector map

Screenshot showing visual map

Track list with details

Screenshot showing track list

Sector list with details

Screenshot showing sector list

Sector hex/ASCII view

Screenshot with hex sector data

Sector properties

Screenshot of sector properties window

New disk formatter

Screenshot of advanced formatter

Future plans

  • Rename file
  • File property sheet to view/modify directory entry and headers
  • Optimize disk (+3, CPC) (defrag + interleave)
  • List BASIC programs (+3, CPC)
  • View image files (+3, CPC)
  • Add files to disk
  • Add/remove headers


Copyright 2002-2023 Damien Guard.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Some icons courtesy of Mark James (FamFamFam) Silk Icon Pack licensed under a Creative Commons Attribution 2.5 License