Re: [cc65] File I/O on C64

Date view Thread view Subject view

From: Spiro Trikaliotis (trik-news_at_gmx.de)
Date: 2002-11-14 00:03:32


Hello Uz,

Ullrich von Bassewitz wrote:

> On Wed, Nov 13, 2002 at 11:32:29PM +0100, Spiro Trikaliotis wrote:
> > Can you elaborate a little bit? For the time being, I don't see the
> > problem here: You can't the kernal handles be used?
                  ^^^
This should've been "Why", of course... :-(


> Many programs expect file descriptor zero to be stdin, 1 to be stdout and 2 to
> be stderr. This is not necessarily true when using the kernal handles, so an
> additional translation stage (table lookup) is needed.

*argh*

/me slaps hand on his face.

Yes, of course, I totally forgot. IIRC, this is especially true since the 
handle 0 means "no handle at all" on the cbms.

Thank you,
   Spiro.
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2002-11-14 00:04:26 CET