Re: reading status channel in ML

silverdr_at_inet.com.pl
Date: 2006-04-10 18:38:06

On 2006-04-10, at 09:19, Spiro Trikaliotis wrote:


> BTW: You depend on $BA containing the number of the last accessed  
> drive.
> If there was no access before, your routine fails.

Yes. I also depend on it, whenever I can. I just hate hardcoded  
device numbers so popular still in 21st cent.

> For example: OPEN (15,8,15) does absolutely nothing (but setting the
> internal tables). (This is because no file name is given.)

That's what I'd expect too. Still I get some strange results when $b7  
is e.g. set or not set to 0.

> Of course, both of your sample have one "problem": They depend upon  
> the
> error channel sending a CR as last character. Although they do,
> "theoretically", it would be clearer to wait until EOF is signalled.

Hm, you seem to be very much right. Just have to check how IDE64  
behaves with that one.

-- 
If it wasn't for C, we would be stuck using BASI, PASAL and OBOL.



       Message was sent through the cbm-hackers mailing list

Archive generated by hypermail pre-2.1.8.