Re: [cc65] tgi init problem in current trunk

From: Ullrich von Bassewitz <>
Date: 2010-08-07 16:53:34

On Sat, Aug 07, 2010 at 11:05:38AM +0300, Karri Kaksonen wrote:
> The size of the TGI_HDR was shrunk by 2 bytes.
> The last value of the header used to be "reserved  for future
> extensions 4 bytes".
> Now it is "aspect ratio 2 bytes".
> This means that mixing old and new tgi-drivers will crash the system.

The real problem is that for TGI drivers managed as part of cc65, the version
number comes from a distribution wide include file. So if I change the version
number, all drivers will have this new version, even if their code hasn't

What happened was that the header of the TGI drivers has changed. I've made
these changes in one or more drivers to test them. To avoid problems if
someone loads these new drivers into an application compiled with an older
version of cc65, I've bumped the version number.

This problem may happen whenever something is changed, and the suggestion to
keep the header the same size is no real solution, because next time, a jump
table entry may change its meaning or whatever.

I think we have to realize that the head branch (and this is where the
snapshots come from) is actually a development version, and as such, things
may be broken.



Ullrich von Bassewitz                        
To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Aug 7 16:53:42 2010

This archive was generated by hypermail 2.1.8 : 2010-08-07 16:53:45 CEST