Re: [cc65] C64 kernal routines

Date view Thread view Subject view

From: Ullrich von Bassewitz (
Date: 2001-09-07 07:10:16


On Thu, Sep 06, 2001 at 10:36:26PM +0200, groepaz wrote:
> MB> Cool, but where is this UZ guy? (girl??? naaah...)
> he's on vacation afaik ;=)

I'm here, at home, working hard:-)

To clarify the situation:

  1. There are no standard file I/O routines for the CBMs including the C64.
     This means that fprintf and friends are not working. Or, more exactly:
     The high level routines are there, but the low level, POSIX compatible
     stuff like read() and write() is missing.
  2. I've written several C wrappers for the CBM kernal calls. These are part
     of the standard libraries and listed in cbm.h.

  3. Marc Rintsch added CBM BASIC compatible cbm_open, ...close,,
     ...write, ...load and functions on top of these kernal call
     wrappers. They are not part of the 2.6.2 compiler packages for several
     reasons, but they will work with 2.6.2 if you add the necessary files
     from the compiler snapshot available via ftp.

Ullrich von Bassewitz                        
To unsubscribe from the list send mail to 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 : 2001-12-14 22:05:42 CET