Re: Serial I/O stuff

From: Marko Mäkelä (msmakela_at_cc.hut.fi)
Date: 2000-02-07 08:49:59

On Mon, 7 Feb 2000, Ojala Pasi 'Albert' wrote:

> Only one serial channel can be 'active' at a time. You are trying
> to have one channel TALKing and another LISTENing, which does not
> work. Ask the drive to talk (CHKIN), then read a block of chars
> (CHRIN), then ask it to untalk (CLRCHN), then ask the printer to
> listen (CHKOUT), send chars (CHROUT), then ask it to unlisten
> (CLRCHN).

You can also use the serial routines directly (instead of the higher-level
OPEN/CLOSE routines).  And I've seen a sample program that tells the drive
to talk and the printer to listen at the same time, printing a file
without computer intervention.

	Marko

-
This message was sent through the cbm-hackers mailing list.
To unsubscribe: echo unsubscribe | mail cbm-hackers-request@dot.tcm.hut.fi.

Archive generated by hypermail 2.1.1.