Re: [cc65] 80 column support on the C128

Date view Thread view Subject view

From: MagerValp (MagerValp_at_cling.gu.se)
Date: 2002-12-22 16:48:16


>>>>> "G" == Groepaz  <groepaz_at_gmx.net> writes:

MV> if ((*(unsigned char *) 0xd7)) {
MV>   cprintf("Already in 80 column mode\r\n");
MV> } else {
MV>   cprintf("\e\xNow we're in 80 column mode\r\n");
MV> }

As Uz pointed out, it should be cprintf("\x1bx") to switch. Old AmigaE
habits die hard :)

G> oh so the 80- and 40- columns modes are available at the same
G> time.... slick :o)

Yes, the patch just offloads the printing to the editor rom code.

-- 
    ___          .     .  .         .       . +  .         .      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-12-22 16:49:11 CET