Skip to content

Conversation

mmicko
Copy link
Member

@mmicko mmicko commented May 16, 2022

Addresses all the issues mentioned in #9759

Comment on lines +60 to +64
void rc2014_bus_device::device_reset()
{
installer(AS_IO)->unmap_readwrite(0, (1 << installer(AS_IO)->space_config().addr_width()) - 1);
}

Copy link
Member

Choose a reason for hiding this comment

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

This requires the bus to come before the slots in machine configuration to work, as the cards are expecting their device_reset members to run after this. If it becomes a problem, it can be changed to have a specific function on the cards to install I/O handlers.

@cuavas cuavas merged commit 6d59571 into mamedev:master May 16, 2022
@mmicko mmicko deleted the rc2014_wip branch May 17, 2022 15:36
wilbertpol pushed a commit to wilbertpol/mame that referenced this pull request May 17, 2022
* Unmap I/O space on bus reset and install I/O on card reset.
* Cleaned up code.
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.

2 participants