Re: [cc65] File I/O on C64

Date view Thread view Subject view

From: Brian Bagnall (bbagnall_at_mts.net)
Date: 2002-11-15 05:40:15


> While I wouldn't say it is really complex, it is definitely more work than
> just adding a wrapper. Possible problems are:
>
>   * You cannot use the handles of the CBM kernal, so you have to use an
>     additional translation between kernal handles and C handles.
>
>   * The behaviour specified by the C standard and the implementation of
file
>     I/O in the commodore drives are sometimes highly incompatible. For
>     example, it is impossible to open a file for reading and writing.
>
>   * You need to talk to the device over the command channel to find out
about
>     disk errors.

This is unfortunately beyond my current abilities. I'm just picking up C
itself, which is easy since it's basically a subset of Java for the most
part, but I'm not at the level you need for this. At the same time, it would
be way more desirable to be programming with stdio for portability reasons
on the game I'm working on. Is there someone out there who could take this
on for the cause?

> When using standard kernal calls, supporting the 1571 or even CMD hardware
> should not be a problem.
>
> 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-15 05:42:03 CET