summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/sage2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/sage2.h')
-rw-r--r--src/mame/includes/sage2.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/mame/includes/sage2.h b/src/mame/includes/sage2.h
index ee375c24748..cede7207e9d 100644
--- a/src/mame/includes/sage2.h
+++ b/src/mame/includes/sage2.h
@@ -36,12 +36,12 @@ public:
m_usart1(*this, I8251_1_TAG),
m_fdc(*this, UPD765_TAG),
m_ram(*this, RAM_TAG),
+ m_rom(*this, M68000_TAG),
m_floppy0(*this, UPD765_TAG ":0"),
m_floppy1(*this, UPD765_TAG ":1"),
m_floppy(nullptr),
m_centronics(*this, CENTRONICS_TAG),
m_ieee488(*this, IEEE488_TAG),
- m_reset(1),
m_fdc_int(0),
m_fdie(0)
{ }
@@ -52,6 +52,7 @@ public:
required_device<i8251_device> m_usart1;
required_device<upd765a_device> m_fdc;
required_device<ram_device> m_ram;
+ required_memory_region m_rom;
required_device<floppy_connector> m_floppy0;
required_device<floppy_connector> m_floppy1;
floppy_image_device *m_floppy;
@@ -63,8 +64,7 @@ public:
void update_fdc_int();
- DECLARE_READ8_MEMBER( read );
- DECLARE_WRITE8_MEMBER( write );
+ DECLARE_READ16_MEMBER(rom_r);
DECLARE_WRITE_LINE_MEMBER( br1_w );
DECLARE_WRITE_LINE_MEMBER( br2_w );
DECLARE_WRITE8_MEMBER( ppi0_pc_w );
@@ -75,9 +75,6 @@ public:
DECLARE_WRITE_LINE_MEMBER( fdc_irq );
- const uint8_t *m_rom;
- int m_reset;
-
// floppy state
int m_fdc_int;
int m_fdie;