Skip to content

UnifiedFloppyTool v4.1.3

Choose a tag to compare

@Axel051171 Axel051171 released this 16 Apr 17:28
· 1577 commits to main since this release

UnifiedFloppyTool v4.1.3 — Forensic CRC Propagation & Plugin Quality

Highlights

  • CRC/Status Flag Propagation for 8 format plugins — forensic metadata now visible in GUI
  • 2 new Plugin-B implementations (IMD, FDI) fix linker errors
  • 5 new write plugins (DO, PO, ADL, V9T9, VDK) — now 17/32 plugins with write support
  • 4 critical bug fixes (MSA data corruption, G71 memory leak, DSK_CPC crash, SSD dead code)

Forensic CRC/Status Improvements

Sector-level CRC errors and deleted data marks are now propagated from format headers to sector metadata. Previously these were silently ignored.

Format CRC Error Detection Deleted Mark Source
TD0 (Teledisk) ✅ sec_flags bit 0 ✅ sec_flags bit 2 Sector header byte 4
D88 (PC-88/98) ✅ status 0xA0/0xB0 ✅ status 0x10 Sector header byte 13
DMK (TRS-80) — ✅ DAM 0xF8 Data Address Mark
DSK/EDSK (CPC) ✅ ST1/ST2 bit 5 ✅ ST2 bit 6 FDC status registers
IMD (ImageDisk) ✅ dtype 5-8 ✅ dtype 3/4/7/8 Sector data type field
NIB (Apple II) ✅ GCR checksum — 6&2 encoding XOR chain
ATX, STX, PRO (already had CRC flags)

NIB forensic improvement: Previously, sectors with GCR checksum errors were silently discarded. Now they are preserved with crc_ok=false — no bit lost.

Critical Bug Fixes

  • MSA operator precedence — msa[5] + 1 bound before |, producing wrong side count. All MSA images were potentially parsed with incorrect geometry
  • G71 memory leak — fseek() failure leaked 5 allocations (offsets, speeds, track_data, disk, FILE)
  • DSK_CPC NULL deref — malloc(sec_size) without NULL check in dsk_read_track()
  • SSD registry mismatch — Registry referenced old uft_ssd.c while better uft_ssd_plugin.c was dead code

New Plugin-B Implementations

  • IMD (ImageDisk) — Full sector decode: 8 data types, RLE compression, optional cyl/head maps, deleted+error flags
  • FDI (Formatted Disk Image) — Header + track table + variable sector sizes

Write Support Expansion (12 → 17 plugins)

Plugin Format Write
DO Apple II DOS 3.3 ✅ new
PO Apple II ProDOS ✅ new
ADL Acorn DFS Large ✅ new
V9T9 TI-99/4A ✅ new
VDK Tandy CoCo ✅ new

Build System Fixes

  • Fixed 4× \n literal corruption in .pro file (Python sed artifact)
  • Fixed Unicode arrow → causing qmake parse failure
  • Fixed trailing \ after comment making 16 source lines invisible
  • Removed 3 non-existent source files from build
  • Added linker stubs for uft_prov_*, uft_ufi_backend_init, uft_cpu_has_feature

Stats

  • 32 registry plugins (was 32, +2 new implementations replacing stubs)
  • 17 plugins with write support (was 12)
  • 8 plugins with CRC/status flags (was 3)
  • 0 compile errors, 0 qmake warnings

"Kein Bit verloren" — Every CRC error and deleted mark is now forensically documented.