[CP/M filesystem] Wrong cluster size detected in Amstrad CPM Plus 1.4 for PCW #721

Closed
opened 2026-01-29 15:27:28 +00:00 by claunia · 0 comments
Owner

Originally created by @claunia on GitHub (May 28, 2021).

Prerequisites

  • Are you running the latest version?
  • Can you reproduce the problem in the debug version?

Check and fill as appropriate:

  • I was running Aaru under Linux 5.11.4-arch1-1...
  • ...in 64-bit
  • ...using an Intel / AMD processor

Description

Cluster size of a CP/M filesystem created by Amstrad/Locomotive CP/M Plus 1.4 for Amstrad PCW computers is incorrect.

Exact command line used:

Unit test.

Expected behavior:

Cluster size detected as 512 bytes.

Actual behavior:

Cluster size detected as 1024 bytes.

Output of command execution with debug output enabled

claunia@zeus ~/Documents/Joyce/Disks/2.5 $ dotnet ~/Development/Aaru/Aaru/Aaru/bin/Debug/netcoreapp3.1/aaru.dll fs info '/mnt/DiscImageChef/Filesystems/CPM/Amstrad CPM+/pcw_1.4_files.aif' 
aaru 5.2.99.3380-alpha+709d550e built by zeus in Debug, modified
Copyright © 2011-2021 Natalia Portillo

Image format identified by Aaru Format.

Identified by CP/M File System.
CP/M filesystem
Identified as Amstrad PCW superblock
Volume block is 1024 bytes
Volume contains 64 directory entries
Volume reserves 1 tracks (9 sectors) for system
Device uses 2:1 hardware interleaving
BSH 3 BLM 7 EXM 0 DSM 0 DRM 63 AL0 C0H AL1 00H OFS 1
Uploading statistics
Originally created by @claunia on GitHub (May 28, 2021). ### Prerequisites * [x] Are you running the latest version? * [x] Can you reproduce the problem in the debug version? ### Check and fill as appropriate: * [ ] I was running Aaru under Linux 5.11.4-arch1-1... * [x] ...in 64-bit * [x] ...using an Intel / AMD processor ### Description Cluster size of a CP/M filesystem created by Amstrad/Locomotive CP/M Plus 1.4 for Amstrad PCW computers is incorrect. ### Exact command line used: Unit test. ### Expected behavior: Cluster size detected as 512 bytes. ### Actual behavior: Cluster size detected as 1024 bytes. ### Output of command execution with debug output enabled ``` claunia@zeus ~/Documents/Joyce/Disks/2.5 $ dotnet ~/Development/Aaru/Aaru/Aaru/bin/Debug/netcoreapp3.1/aaru.dll fs info '/mnt/DiscImageChef/Filesystems/CPM/Amstrad CPM+/pcw_1.4_files.aif' aaru 5.2.99.3380-alpha+709d550e built by zeus in Debug, modified Copyright © 2011-2021 Natalia Portillo Image format identified by Aaru Format. Identified by CP/M File System. CP/M filesystem Identified as Amstrad PCW superblock Volume block is 1024 bytes Volume contains 64 directory entries Volume reserves 1 tracks (9 sectors) for system Device uses 2:1 hardware interleaving BSH 3 BLM 7 EXM 0 DSM 0 DRM 63 AL0 C0H AL1 00H OFS 1 Uploading statistics ```
claunia added the bug label 2026-01-29 15:27:28 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: aaru-dps/Aaru-aaru-dps#721