Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Big WPC update with game_state information #94

Merged
merged 3 commits into from
Jan 31, 2025
Merged

Conversation

tomlogic
Copy link
Owner

I manually went through all of the WPC games to find the offset for a 4-byte sequence encoding current player/ball, number of remaining extra balls for the current player, and the total number of extra balls earned on the current ball.

I also identified a byte on the "zero page" (addresses less than 0x100) that seems to reliably report when the game is in attract (or "non-game" mode) versus when a game is underway. I noticed that byte briefly goes to 0 when entering the test menu, but then quickly returns to 1.

Results of manual testing using the hex editor in PinMAME debug mode,
and use of a Python script to add the new fields.
@tomlogic tomlogic merged commit 3f6d799 into master Jan 31, 2025
1 check passed
@tomlogic tomlogic deleted the feature/wpc-update branch January 31, 2025 18:03
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