Re: [cc65] File I/O on C64

Date view Thread view Subject view

From: Brian Bagnall (bbagnall_at_mts.net)
Date: 2002-11-13 21:42:42


I'm pretty new to C but since Marc already supplied the necessary functions
in cbm.h then it should be as easy as making a wrapper only. I kind of
wonder if there are technical reasons why Marc didn't implement stdio
himself.

I looked at fctrl.h and it looks like only about 6 functions need to be
defined. Two of them can't be defined (mkdir, rmdir), since the 1541 has no
ability to make directories. How should it deal with this problem?

Also, there were 1571 drives, and even hard drives released for the c64. Is
there a strategy to program this so it would not close the door on people
using other types of drives?

- Brian

> The reason for no standard file I/O for the CBMs is that I refused to do
it,
> and no one else did it either. CBM specific file I/O is there because
someone
> (Marc Rintsch) did it. And, the Atari has standard file I/O, because
Christian
> Groessler wrote the necessary low level routines.
>
> In general, a feature is available, if someone is doing the necessary
work.
> Most problems have a social reason, not a technical one:-)
>
> Regards
>
>         Uz

----------------------------------------------------------------------
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-13 21:42:41 CET