Skip to content

CD-i: Add Cursor Blink #13624

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

Merged
merged 7 commits into from
Jul 6, 2025
Merged

CD-i: Add Cursor Blink #13624

merged 7 commits into from
Jul 6, 2025

Conversation

Vincent-Halver
Copy link
Contributor

@Vincent-Halver Vincent-Halver commented Apr 26, 2025

Intends to fix #13522.

This also fixes an error in mcd212.h which dropped the middle bit of the Cursor's ON timer. I changed it to use bitshifted binary which more clearly is readable as a correctly shifted mask.

The time calculation was produced algebraically by following the description on the page in the comment. It should work for NTSC as well as PAL, however NTSC games have not been tested since NTSC games are generally unsupported at the moment.

To test, I recommend the Validation Disc (Europe). Use the Cursor Blink test (described in #13522), and verify the timing of the blinks correctly matches the description for each test.

This also rewrites the cursor's draw logic to be slightly cleaner.

Intends to fix mamedev#13522.

This fixes an error in mcd212.h which dropped the middle bit of the Cursor's ON timer. I changed it to use bitshifted binary which more clearly is readable as a correctly shifted mask.
@Vincent-Halver Vincent-Halver requested a review from ajrhacker May 9, 2025 04:37
@rb6502
Copy link
Contributor

rb6502 commented Jun 4, 2025

@ajrhacker do you have any further issues with this?

@Vincent-Halver Vincent-Halver requested a review from cuavas June 28, 2025 17:15
@Vincent-Halver
Copy link
Contributor Author

@cuavas Any further concerns?

@cuavas cuavas merged commit 681ed6f into mamedev:master Jul 6, 2025
6 checks passed
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.

CD-i: Cursor does not blink
4 participants