Re: [cc65] Questions for CBM guys

From: Groepaz <groepaz1gmx.net>
Date: 2008-02-29 17:40:36
On Freitag 29 Februar 2008, Ullrich von Bassewitz wrote:
> On Fri, Feb 29, 2008 at 05:07:00PM +0100, Groepaz wrote:
> > On Freitag 29 Februar 2008, Oliver Schmidt wrote:
> > > 1. Is it correct to presume that the underlying "DOS" supports (at
> > > least) 8 open files so that the C-library limit can be used up?
> >
> > cbm dos supports 15 files, however the first two are reserved for stdin
> > and stdout. so yes, 8 open files should work alright.
>
> Beware: The kernal may support that many files, but the drives do not. If I
> remember correctly, the 1541 has a maximum of three open channels, and one
> is used (and kept open) by the library for the command channel.

yes true, the 1541 can handle 3 files at once ... when reading :) when 
writing, its only 2 :) i think the 1581 can handle more, maybe 1571 too (the 
limitation is because of limited memory in the drive, each open file needs 
one page for buffering)

-- 

http://www.hitmen-console.org
http://www.pokefinder.org
http://ftp.pokefinder.org

PROGRAM n. A magic spell cast over a computer allowing it to turn one's input 
into error messages. tr.v. To engage in a pastime similar to banging one's 
head against a wall, but with fewer opportunities for reward.

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Fri Feb 29 17:40:44 2008

This archive was generated by hypermail 2.1.8 : 2008-02-29 17:40:47 CET