[net.micro.cbm] chkin C64 problem

pugsly@isrnix.UUCP (David Roth) (01/30/85)

Has anyone had any problem with using the KERNAL routine
$FFC6 to open a channel for input.   I am just trying to
read in a SEQ file. Everything is fine until is does the
JSR $FFC6.
Please post or reply by mail any problem anyone else has had
or some suggestions. Many thanks in advance.
                                David Roth
                ...decvax!pur-ee!isrnix!pugsly
                ARPANET: droth@BRL-BMD

dillon@ucbvax.ARPA (The Sherif "Matt D.") (02/01/85)

	YUCC!  Do not use CHKIN for disk I/O, It's slow enough already.  Also,
you loose your keyboard input channel during I/O (You loose your screen output
channel when outputing to disk).  For serial I/O, use the base TALK, LISTEN,
TKSA, SECOND, etc... (This is not for the weak heart).

> read in a SEQ file. Everything is fine until is does the
> JSR $FFC6.

	Which probably means that you did something wrong before you called
the routine.  Letsee... You set-up the parameters, call OPEN (or something like
that), then call a routine which sets the input device before you use CHKIN,
did you do all that?

	Once you get this working, don't forget to close the channel or you
will be roally scr*wed.

					Matt Dillon