Mercurial > hg > Members > kono > nitros9-code
view docs/nitros9guide/format.refentry @ 2772:0a3f4d8ea6d5
Found ENDC in wrong location in dwread.asm and dwwrite.asm. Corrected.
Moved the native 6309 code in dwread.asm and dwwrite.asm into the H6309 labeled area and changed IFEQ H6309 to IFNE H6309. Also moved the 57600bps 6809 code to the default location. This change had been done in the old dwread.asm and dwwrite.asm files to make it easier to follow. Though these two files were overwritten from the HDBDOS project dwread.asm and dwwrite.asm files. So this conversion needed to be done again so it made the source easier to follow.
author | drencor-xeen |
---|---|
date | Wed, 23 Jan 2013 12:36:55 -0600 |
parents | b00cf13c9f61 |
children |
line wrap: on
line source
<refentry id="format"> <refnamediv> <refname>FORMAT</refname> <refpurpose>Initialize disk media</refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>format</command> <arg choice="plain"> <replaceable>devname</replaceable> </arg> </cmdsynopsis> </refsynopsisdiv> <refsect1><title>Description</title> <para> This command is used to physically initialize, verify, and establish an initial file structure on a disk. All disks must be formatted before they can be used on an NitrOS-9 system. </para> <para> NOTE: If the diskette is to be used as a system disk, <command>OS9gen</command> or <command>cobbler</command> must be run to create the bootstrap after the disk has been formatted. </para> <para> The formatting process works as follows: </para> <orderedlist numeration="arabic"> <listitem> <para> The disk surface is physically initialized and sectored. </para> </listitem> <listitem> <para> Each sector is read back and verified. If the sector fails to verify after several attempts, the offending sector is excluded from the initial free space on the disk. As the verification is performed, track numbers are displayed on the standard output device. </para> </listitem> <listitem> <para> The disk allocation map, root directory, and identification sector are written to the first few sectors of track zero. These sectors <emphasis>cannot</emphasis> be defective. </para> </listitem> </orderedlist> <para> <command>Format</command> will prompt for a disk volume name, which can be up to 32 characters long and may include spaces or punctuation. This name can later be displayed using the FREE command. </para> <para> For more information see: <xref linkend="sec3.10"/> </para> </refsect1> </refentry>