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

heathkit/tlb.cpp: Use memory bank for imaginator I-100 ROM #11778

Merged
merged 2 commits into from Nov 24, 2023

Conversation

mgarlanger
Copy link
Contributor

Change from memory_view to memory bank for the Imaginator I-100 ROM.

@cuavas cuavas merged commit bef3f37 into mamedev:master Nov 24, 2023
Comment on lines 1575 to 1578
void heath_imaginator_tlb_device::tap_6000h()
{
if (m_mem_map != 0)
{
m_mem_map = 0;
m_mem_view.select(m_mem_map);
}
m_mem_bank->set_entry(0);
}
Copy link
Member

Choose a reason for hiding this comment

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

As far as I can tell, the only way for it to flip back to entry 1 is on reset, so you could make it uninstall the tap after the first time it’s hit to make it a bit more efficient.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@cuavas How do you uninstall a tap? I looked for a method that would do it and didn't see anything.

Copy link
Member

Choose a reason for hiding this comment

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

With .remove(): 706cc60

You can find a fair few uses of read/write taps around the source tree if you grep for them.

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.

None yet

2 participants