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

heathzenith/h89.cpp: Reduce duplicate BIOS declarations #12929

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mgarlanger
Copy link
Contributor

@mgarlanger mgarlanger commented Nov 1, 2024

Making the BIOS definitions DRY.

I have several more BIOSes to add. This should make it clearer on followup PRs.

@@ -1040,122 +1040,133 @@ void h89_mms_state::h89_mms(machine_config &config)
m_intr_socket->set_fixed(true);
}

#define ROM_H17 \
Copy link
Contributor

Choose a reason for hiding this comment

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

This could be simplified down a bit. Only h88 has the H88 monitor so it doesn't need to be macro-ized, and the h89 variants have a common set of options (Z17, Ultimeth, etc) that could all be one macro.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I can undo the H88 one. But for the h89 and h89_sigmasoft, once the left bus is fully implemented, we will be able to remove the h89_sigmasoft system and then all systems would have a unique set of roms.

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