mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
atarisy2.cpp: removed tag lookup (nw)
This commit is contained in:
parent
70088ad746
commit
6890040b50
@ -647,7 +647,7 @@ WRITE8_MEMBER(atarisy2_state::sound_reset_w)
|
||||
|
||||
/* a large number of signals are reset when this happens */
|
||||
m_soundcomm->reset();
|
||||
machine().device("ymsnd")->reset();
|
||||
m_ym2151->reset();
|
||||
if (m_tms5220.found())
|
||||
{
|
||||
m_tms5220->reset(); // technically what happens is the tms5220 gets a long stream of 0xFF written to it when sound_reset_state is 0 which halts the chip after a few frames, but this works just as well, even if it isn't exactly true to hardware... The hardware may not have worked either, the resistors to pull input to 0xFF are fighting against the ls263 gate holding the latched value to be sent to the chip.
|
||||
|
@ -38,6 +38,25 @@ public:
|
||||
, m_led(*this, "led%u", 0U)
|
||||
{ }
|
||||
|
||||
void init_ssprint();
|
||||
void init_apb();
|
||||
void init_csprint();
|
||||
void init_paperboy();
|
||||
void init_720();
|
||||
|
||||
void atarisy2(machine_config &config);
|
||||
void apb(machine_config &config);
|
||||
void paperboy(machine_config &config);
|
||||
void ssprint(machine_config &config);
|
||||
void _720(machine_config &config);
|
||||
void csprint(machine_config &config);
|
||||
|
||||
protected:
|
||||
virtual void device_post_load() override;
|
||||
virtual void update_interrupts() override;
|
||||
virtual void scanline_update(screen_device &screen, int scanline) override;
|
||||
|
||||
private:
|
||||
required_device<t11_device> m_maincpu;
|
||||
required_device<m6502_device> m_audiocpu;
|
||||
required_device<atari_motion_objects_device> m_mob;
|
||||
@ -76,10 +95,8 @@ public:
|
||||
int32_t m_spin_pos; /* track fake position of spinner */
|
||||
uint32_t m_spin_center_count;
|
||||
|
||||
virtual void device_post_load() override;
|
||||
output_finder<2> m_led;
|
||||
|
||||
virtual void update_interrupts() override;
|
||||
virtual void scanline_update(screen_device &screen, int scanline) override;
|
||||
DECLARE_WRITE16_MEMBER(int0_ack_w);
|
||||
DECLARE_WRITE16_MEMBER(int1_ack_w);
|
||||
DECLARE_WRITE16_MEMBER(int_enable_w);
|
||||
@ -96,11 +113,7 @@ public:
|
||||
DECLARE_WRITE8_MEMBER(tms5220_w);
|
||||
DECLARE_WRITE8_MEMBER(tms5220_strobe_w);
|
||||
DECLARE_WRITE8_MEMBER(coincount_w);
|
||||
void init_ssprint();
|
||||
void init_apb();
|
||||
void init_csprint();
|
||||
void init_paperboy();
|
||||
void init_720();
|
||||
|
||||
TILE_GET_INFO_MEMBER(get_alpha_tile_info);
|
||||
TILE_GET_INFO_MEMBER(get_playfield_tile_info);
|
||||
DECLARE_MACHINE_START(atarisy2);
|
||||
@ -118,16 +131,7 @@ public:
|
||||
DECLARE_PALETTE_DECODER(RRRRGGGGBBBBIIII);
|
||||
|
||||
static const atari_motion_objects_config s_mob_config;
|
||||
void atarisy2(machine_config &config);
|
||||
void apb(machine_config &config);
|
||||
void paperboy(machine_config &config);
|
||||
void ssprint(machine_config &config);
|
||||
void _720(machine_config &config);
|
||||
void csprint(machine_config &config);
|
||||
void main_map(address_map &map);
|
||||
void sound_map(address_map &map);
|
||||
void vrambank_map(address_map &map);
|
||||
|
||||
protected:
|
||||
output_finder<2> m_led;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user