[cc65] More low hanging fruits for target independence

From: Oliver Schmidt <ol.sc1web.de>
Date: 2009-09-09 10:13:56
Hi,

In the same way the just discussed VIDEOMODE_80COL macro abstracts
from VIDEOMODE_80x?? other very simple abstractions might help:

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.

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.

Best, Oliver
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Wed Sep 9 10:14:03 2009

This archive was generated by hypermail 2.1.8 : 2009-09-09 10:14:06 CEST