[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Text Tool set problems



In article <LLRoTB1w165w@bluemoon.rn.com> t_captain@bluemoon.rn.com (Tc Wilson) writes:
> 
> I ran into an interesting problem with the text tool set and the 
> StatusTextDev call - it should return weither or not the device has input 
> ready or can accept output.  It doesn't - it never passes back anything 
> other than carry clear (even when my own driver passes back a carry set 
> along with A being various values - I've tried all sorts of things).

That is a bug in the ROM 03 version of StatusTextDev.  It caught me
out in an earlier version of my ABOUT program, which was using
StatusTextDev to see if the printer was online.  Whenever trying to
print on a ROM 03, it always brought up a dialog box saying the printer
was offline!  I fixed this in version 1.5, about a year ago.

I seem to recall that this function doesn't work properly on a ROM 01
either, but it has a DIFFERENT bug (I don't remember the details).

In the end, I just used FWEntry to call the Pascal firmware's STATUS
routine directly (by looking at the appropriate location in $C1xx to
find the address, etc.)
-- 
David Empson

Internet: David.Empson@bbs.actrix.gen.nz    EMPSON_D@kosmos.wcc.govt.nz
Snail mail: P.O. Box 27-103, Wellington, New Zealand