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 17:36:31


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

WR> I'm trying to use some of the "Screen display codes" for the C64
WR> from pages 376-378 of the C64 Programmer's Reference Guide. I
WR> thought a:

WR> cprintf ("Hello \0x97 orld! ");

WR> would print an inverse "W" for the \0x97 but it does not. What am
WR> I doing wrong?

conio functions print ASCII, not screencodes (or PETSCII!). To print
an inverse W, use revers(1); cputc('W'); revers(0);

-- 
    ___          .     .  .         .       . +  .         .      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 17:39:36 CET