Skip to content

LDP1450: Added preliminary support for custom On Screen Text mode.#13490

Merged
angelosa merged 7 commits intomamedev:masterfrom
james-wallace-ghub:vquest_addition
Jun 18, 2025
Merged

LDP1450: Added preliminary support for custom On Screen Text mode.#13490
angelosa merged 7 commits intomamedev:masterfrom
james-wallace-ghub:vquest_addition

Conversation

@james-wallace-ghub
Copy link
Member

New working system

Vision Quest [James Wallace, Jeff Anderson, Dragon's Lair Project]

@james-wallace-ghub
Copy link
Member Author

Given the size of the CHD here, I've given access to Tafoid if its needed for review. Any feedback on the OSD functions here is greatly appreciated.

@james-wallace-ghub james-wallace-ghub marked this pull request as draft June 10, 2025 08:04
@james-wallace-ghub
Copy link
Member Author

Putting this in draft until I can fix the validate issues brought about with the latest changes

@james-wallace-ghub james-wallace-ghub marked this pull request as ready for review June 10, 2025 08:08
Copy link
Member

@angelosa angelosa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The intention is to merge as-is in a couple days to do evaluations later.

@angelosa angelosa merged commit 34cc0b8 into mamedev:master Jun 18, 2025
6 checks passed
Comment on lines +299 to +323
u8 modeval= (m_user_index_mode >> 5) & 0x04;

for (u32 y = 0; y < char_height; y++)
{
for (u8 x = 0; x < char_width; x++)
{
u32 xmin = xstart + x;
for (u32 yy = 0; yy < OVERLAY_PIXEL_HEIGHT; yy++)
{

for (u32 xx = 0; xx < OVERLAY_PIXEL_WIDTH; xx++)
{
if (modeval==0x03)
{
//fill with grey
}

if (m_osd_font[ch].pix(y,x) != black)
{
bitmap.pix(ystart + (y + 1) * OVERLAY_PIXEL_HEIGHT + yy, xmin+xx) = m_osd_font[ch].pix(y,x);
}
}
}
}
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It’s impossible for the modeval == 0x03 test to pass, because you assigned it something & 0x04 above, and 0x04 & 0x03 == 0.

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.

3 participants