Menu

#147 Add support for CRT hardware revision field

closed
PiCiJi
C64
4 days ago
2026-06-14
ClausS
No

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:

  • Black Commodore COMAL80 cartridge
  • Grey COMAL Users Group COMAL80 cartridge

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

1 Attachments

Discussion

  • PiCiJi

    PiCiJi - 2026-06-15

    thank you.
    I'll integrate it in the next few days and get back to you then.

     
  • PiCiJi

    PiCiJi - 2026-06-15
    • status: open --> pending
     
  • PiCiJi

    PiCiJi - 2026-06-18

    commited and available with building nightly.
    thanks

     
  • PiCiJi

    PiCiJi - 4 days ago
    • status: pending --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





Auth0 Logo