Re: [cc65] gfx modules

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2002-11-25 18:56:32


Hi!

On Sun, Nov 24, 2002 at 11:46:10PM +0100, groepaz wrote:
> ok, so the only good way to do it is creating a (almost) complete new
> driver right?

Yes. My first idea was to add emulation for several functions, but then I
noticed that this gives also a lot of dead code, and is always slower than the
same function implemented in the driver.

> UvB> I will definitely NOT add bloat to the API before it is even released. Using
>
> if only more developers would think like that :o)

It's not only the API that has not seen an official release, the underlying
technology (relocatable modules) are no official feature either.

> mmmh well, i probably had to much of another thing in mind when i
> wrote it. that is, i always wanted to do some sort of gfx-editor which
> can handle all bitmap-based gfx-modes from plain hires up to ifli...
> things like display-routines and loaders would go into loadables
> modules here...uh :) you are probably right about the small amount of
> gfx-drivers though.... ah, nevermind :)

The problem is not the number of drivers. The problem is that graphic modes
may differ in

   * resolution

   * aspect ratio

   * number of colors available

   * the colors itself

With all these numbers being variable, it is almost impossible to write an
application that accepts any driver. And even if it would be possible, the
code will be a lot larger because there are no fixed coordinates.

Please note: I'm not against a function that lists available drivers with
their capabilities - provided that someone proves me that this function is
really necessary. It is just that I think such a function would be bloat
because no one will use it for a good purpose.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
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-11-25 18:56:37 CET