mirror of
https://github.com/holub/mame
synced 2025-04-24 09:20:02 +03:00
macs.cpp: revert my recent changes as they caused problems (nw)
This needs an ad hoc constructor, since the ones in bus\generic.h always assume no default option. Don't have time to do it right now, will revisit later (nw)
This commit is contained in:
parent
455195eecf
commit
0bbb3c5489
@ -2,7 +2,7 @@
|
||||
// copyright-holders:David Haywood
|
||||
/*
|
||||
|
||||
macs.c - Multi Amenity Cassette System
|
||||
macs.cpp - Multi Amenity Cassette System
|
||||
|
||||
processor seems to be ST0016 (z80 based) from SETA
|
||||
|
||||
@ -501,8 +501,8 @@ uint8_t macs_state::dma_offset()
|
||||
return m_cart_bank;
|
||||
}
|
||||
|
||||
void macs_state::macs(machine_config &config)
|
||||
{
|
||||
|
||||
MACHINE_CONFIG_START(macs_state::macs)
|
||||
/* basic machine hardware */
|
||||
ST0016_CPU(config, m_maincpu, 8000000); // 8 MHz ?
|
||||
m_maincpu->set_memory_map(&macs_state::macs_mem);
|
||||
@ -519,9 +519,12 @@ void macs_state::macs(machine_config &config)
|
||||
screen.set_palette("maincpu:palette");
|
||||
screen.screen_vblank().set_inputline(m_maincpu, INPUT_LINE_IRQ0, HOLD_LINE); // FIXME: HOLD_LINE is bad juju
|
||||
|
||||
GENERIC_CARTSLOT(config, m_cart1, generic_plain_slot, "macs_cart", "rom").set_user_loadable(false);
|
||||
GENERIC_CARTSLOT(config, m_cart2, generic_plain_slot, "macs_cart", "rom").set_user_loadable(false);
|
||||
}
|
||||
MCFG_GENERIC_CARTSLOT_ADD_WITH_DEFAULT("slot_a", generic_plain_slot, "macs_cart", "rom")
|
||||
MCFG_SET_IMAGE_LOADABLE(false)
|
||||
MCFG_GENERIC_CARTSLOT_ADD_WITH_DEFAULT("slot_b", generic_plain_slot, "macs_cart", "rom")
|
||||
MCFG_SET_IMAGE_LOADABLE(false)
|
||||
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
|
||||
#define MACS_BIOS \
|
||||
|
Loading…
Reference in New Issue
Block a user