summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/tandy1t.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/tandy1t.cpp')
-rw-r--r--src/mame/drivers/tandy1t.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mame/drivers/tandy1t.cpp b/src/mame/drivers/tandy1t.cpp
index 514e1d37fd5..8499f937458 100644
--- a/src/mame/drivers/tandy1t.cpp
+++ b/src/mame/drivers/tandy1t.cpp
@@ -96,6 +96,9 @@ public:
void t1000hx(machine_config &config);
void t1000tx(machine_config &config);
+protected:
+ virtual void machine_start() override;
+
private:
required_device<cpu_device> m_maincpu;
@@ -125,8 +128,6 @@ private:
void tandy1000_write_eeprom(uint8_t data);
void tandy1000_set_bios_bank();
- void machine_start() override;
-
DECLARE_MACHINE_RESET(tandy1000rl);
struct
@@ -437,6 +438,8 @@ void tandy1000_state::machine_start()
m_maincpu->space(AS_PROGRAM).install_readwrite_handler(m_ram->size() - (128*1024), 640*1024 - 1,
read8sm_delegate(*this, FUNC(tandy1000_state::vram_r)), write8sm_delegate(*this, FUNC(tandy1000_state::vram_w)), 0xffff);
subdevice<nvram_device>("nvram")->set_base(m_eeprom_ee, sizeof(m_eeprom_ee));
+
+ m_eeprom_state = 0;
}
uint8_t tandy1000_state::tandy1000_bank_r(offs_t offset)