[EMAIL PROTECTED] wrote:
> 
> heya...
> 
> well..
> 
>         LD      B, 255
> Loop:   CALL    $FD9F
>         DJNZ    Loop
> 
> does the trick, but this is much faster:
> 
> xor a
> ld ($f1c1),a

Ooooh no!!!

that will only work if the internal floppydrive is the only diskrom
present in your system. In that case the area from #F1C1..#F1C8 is used
for it. With other (harddisk)interfaces in the system, this area is
located somewhere else. In that case writing to #F1C1 can cause nothing
but trouble!

Therefore the best method is to call the fd9f hook 255 times. Works for
all configurations.

> mzl.
> d-fader^TwZ
> 

> Yep, I still have a lot to learn!..>

indeed ;)

Greetz,
jon



****
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