trunk/src/emu/machine/i6300esb.c
| r242041 | r242042 | |
| 77 | 77 | AM_RANGE(0x004c, 0x004f) AM_READWRITE8(siu_data_port_r, siu_data_port_w, 0xff000000) |
| 78 | 78 | } |
| 79 | 79 | |
| 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 |
| 82 | 84 | ADDRESS_MAP_END |
| 83 | 85 | |
| 84 | 86 | |
| r242041 | r242042 | |
| 117 | 119 | mon_fwd_en = 0; |
| 118 | 120 | memset(mon_trp_rng, 0, sizeof(mon_trp_rng)); |
| 119 | 121 | mon_trp_msk = 0; |
| 122 | nmi_sc = 0; |
| 120 | 123 | } |
| 121 | 124 | |
| 122 | 125 | void i6300esb_lpc_device::reset_all_mappings() |
| r242041 | r242042 | |
| 635 | 638 | logerror("%s: siu config write port %02x, %02x\n", tag(), siu_config_port, data); |
| 636 | 639 | } |
| 637 | 640 | |
| 641 | READ8_MEMBER (i6300esb_lpc_device::nmi_sc_r) |
| 642 | { |
| 643 | nmi_sc ^= 0x10; |
| 644 | return nmi_sc; |
| 645 | } |
| 646 | |
| 647 | WRITE8_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 | |
| 638 | 654 | WRITE8_MEMBER (i6300esb_lpc_device::nop_w) |
| 639 | 655 | { |
| 640 | 656 | } |
trunk/src/emu/machine/i6300esb.h
| r242041 | r242042 | |
| 38 | 38 | UINT8 pirq_rout[8]; |
| 39 | 39 | UINT8 acpi_cntl, tco_cntl, gpio_cntl, serirq_cntl, d31_err_cfg, d31_err_sts, gen_sta, back_cntl, rtc_conf; |
| 40 | 40 | 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; |
| 42 | 42 | int siu_config_state; |
| 43 | 43 | |
| 44 | 44 | DECLARE_WRITE8_MEMBER (nop_w); |
| r242041 | r242042 | |
| 130 | 130 | DECLARE_WRITE8_MEMBER (siu_config_port_w); |
| 131 | 131 | DECLARE_READ8_MEMBER (siu_data_port_r); // 4f |
| 132 | 132 | DECLARE_WRITE8_MEMBER (siu_data_port_w); |
| 133 | DECLARE_READ8_MEMBER (nmi_sc_r); // 61 |
| 134 | DECLARE_WRITE8_MEMBER (nmi_sc_w); |
| 133 | 135 | |
| 134 | 136 | void map_bios(address_space *memory_space, UINT32 start, UINT32 end, int idsel); |
| 135 | 137 | }; |