Re: [cc65] Re: New 80 col switch API

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2009-09-08 15:56:37
On Tue, Sep 08, 2009 at 03:39:59PM +0200, Oliver Schmidt wrote:
> ... where it will be (most likely)
>
> #define VIDEOMODE_40COL         0x11
> #define VIDEOMODE_80COL         0x12

Do you think, we can make argument and return code an unsigned, and change the
#define names to VIDEOMODE_80x25 and VIDEOMODE_40x25 respectively? This would
give more comfortable upgrade path if required later, while there are no real
disadvantages now. I would then just ignore the high byte of the passed
argument in the C128 routine. The result is already returned in a/x so at
least for the C128, there wouldn't be any code changes.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Sep 8 15:58:45 2009

This archive was generated by hypermail 2.1.8 : 2009-09-08 15:58:47 CEST