[Coco] NitrOS9 build errors

Tormod Volden lists.tormod at gmail.com
Mon Jan 20 18:09:59 EST 2014


On Mon, Jan 20, 2014 at 11:57 PM, Gene Heskett wrote:
> On Monday 20 January 2014 17:46:45 Tormod Volden did opine:
>
>> On Mon, Jan 20, 2014 at 2:21 AM, Bob Devries wrote:
>> > I applied the "-9" option to one of the makefiles, and it properly
>> > sets the 96TPI bit, and the entry in index.html now shows the disk
>> > image as being 96 TPI, Double Density, Double Sided; meaning that the
>> > Toolshed OS9 ID command properly identifies the LSN0 DD.FMT setting.
>> >
>> > Is there an easy (==fast) way to go through all the makefiles and
>> > identify and insert the proper code?
>>
>> If all the _80* disk images are 96TPI it is as simple as updating
>> OS9FORMAT_DS80 in rules.mak.
>>
>> Tormod
>
> No, because the settings for an 80 track, 96 tpi 5.25 disk ARE different
> than for a 80 track, 135 tpi 3.5" disk even if both are an identical 720k
> in capacity.
>
> In the former case the disk is _double_ track density, and the bit in
> offset $10 of LSN0 is set accordingly.  In the latter case, that 135 is the
> normal track density, in fact the only known track density for 3.5" disks,
> so that bit in offset $10 of LSN0 is not set.
>
> So you cannot and must not use a common format for both disks even if the
> capacity is identical.

AFAICS, all 80T disk images that we generate are double density:

$ grep FORMAT rules.mak
OS9FORMAT    = os9 format -e
OS9FORMAT_SS35    = os9 format -e -t35 -ss -dd
OS9FORMAT_SS40    = os9 format -e -t40 -ss -dd
OS9FORMAT_SS80    = os9 format -e -t80 -ss -dd
OS9FORMAT_DS40    = os9 format -e -t40 -ds -dd
OS9FORMAT_DS80    = os9 format -e -t80 -ds -dd
OS9FORMAT_DW    = os9 format -t1024 -ss -dd

Tormod



More information about the Coco mailing list