Hallo allemaal,
Yesterday I managed to get my first results with my XIEEEC-cable: my laptop
was able to persuade a 8250LP to reveal the directories of both floppies it
contained.
To refresh your memory: the XIEEE-cable enables you to use any PC equiped
with an bi-directional (EPP) LPT-port as an IEEE-device like a
8250-floppydrive. To be able to use your PC as a IEEE-master, you need at
least one extra "Open Collector"-output. My idea is to use an output of the
COM-port plus some electronics. But no powersupply needed.
But I must admit I run into a tiny problem: after the transfer the light of
the floppydrive keeps burning. Here is the program. FYI, the False/True in
the procedure ByteOut reflects the state of EOI.
==================================================
AtnLo;
ByteOut($28, False);
ByteOut($F0, False);
AtnHi;
ByteOut($24, False);
ByteOut($30, True);
AtnLo;
ByteOut($3F, False); { Unlisten }
AtnHi;
Delay(1000);
AtnLo;
ByteOut($48, False);
ByteOut($60, False);
AtnHi;
EoiHi;
DavHi;
b2 := 0;
repeat
b1 := ByteIn(pbo);
if (b1 = 0) then writeln else
if (b1 > 31) then write(chr(b1));
until (pbo or (Error > 0));
AtnLo;
ByteOut($5F, False); { Untalk }
AtnHi;
==================================================
Writing this email it occured to me that EOI must be TRUE when commanding
the Untalk. And FYI, the above program only reveals the directory of drive
0.
___
/ __|__
/ / |_/ Groetjes, Ruud
\ \__|_\
\___| http://Ruud.C64.org
Message was sent through the cbm-hackers mailing list
Archive generated by hypermail 2.1.1.