Re: Serial I/O stuff

From: Marko Mäkelä (
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

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.


This message was sent through the cbm-hackers mailing list.
To unsubscribe: echo unsubscribe | mail

Archive generated by hypermail 2.1.1.