Re: [cc65] Uniform mass storage device discovery and file locations

From: Oliver Schmidt <ol.sc1web.de>
Date: 2012-08-23 15:25:06
Hi,

>> lda #$ff  ; or rather #$6f ?
>
> Yep, $6F.

Okay, I see. Like in
http://www.lb.shuttle.de/puffin/cbm4linux/manual/cbm4linux-3.html
where I saw the $60 ;-)

>> However I have several questions:
>> - Is it really necessary to initialize $90
>
> Yep.
>
> [...]
>
> Thus, as you are using direct ("low-level") IEC routines, nothing will
> reset $90 for you, so you have to do it yourself.

I see.

>> - Is it correct to assume that unlstn doesn't trash Y ?
>
> Yep, neither X nor Y is affected, only A (by contract):

Okay.

>> - Is it correct that $90 must be saved before calling unlstn ?
>
> No, not really
>
> [...]

I was afraid that unlstn would set $90 to zero because "there wasn't a
communication channel opened successfully in the first place so
closing it is a nop and therefore by definition successful". But if
this isn't the case i'll just LDA $90 after all operations. Dit I
understand you right that this is reasonable?

Many thanks,
Oliver
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Aug 23 15:25:23 2012

This archive was generated by hypermail 2.1.8 : 2012-08-23 15:25:28 CEST