summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/fidelbase.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/fidelbase.h')
-rw-r--r--src/mame/includes/fidelbase.h22
1 files changed, 1 insertions, 21 deletions
diff --git a/src/mame/includes/fidelbase.h b/src/mame/includes/fidelbase.h
index 49f8ac98585..12703476197 100644
--- a/src/mame/includes/fidelbase.h
+++ b/src/mame/includes/fidelbase.h
@@ -18,9 +18,6 @@
#include "machine/timer.h"
#include "sound/dac.h"
#include "sound/s14001a.h"
-#include "bus/generic/slot.h"
-#include "bus/generic/carts.h"
-#include "softlist.h"
class fidelbase_state : public chessbase_state
{
@@ -28,44 +25,27 @@ public:
fidelbase_state(const machine_config &mconfig, device_type type, const char *tag) :
chessbase_state(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
- m_irq_on(*this, "irq_on"),
- m_rombank(*this, "rombank"),
m_mainmap(*this, "mainmap"),
m_speech(*this, "speech"),
m_speech_rom(*this, "speech"),
m_language(*this, "language"),
- m_dac(*this, "dac"),
- m_cart(*this, "cartslot")
+ m_dac(*this, "dac")
{ }
- // in case reset button is directly tied to maincpu reset pin
- virtual DECLARE_INPUT_CHANGED_MEMBER(reset_button) { m_maincpu->set_input_line(INPUT_LINE_RESET, newval ? ASSERT_LINE : CLEAR_LINE); }
-
DECLARE_INPUT_CHANGED_MEMBER(div_changed) { div_refresh(newval); }
protected:
// devices/pointers
required_device<cpu_device> m_maincpu;
- optional_device<timer_device> m_irq_on;
- optional_memory_bank m_rombank;
optional_device<address_map_bank_device> m_mainmap;
optional_device<s14001a_device> m_speech;
optional_region_ptr<u8> m_speech_rom;
optional_region_ptr<u8> m_language;
optional_device<dac_bit_interface> m_dac;
- optional_device<generic_slot_device> m_cart;
u8 m_speech_data;
u8 m_speech_bank; // speech rom higher address bits
- // cross-compatible cartridges(opening book modules)
- DECLARE_DEVICE_IMAGE_LOAD_MEMBER(cart_load);
- virtual DECLARE_READ8_MEMBER(cartridge_r);
-
- // periodic interrupts
- template<int Line> TIMER_DEVICE_CALLBACK_MEMBER(irq_on) { m_maincpu->set_input_line(Line, ASSERT_LINE); }
- template<int Line> TIMER_DEVICE_CALLBACK_MEMBER(irq_off) { m_maincpu->set_input_line(Line, CLEAR_LINE); }
-
// dynamic cpu divider
void div_trampoline_w(offs_t offset, u8 data);
u8 div_trampoline_r(offs_t offset);