Re: Reading directory on two drive channels at the same time. Can it be done?

From: Craig Taylor (ctalkobt_at_bellsouth.net)
Date: 2004-06-14 16:23:14

Jim Brain wrote:

> Spiro Trikaliotis wrote:
>
>> Hello Jim,
>>
>> * On Fri, Jun 11, 2004 at 11:18:11PM -0500 Jim Brain wrote:
>>
>>  
>>
>>> In other words, is this an error (i.e., only one channel can be open 
>>> to read the directory), or is this legal?
>>>   
>>
>>
>> Why don't you try that out? It's the easiest way to find out.
>>
>> Kind regards,
>>   Spiro.
>>
>>  
>>
> Because I want to know if it works in spite of the standard (i.e, it 
> is not supported, but some drives accept it), or if it is part of the 
> actual standard operation.
> As groepaz notes, it seems to work on the '41.  I can't see in the 
> drive RAM where there are variables to keep track of two directory 
> traversals.  Can anyone point me to the relevant locations?
>
> Jim
>
It uses the secondary address to keep track of which is which.

Inside Commodore Dos confirms this with the open a channel from serial 
bus (OPEN@$D7B4), which goes through some branching until it does a 
check on the filename at $D7F3 to the directory routine at $DA55.


       Message was sent through the cbm-hackers mailing list

Archive generated by hypermail pre-2.1.8.