(nw) quick protection before freeze

This commit is contained in:
Robbbert 2018-05-27 01:39:34 +10:00
parent 98aeb64c3c
commit 3bf5334161
6 changed files with 23 additions and 9 deletions

View File

@ -75,6 +75,10 @@ public:
, m_digits(*this, "digit%u", 0U)
{ }
void midearth(machine_config &config);
void atari_s1(machine_config &config);
void atarians(machine_config &config);
protected:
DECLARE_READ8_MEMBER(m1080_r);
DECLARE_WRITE8_MEMBER(m1080_w);
DECLARE_READ8_MEMBER(m1084_r);
@ -90,9 +94,6 @@ public:
DECLARE_WRITE8_MEMBER(midearth_w);
TIMER_DEVICE_CALLBACK_MEMBER(nmi);
TIMER_DEVICE_CALLBACK_MEMBER(timer_s);
void midearth(machine_config &config);
void atari_s1(machine_config &config);
void atarians(machine_config &config);
void atari_s1_map(address_map &map);
void atarians_map(address_map &map);
void midearth_map(address_map &map);

View File

@ -40,17 +40,20 @@ public:
{ }
void init_jeutel();
void jeutel(machine_config &config);
protected:
DECLARE_READ8_MEMBER(portb_r);
DECLARE_WRITE8_MEMBER(porta_w);
DECLARE_WRITE8_MEMBER(ppi0a_w);
DECLARE_WRITE8_MEMBER(ppi0b_w);
DECLARE_WRITE8_MEMBER(sndcmd_w);
TIMER_DEVICE_CALLBACK_MEMBER(timer_a);
void jeutel(machine_config &config);
void jeutel_cpu2(address_map &map);
void jeutel_cpu3(address_map &map);
void jeutel_cpu3_io(address_map &map);
void jeutel_map(address_map &map);
private:
bool m_timer_a;
uint8_t m_sndcmd;

View File

@ -45,15 +45,18 @@ public:
, m_digits(*this, "digit%u", 0U)
{ }
void rowamet(machine_config &config);
protected:
DECLARE_READ8_MEMBER(sound_r);
DECLARE_WRITE8_MEMBER(mute_w);
DECLARE_READ8_MEMBER(io_r);
DECLARE_WRITE8_MEMBER(io_w);
TIMER_DEVICE_CALLBACK_MEMBER(timer_a);
void rowamet(machine_config &config);
void rowamet_map(address_map &map);
void rowamet_sub_io(address_map &map);
void rowamet_sub_map(address_map &map);
private:
uint8_t m_out_offs;
uint8_t m_sndcmd;

View File

@ -57,14 +57,17 @@ public:
, m_digits(*this, "digit%u", 0U)
{ }
void spectra(machine_config &config);
protected:
DECLARE_READ8_MEMBER(porta_r);
DECLARE_READ8_MEMBER(portb_r);
DECLARE_WRITE8_MEMBER(porta_w);
DECLARE_WRITE8_MEMBER(portb_w);
TIMER_DEVICE_CALLBACK_MEMBER(nmitimer);
TIMER_DEVICE_CALLBACK_MEMBER(outtimer);
void spectra(machine_config &config);
void spectra_map(address_map &map);
private:
uint8_t m_porta;
uint8_t m_portb;

View File

@ -61,6 +61,9 @@ public:
, m_p_vram(*this, "vram")
{ }
void unior(machine_config &config);
protected:
DECLARE_WRITE8_MEMBER(vram_w);
DECLARE_WRITE8_MEMBER(scroll_w);
DECLARE_READ8_MEMBER(ppi0_b_r);
@ -75,9 +78,9 @@ public:
DECLARE_READ8_MEMBER(dma_r);
I8275_DRAW_CHARACTER_MEMBER(display_pixels);
void unior(machine_config &config);
void unior_io(address_map &map);
void unior_mem(address_map &map);
private:
uint8_t m_4c;
uint8_t m_4e;

View File

@ -74,6 +74,9 @@ public:
, m_framecnt(0)
{ }
void uts20(machine_config &config);
protected:
DECLARE_READ8_MEMBER(ram_r);
DECLARE_READ8_MEMBER(bank_r);
DECLARE_WRITE8_MEMBER(ram_w);
@ -86,10 +89,8 @@ public:
u32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
void uts20(machine_config &config);
void io_map(address_map &map);
void mem_map(address_map &map);
protected:
virtual void machine_start() override;
virtual void machine_reset() override;
virtual void device_post_load() override;