RE: [cc65] C64 screen display codes with cc65?

Date view Thread view Subject view

From: MagerValp (MagerValp_at_cling.gu.se)
Date: 2003-11-14 18:30:10


>>>>> "WR" == Wurttemberg, Raj <rajw_at_concert.com> writes:

WR> How do I print PETSCII codes? 

I guess the official answer is that you don't with conio, as it's a
crossplatform library. But in practice most of the PETSCII chars are
mapped at 128..255, you can check out the translation code in
cc65/libsrc/c64/cputc.s.

The stdio functions print PETSCII, but they're quite a bit slower than
conio. And you can of course access screen ram directly with something
like unsigned char *screen = 0x0400;

-- 
    ___          .     .  .         .       . +  .         .      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-14 18:33:15 CET