Previous 199869 Revisions Next

r33530 Tuesday 25th November, 2014 at 19:06:05 UTC by Olivier Galibert
(nw)
[src/emu/machine]i6300esb.c i6300esb.h

trunk/src/emu/machine/i6300esb.c
r242041r242042
7777      AM_RANGE(0x004c, 0x004f) AM_READWRITE8(siu_data_port_r,   siu_data_port_w,   0xff000000)
7878   }
7979
80   AM_RANGE(0x80, 0x83) AM_WRITE8(                  nop_w,       0x000000ff) // POST/non-existing, used for delays by the bios/os
81   AM_RANGE(0xec, 0xef) AM_WRITE8(                  nop_w,       0x0000ff00) // Non-existing, used for delays by the bios/os
80   AM_RANGE(0x0060, 0x0063) AM_READWRITE8(    nmi_sc_r,          nmi_sc_w,          0x0000ff00)
81
82   AM_RANGE(0x0080, 0x0083) AM_WRITE8(                           nop_w,             0x000000ff) // POST/non-existing, used for delays by the bios/os
83   AM_RANGE(0x00ec, 0x00ef) AM_WRITE8(                           nop_w,             0x0000ff00) // Non-existing, used for delays by the bios/os
8284ADDRESS_MAP_END
8385
8486
r242041r242042
117119   mon_fwd_en = 0;
118120   memset(mon_trp_rng, 0, sizeof(mon_trp_rng));
119121   mon_trp_msk = 0;
122   nmi_sc = 0;
120123}
121124
122125void i6300esb_lpc_device::reset_all_mappings()
r242041r242042
635638   logerror("%s: siu config write port %02x, %02x\n", tag(), siu_config_port, data);
636639}
637640
641READ8_MEMBER  (i6300esb_lpc_device::nmi_sc_r)
642{
643   nmi_sc ^= 0x10;
644   return nmi_sc;
645}
646
647WRITE8_MEMBER (i6300esb_lpc_device::nmi_sc_w)
648{
649   nmi_sc = data;
650   logerror("%s: nmi_sc = %02x\n", tag(), nmi_sc);
651}
652
653
638654WRITE8_MEMBER (i6300esb_lpc_device::nop_w)
639655{
640656}
trunk/src/emu/machine/i6300esb.h
r242041r242042
3838   UINT8 pirq_rout[8];
3939   UINT8 acpi_cntl, tco_cntl, gpio_cntl, serirq_cntl, d31_err_cfg, d31_err_sts, gen_sta, back_cntl, rtc_conf;
4040   UINT8 lpc_if_com_range, lpc_if_fdd_lpt_range, lpc_if_sound_range, fwh_dec_en1, fwh_dec_en2, siu_config_port;
41   UINT8 gen_pmcon_3, apm_cnt, apm_sts, mon_fwd_en;
41   UINT8 gen_pmcon_3, apm_cnt, apm_sts, mon_fwd_en, nmi_sc;
4242   int siu_config_state;
4343
4444   DECLARE_WRITE8_MEMBER (nop_w);
r242041r242042
130130   DECLARE_WRITE8_MEMBER (siu_config_port_w);
131131   DECLARE_READ8_MEMBER  (siu_data_port_r);        // 4f
132132   DECLARE_WRITE8_MEMBER (siu_data_port_w);
133   DECLARE_READ8_MEMBER  (nmi_sc_r);               // 61
134   DECLARE_WRITE8_MEMBER (nmi_sc_w);
133135
134136   void map_bios(address_space *memory_space, UINT32 start, UINT32 end, int idsel);
135137};


Previous 199869 Revisions Next


© 1997-2024 The MAME Team