Re: [cc65] More low hanging fruits for target independence

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2009-09-11 19:08:35
Hi!

On Wed, Sep 09, 2009 at 10:13:56AM +0200, Oliver Schmidt wrote:
> 1. TGI_MODE_...
>
> Every target with TGI support might define a macro like i.e.
> TGI_MODE_HIRES or TGI_MODE_DEFAULT refering to one of the macros in
> tgi/tgi-mode.h. The cc65 sample tgidemo and mandelbrot could make use
> of them out-of-the-box.

Hmm. If we use the name of a driver instead of a mode, we can define that the
first driver in the mode map table is also the default driver. This is
probably easier than a #define for every platform.

> 2. ..._stddrv
>
> Similiar to joy_stddrv there might be a "built-in string" mou_stddrv
> (or mouse_stddrv) containing to name of the standard mouse driver. The
> cc65 sample mousedemo could benefit from that without further mods.

Good idea - done. With the exception of the apple targets, for which I thought
you will add the necessary files :-)

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 Fri Sep 11 19:10:56 2009

This archive was generated by hypermail 2.1.8 : 2009-09-11 19:10:58 CEST