Re: [cc65] New to cc65 and missing functions in documentation?

Date view Thread view Subject view

From: MagerValp (
Date: 2003-11-13 14:29:48

>>>>> "WR" == Wurttemberg, Raj <> writes:

WR> Please don't beat me up for this... The hello.c sample program
WR> uses two functions that I did not see in the function reference,
WR> cputc, and cprintf. I know what they do, :) but are these
WR> documented somewhere?

The conio documentation is rather incomplete:

but if you open cc65/include/conio.h you'll find plenty of comments
next to every function prototype. It's fairly self explanatory, but
there's one big gotcha: it doesn't handle screen scrolling. If you
print text outside the screen, you'll overwrite memory and most likely

Oh, and the reason you want to use conio instead of stdio is perfor-
mance. The conio functions are smaller and faster.

    ___          .     .  .         .       . +  .         .      o   
  _|___|_   +   .  +     .     +         .  Per Olofsson, arkadspelare
    o-o    .      .     .   o         +
     -       +            +    .
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 : 2003-11-13 14:32:49 CET