Skip to content

fix(rtg): align P96 driver contract#9

Merged
midwan merged 3 commits intomasterfrom
fix/p96-driver-contract
Apr 27, 2026
Merged

fix(rtg): align P96 driver contract#9
midwan merged 3 commits intomasterfrom
fix/p96-driver-contract

Conversation

@midwan
Copy link
Copy Markdown
Contributor

@midwan midwan commented Apr 27, 2026

Summary

  • move ZZ9000 RTG per-board state out of file globals and into BoardInfo->CardData
  • switch the runtime P96 identity to native BT_MNT_ZZ9000 with matching packaged Picasso96Settings
  • preserve the working ZZ9000 hardware sprite behavior while returning the expected P96 BOOL result
  • add P96 contract cleanups for memory-space fields, callback prototypes, split handling, mode flags, and $VER: formatting
  • add installer migration messaging and backups for existing Devs:Picasso96Settings

Why

P96 expects drivers to support multiple identical boards without shared instance state, and the native ZZ9000 BoardType needs a settings migration path for upgrades from the legacy uaegfx identity.

Validation

  • built rtg/ZZ9000.card with the Docker m68k Amiga compiler
  • ran git diff --check
  • tested ZZ9000.card 2.4 on hardware; mouse pointer is visible and no problems reported

Upgrade Notes

The installer backs up an existing settings file to Devs:Picasso96Settings.pre-ZZ9000-2.4 before installing the migrated native ZZ9000 settings file.

midwan added 3 commits April 26, 2026 23:39
Move per-board ZZ9000 state into BoardInfo CardData so callbacks do not use state from the last discovered board.

ZZ9000.card 2.4 switches to native BT_MNT_ZZ9000 settings; the installer backs up existing Picasso96Settings before installing migrated settings.
@midwan midwan self-assigned this Apr 27, 2026
@midwan midwan marked this pull request as ready for review April 27, 2026 22:32
@midwan midwan merged commit 24a7b04 into master Apr 27, 2026
11 checks passed
@midwan midwan deleted the fix/p96-driver-contract branch April 27, 2026 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant