[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] gradients,FreeMiNT 1.18



Jo Even Skarstein wrote:

> > so simply speaking, you change gradients= to match the .GRD file
> > (compiled binary)
>
> How is the binary produced? From a C file?

Yes. Actually it's an .o-file.

> This sounds complex... It's been a while since I looked at the gradient
> stuff in XaAES, but IIRC each gradient is defined in a simple struct. So
> it doesn't have to be more complex than creating an external application
> to define the gradients, same them in a binary format and then load these
> in XaAES. It would be a direct replacement of the compiled-in struct.

gcc!

> > I think Helmut has a good/working alternate solution, if XaAES is
>
> I don't know how Helmut's solution works. But if it requires gcc and make

You need gcc or pure-c, not nessecarily make.

> to compile the gradients then I think it's overkill... The gradients could
> even be defined in a text file like the keyboard-tables, and compiled to
> binary format using mktbl.

To me the c-files for gradients are a lot easier to edit than the
keyboard-source-files, so that would not help much apart of the additional work/error-source.

-Helmut