[cc65] Re: New 80 col switch API

From: Jonathan Graham Harston <jgh1arcade.demon.co.uk>
Date: 2009-09-10 20:30:40
> Message-ID: <20090908135637.GA21244@trixie.musoftware.de>
 
Ullrich von Bassewitz wrote:
> > #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.
 
That would work, and the 6502 code I posted for the BBC would also
work unchanged, with BBC-specific #defines.
 
-- 
J.G.Harston - jgh@arcade.demon.co.uk - mdfs.net/User/JGH
RISC OS Internationalisation - http://mdfs.net/Software/RISCOS
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Sep 10 21:01:21 2009

This archive was generated by hypermail 2.1.8 : 2009-09-10 21:01:23 CEST