diff options
Diffstat (limited to 'src/devices/machine/at28c16.h')
-rw-r--r-- | src/devices/machine/at28c16.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/devices/machine/at28c16.h b/src/devices/machine/at28c16.h index 83d5e37e9b6..232dc0749d3 100644 --- a/src/devices/machine/at28c16.h +++ b/src/devices/machine/at28c16.h @@ -37,13 +37,9 @@ public: // construction/destruction at28c16_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); - // I/O operations DECLARE_WRITE8_MEMBER( write ); DECLARE_READ8_MEMBER( read ); - DECLARE_WRITE_LINE_MEMBER( set_a9_12v ); - DECLARE_WRITE_LINE_MEMBER( set_oe_12v ); - void at28c16_map8(address_map &map); protected: // device-level overrides virtual void device_start() override; @@ -57,6 +53,7 @@ protected: virtual void nvram_read(emu_file &file) override; virtual void nvram_write(emu_file &file) override; +private: // internal state address_space_config m_space_config; emu_timer *m_write_timer; @@ -64,11 +61,16 @@ protected: int m_oe_12v; int m_last_write; optional_region_ptr<uint8_t> m_default_data; + + // I/O operations + DECLARE_WRITE_LINE_MEMBER( set_a9_12v ); + DECLARE_WRITE_LINE_MEMBER( set_oe_12v ); + + void at28c16_map8(address_map &map); }; // device type definition -extern const device_type AT28C16; DECLARE_DEVICE_TYPE(AT28C16, at28c16_device) #endif // MAME_MACHINE_AT28C16_H |