[Coco] OS-9 128MB max hard drive - /sd1

Philip Zeigler philip at zeiglers.net
Thu Jan 22 20:56:04 EST 2015


Did the format command get fixed or am I doing something wrong?  I just did a hg pull/update 10 minutes ago.

I’m trying to create a new boot disk.

DRIVE0,”COCOSDC.DSK”
DRIVE1,”NEWBOOT.DSK”,NEW
DOS

Then after it boots:

format /d1 1 ’35’ “New NitrOS9 Boot”

I then get an Error #247 - Seek Error


> On Jan 22, 2015, at 4:16 PM, Bob Devries <devries.bob at gmail.com> wrote:
> 
> IMHO, the driver should quietly accept a service request which it could be expected to handle (like SS.WTRK) even though it does nothing, and generate an error (usually error 208 - Illegal service request) for any other service requests.
> 
> Error 246 is Not Ready, and would apply only in cases where the drive doesn't spin up etc.
> 
> Regards, Bob Devries
> Dalby, QLD, Australia
> 
> 
> On 23/01/2015 3:59 AM, Allen Huffman wrote:
>>> On Jan 22, 2015, at 11:21 AM, Darren A <mechacoco at gmail.com> wrote:
>>> 
>>> Okay, I pushed another change to the SDC driver.
>>> Looking at the source for the other low-level drivers I get the impression
>>> that Setstat should just accept unsupported requests and return success.
>> 
>> That seems unfortunate. Perhaps things changed with later generations of OS-9 (returning #246, I think, for anything not handled by the driver). I do recall doing that on my OS-9000 virtual floppy driver (RAM disk that honors all the settings of a real device so you could BACKUP to it). I made it honor a list of driver setstats and just return as if I did them, even though I did nothing. I still rejected unknown ones.
>> 
>> I noticed you put everything in setstat, including things that seemed more like "gets". Is this the convention of RBF drivers on OS-9 L1/L2?
>> 
>> 		-- Allen
>> 
>> 
> 
> -- 
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco



More information about the Coco mailing list