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

mc10: Create slot system #8184

Merged
merged 23 commits into from
Jun 16, 2021
Merged

mc10: Create slot system #8184

merged 23 commits into from
Jun 16, 2021

Conversation

tlindner
Copy link
Member

  1. Turn MCX-128 and Alice 128 drivers into cartridges loaded on an MC-10 and Alice.
  2. Create RAM cartridges
  3. Clean up MC-10 and Alice drivers

scripts/target/mame/mess.lua Outdated Show resolved Hide resolved
src/devices/bus/mc10/mc10cart.h Outdated Show resolved Hide resolved
Comment on lines 30 to 31
SEL is an input to the MC-10 that allows the cartridge to remove
the internal chips from the bus.
Copy link
Member

Choose a reason for hiding this comment

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

Can hardware in the cartridge control SEL on-the-fly? If it can, the host should probably install the chips affected by it in a view so it can unmap them when necessary.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes. I see the logic in your suggestion, but that adds a view that has to be explicitly manager by trampolines. By having the slot device create the view, it can control access to the internal bus in exactly the same way the hardware does.

src/devices/bus/mc10/mc10cart.cpp Outdated Show resolved Hide resolved
src/devices/bus/mc10/mc10cart.cpp Outdated Show resolved Hide resolved
src/devices/bus/mc10/mc10_mcx128.cpp Outdated Show resolved Hide resolved
src/devices/bus/mc10/mc10_mcx128.cpp Outdated Show resolved Hide resolved
src/devices/bus/mc10/mc10_mcx128.cpp Outdated Show resolved Hide resolved
src/mame/drivers/mc10.cpp Outdated Show resolved Hide resolved
src/mame/drivers/mc10.cpp Outdated Show resolved Hide resolved
@startaq
Copy link
Member

startaq commented Jun 13, 2021

src/devices/bus/mc10/mc10_ram.cpp

Imho the mc10_ prefix can be removed on the files. It's already in the mc10 folder.

scripts/target/mame/mess.lua Outdated Show resolved Hide resolved
src/devices/bus/mc10/mc10_cart.h Outdated Show resolved Hide resolved
src/devices/bus/mc10/mc10_cart.h Show resolved Hide resolved
src/devices/bus/mc10/mcx128.cpp Outdated Show resolved Hide resolved
src/devices/bus/mc10/mcx128.cpp Show resolved Hide resolved
src/mame/drivers/mc10.cpp Outdated Show resolved Hide resolved
src/mame/drivers/mc10.cpp Outdated Show resolved Hide resolved
src/mame/drivers/mc10.cpp Outdated Show resolved Hide resolved
src/mame/drivers/mc10.cpp Outdated Show resolved Hide resolved
src/mame/drivers/mc10.cpp Outdated Show resolved Hide resolved
@cuavas cuavas merged commit 0f17b85 into mamedev:master Jun 16, 2021
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