RE: [cc65] File I/O on C64

Date view Thread view Subject view

From: Tommy Watt (tommy_at_ispwest.com)
Date: 2002-11-15 06:10:04


Actually Java (and many other languages) are derived from C.  Not the
other way around.  ;)

Tommy

-----Original Message-----
From: owner-cc65_at_musoftware.de [mailto:owner-cc65_at_musoftware.de] On
Behalf Of Brian Bagnall
Sent: Thursday, November 14, 2002 9:40 PM
To: cc65_at_musoftware.de
Subject: Re: [cc65] File I/O on C64


> 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.


----------------------------------------------------------------------
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 06:10:20 CET