Re: [cc65] File I/O on C64

Date view Thread view Subject view

From: MagerValp (MagerValp_at_cling.gu.se)
Date: 2002-11-15 13:49:16


>>>>> "BB" == Brian Bagnall <bbagnall_at_mts.net> writes:

BB> At the same time, it would be way more desirable to be programming
BB> with stdio for portability reasons on the game I'm working on.

Unless you're trying to port existing code to the C64, stdio isn't
really useful. Trying to get a 1 MHz C64 with a 400 cps disk drive to
conform to the stdio API is just inefficient. The kernal call wrappers
in cbm.h allow you to use the native API for disk I/O, and there's
conio for user I/O. If you want to stay compatible with other plat-
forms simply #ifdef your way around the problem and user wrapper
functions.

BB> Is there someone out there who could take this on for the cause?

I think one or two people on this list have been hacking away a bit on
this, sooner or later something might turn up. Until then, use the
kernal call wrappers and treat the C64 as a C64 :)

-- 
    ___          .     .  .         .       . +  .         .      o   
  _|___|_   +   .  +     .     +         .  Per Olofsson, arkadspelare
    o-o    .      .     .   o         +          MagerValp_at_cling.gu.se
     -       +            +    .     http://www.cling.gu.se/~cl3polof/
----------------------------------------------------------------------
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 13:49:53 CET