diff options
Diffstat (limited to 'src/devices/machine/ldv1000.h')
-rw-r--r-- | src/devices/machine/ldv1000.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/machine/ldv1000.h b/src/devices/machine/ldv1000.h index 0c1bd9fbbb9..11abc109f51 100644 --- a/src/devices/machine/ldv1000.h +++ b/src/devices/machine/ldv1000.h @@ -62,8 +62,6 @@ public: uint8_t status_strobe_r() const { return (m_portc1 & 0x20) ? ASSERT_LINE : CLEAR_LINE; } uint8_t command_strobe_r() const { return (m_portc1 & 0x10) ? ASSERT_LINE : CLEAR_LINE; } - void ldv1000_map(address_map &map); - void ldv1000_portmap(address_map &map); protected: // timer IDs enum @@ -85,19 +83,18 @@ protected: virtual int32_t player_update(const vbi_metadata &vbi, int fieldnum, const attotime &curtime) override; virtual void player_overlay(bitmap_yuy16 &bitmap) override { } +private: // internal helpers bool focus_on() const { return !(m_portb1 & 0x01); } bool spdl_on() const { return !(m_portb1 & 0x02); } bool laser_on() const { return (m_portb1 & 0x40); } -public: // internal read/write handlers DECLARE_WRITE8_MEMBER( z80_decoder_display_port_w ); DECLARE_READ8_MEMBER( z80_decoder_display_port_r ); DECLARE_READ8_MEMBER( z80_controller_r ); DECLARE_WRITE8_MEMBER( z80_controller_w ); -private: // internal read/write handlers DECLARE_WRITE_LINE_MEMBER( ctc_interrupt ); DECLARE_WRITE8_MEMBER( ppi0_porta_w ); @@ -108,6 +105,9 @@ private: DECLARE_WRITE8_MEMBER( ppi1_portb_w ); DECLARE_WRITE8_MEMBER( ppi1_portc_w ); + void ldv1000_map(address_map &map); + void ldv1000_portmap(address_map &map); + // internal state required_device<z80_device> m_z80_cpu; /* CPU index of the Z80 */ required_device<z80ctc_device> m_z80_ctc; /* CTC device */ |