AminetAminet
Search:
85578 packages online
About
Recent
Browse
Search
Upload
Setup
Services

disk/misc/FmtFloppy.lha

Mirror:Random
Showing: m68k-amigaos icongeneric icon
No screenshot available
Short:floppy formatter, bad block handling
Author: hakke at gmx.de (Andreas Winkler)
Uploader:hakke gmx de (Andreas Winkler)
Type:disk/misc
Version:3.3
Architecture:m68k-amigaos >= 2.0
Date:2026-09-12
Requires:AmigaOS 2.0 (V36) or newer
Download:disk/misc/FmtFloppy.lha - View contents
Readme:disk/misc/FmtFloppy.readme
Downloads:4

A command line floppy formatter that never asks questions. The standard
AmigaDOS Format command wants an interactive console for its confirmation
prompt, which makes it awkward to drive from a script or a Commodore
Installer. FmtFloppy simply does as it is told and returns a result code.


FEATURES

  - Fully non-interactive: no prompts, no requesters.

  - Any drive, any unit, DD or HD. Geometry is read from the device with
    TD_GETGEOMETRY rather than assumed, so non-standard drivers work too.

  - Drives running a foreign filesystem, such as PC0: under CrossDOS,
    are formatted by their own handler. The AmigaDOS-specific options
    (OFS, FFS, INTL, DIRCACHE, BOOT, BOOT2) do not silently misfire
    there: the flavour switches are refused and the bootblock is
    skipped, rather than overwriting an MS-DOS boot sector with it.
    Bad blocks are still excluded, written as FAT's own 0xFF7 bad
    cluster marker into both copies of the allocation table.

  - OFS and FFS, each optionally international and/or directory cache, or
    an arbitrary DosType given as a number.

  - Writes a bootblock itself, no C:Install needed - including the
    Kickstart 1.2/1.3 block, which C:Install on OS 2.0+ cannot produce.

  - Bad blocks do not abort the format by default. A failed track is
    retried, and blocks that still fail are marked used in the bitmap so
    the filesystem never allocates them; the reported free space and the
    return code both reflect this. Damage to the boot, root or bitmap
    block is reported as unrecoverable instead of quietly producing a
    broken disk.

  - STRICT reverses that policy: give up at the first defect and reject
    the disk, for when only flawless media will do.

  - Optional X-Copy style track map, drawn as the format proceeds, so
    defects can be seen where they physically are.

  - Refuses anything larger than a floppy unless FORCE is given, so a
    mistyped device name cannot destroy a hard disk partition.

  - Quiet mode for scripts, VERBOSE when a warning needs explaining,
    and meaningful return codes: 0 success, 5 bad blocks found and
    excluded, 10 bad arguments, 20 failure.

  - libnix build - no ixemul.library, no dependencies beyond the OS.


REQUIREMENTS

AmigaOS 2.0 (Kickstart V36) or newer, and this is a hard requirement:
the program uses ReadArgs and other V36 calls. Any CPU from the plain
68000 up - the binary contains no 68020 instructions.

Tested under WinUAE and on real hardware, an Amiga 1200 including a real
HD floppy drive: AmigaDOS DD and HD disks including the bad block
exclusion, and MS-DOS DD and HD disks through CrossDOS.


DOCUMENTATION

FmtFloppy.guide holds the full option reference, the details of the two
bootblock types and how bad blocks are handled.


Freely distributable.


Contents of disk/misc/FmtFloppy.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[Amiga]                  10841   11788  92.0% -lh5- d067 Sep  8 06:02 FmtFloppy/FmtFloppy
[Amiga]                  14312   37178  38.5% -lh5- 5fd9 Sep  8 06:14 FmtFloppy/FmtFloppy.guide
[Amiga]                   1588    3071  51.7% -lh5- fbf7 Sep 11 14:22 FmtFloppy/FmtFloppy.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         3 files   26741   52037  51.4%            Sep 12 00:43
Page generated in 0.08 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>