Hi PiCiJi,
while working on COMAL80 cartridge support, I noticed that Denise currently ignores the CRT hardware revision field stored in the cartridge header at offset $1A.
This patch adds support for reading and storing that revision byte in the base Cart class, making it available to individual cartridge implementations.
As a first use case, the COMAL80 cartridge now uses this field to distinguish between the two known hardware variants:
These variants use different bank switching logic, and the CRT revision field already provides the required information.
The change is generic and can also be used by other cartridge types that may need access to the CRT hardware revision field in the future.
The patch has been tested with COMAL80 CRT images and correctly reproduces the different banking behaviour of both hardware revisions.
Regards,
Claus
Anonymous
thank you.
I'll integrate it in the next few days and get back to you then.
commited and available with building nightly.
thanks