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

Date view Thread view Subject view

From: MagerValp (MagerValp_at_cling.gu.se)
Date: 2003-11-13 14:29:48


>>>>> "WR" == Wurttemberg, Raj <rajw_at_concert.com> 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:

  http://www.cc65.org/doc/funcref-5.html

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

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         +          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 : 2003-11-13 14:32:49 CET