[Coco] 248 errors in NitrOS-9 repository

Robert Gault robert.gault at att.net
Sat Jul 20 22:53:05 EDT 2013


Lothan wrote:
> I'm leaning toward it being a bug in os9.exe. The reason I say this is because
> the output of make for the sierra christmas86_dw.dsk, I see error 248 adding a
> few files to the root directory of this disk. The odd thing is that this disk
> has 2MB or more free and the root directory only has 8 files in it. I also
> checked the segment entries for the root directory and found the root directory
> has 8 sectors allocated to it. Strange.

Well here is a clue.
test disk kyumgai.dsk

after compiling with many 248 errors:

os9 free kyumgai.dsk

"Kyum-Gai: To Be Ninja" created on 07/20/2013
Capacity: 360KB (1440 sectors) 1-sector clusters
1130 Free sectors, largest block 1130 sectors
Free space: 282KB (289280 bytes)

from NitrOS-9 on kyumgai.dsk in drive0:

free /d0

"Kyum-Gai: To Be Ninja" created on: 2013/07/20
Capacity: 1,440 sectors (1-sector clusters)
1,130 free sectors, largest block 932 sectors

Note that while the total number of free sectors is reported the same, the 
report for largest block count is different. I've checked the count myself and 
932 is correct. Os9.exe is miscalculating the largest free block.
If os9.exe thinks a sector is free, tries a copy, and finds the sector full, 
that might be the cause of the 248 error.




More information about the Coco mailing list