heya...


well..

        LD      B, 255
Loop:   CALL    $FD9F
        DJNZ    Loop

does the trick, but this is much faster:

xor a
ld ($f1c1),a

It's like this..

Every time a disk-operation is done, the address $f1c1 is filled with
255 because of the fact if it's not done, and e.g. the end of a file
is not reached, the drive keeps spinning, so when there is read again
the drive doesn't have to search the right sector again.. When this
address is 0 the disk-drive light is turned off when the next interrupt
occurs..

mzl.
d-fader^TwZ
 

---------------------------------------------------
Get free personalized email at http://www.iname.com

****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)
****

Reply via email to