[Coco] OS9 vs RSDOS disks

Bill Pierce ooogalapasooo at aol.com
Thu Jun 13 19:01:52 EDT 2013


Thanks Curtis & Mr Gault,
I'll give that a try. My 2 new programs have been a learning experience in OS9 drive systems and disk formats.

Thanks again

Bill Pierce
My Music from the Tandy/Radio Shack Color Computer 2 & 3
https://sites.google.com/site/dabarnstudio/
Co-Webmaster of The TRS-80 Color Computer Archive
http://www.colorcomputerarchive.com/
Co-Contributor, Co-Editor for CocoPedia
http://www.cocopedia.com/wiki/index.php/Main_Page
E-Mail: ooogalapasooo at aol.com




-----Original Message-----
From: Robert Gault <robert.gault at att.net>
To: CoCoList for Color Computer Enthusiasts <coco at maltedmedia.com>
Sent: Thu, Jun 13, 2013 6:56 pm
Subject: Re: [Coco] OS9 vs RSDOS disks


Bill Pierce wrote:
>
> Hi guys,
> Is there a simple way to tell an OS9 disk from an RSDOS disk? Maybe something 
constant in LSN0 on the OS9 disk?
> It would be nice to identify the disks through software
>
> Thanks
>
> Bill Pierce

Bill,

Unfortunately there is no sure fire method. What might work most of the time is 
to see if there is a root directory in the correct location. If there is, then 
the disk is at least formatted for OS-9 but might also be formatted for Disk 
Basic.

LSN0 bytes $08, $09, $0A are DD.DIR - address of starting sector of root 
directory

DD.DIR bytes $10, $11, $12 - indicate address of first sector of directory 
listing

First sector of listing for any directory

bytes
$00   $2E $AE
$20   $AE
These are the .. and . entries in any OS-9 directory but they are never printed 
by the command dir.

Robert


--
Coco mailing list
Coco at maltedmedia.com
http://five.pairlist.net/mailman/listinfo/coco

 



More information about the Coco mailing list