On Thu, 14 Sep 1995 13:33:32 +0100, Simon Cooke said:
> ;entered with data to print in E

Whatever. :-)

> Can someone check if I've got the busy bit polarity right? :)

As far as I remember:

 bit 0 = 0   --not busy
 bit 0 = 1   --busy.

You may have the strobe the wrong way round.  Outputting zero makes
the strobe high (i.e inactive).  I know this because my old printer
didn't work when we first tried it, and it turned out that the reason
was because the Sam initially sets strobe active (naughty!) and the
printer therefore pretended to be always busy.  Typing OUT 233,0 when
the Sam was first switched on solved the problem.

Also, note that the EDDAC sets the busy signal to 'not busy', so you can
tell if one is connected by setting the data register to 0 (or something
harmless) and wiggling the strobe.  A real printer will become busy, but
the EDDAC will not.

I can't remember whether you can tell that the interface is connected in the
first place, but I think probably not.

imc

Reply via email to