[Coco] Toolshed help

Stephen H. Fischer SFischer1 at Mindspring.com
Wed Jun 8 21:25:20 EDT 2011


Hi,

I was asking my self the other day if we have a utility to present this 
sector 0 information in a useful manner without resorting to ded.

SHF


----- Original Message ----- 
From: "Robert Gault" <robert.gault at att.net>
To: "CoCoList for Color Computer Enthusiasts" <coco at maltedmedia.com>
Sent: Wednesday, June 08, 2011 6:13 PM
Subject: Re: [Coco] Toolshed help


> Mike Rowen wrote:
>> Here is the output of dmode /d0:
>>
>> nam=D0 mgr=RBF ddr=rb1773
>> hpn=07 hpa=FF40 drv=00 stp=03 type=20 dns=01 cyl=0028 sid=02
>> vfy=01 sct=0012 t0s=0012 ilv=03 sas=08 wpm= ofs= rwc=
>>
>>
>>
>
> Mike,
> That tells you what the default settings for /d0 are but does not tell you 
> how the disk in question was formatted. If you format a new disk while 
> running OS-9 without any parameters, you will get a double sided 40-track 
> disk with these dmode values. It may or may not match the disk in 
> question.
>
> You need to read the disk you want to backup to determine its format. The 
> easiest way to do that is   free /d0  . You can deduce the structure from 
> the number of sectors reported. For more exact info, you can do
> ded /d0@
> and read the data from sector 0 which will give the precise format.
> Bytes      Meaning in Hex
> 0-2        number of sectors
> 3          sectors per track
> $10        Format bit#0 0=single sided 1=double sided
>                   bit#1 0=single density 1=double density
>                   bit#2 0=48 tracks/inch 1=96 t/i
> 



More information about the Coco mailing list