mirror of
https://github.com/holub/mame
synced 2025-05-04 05:23:22 +03:00
-indigo.cpp; Various changes: [Ryan Holtz]
* Switched to new Z80SCC implementation. * Hooked up RS232 ports. * Fleshed out SCSI. * Added PIT8254 device (currently disabled). * Converted to logmacro. * Started fleshing out HPC1 implementation. * Split into separate indigo3k/indigo4k classes. * Renamed variables to MAME code standards. * Removed unused screen device.
This commit is contained in:
parent
0206cc5587
commit
d05a05a015
File diff suppressed because it is too large
Load Diff
@ -108,7 +108,6 @@ public:
|
||||
protected:
|
||||
virtual void machine_reset() override;
|
||||
|
||||
DECLARE_READ32_MEMBER(unknown_r);
|
||||
DECLARE_READ32_MEMBER(enet_r);
|
||||
DECLARE_WRITE32_MEMBER(enet_w);
|
||||
DECLARE_READ32_MEMBER(eisa_io_r);
|
||||
@ -223,18 +222,12 @@ WRITE32_MEMBER(ip22_state::ip22_write_ram)
|
||||
COMBINE_DATA(&m_mainram[offset]);
|
||||
}
|
||||
|
||||
READ32_MEMBER(ip22_state::unknown_r)
|
||||
{
|
||||
return 0x043b2800;
|
||||
}
|
||||
|
||||
void ip22_state::ip22_map(address_map &map)
|
||||
{
|
||||
map(0x00000000, 0x0007ffff).bankrw("bank1"); /* mirror of first 512k of main RAM */
|
||||
map(0x00080000, 0x0009ffff).r(FUNC(ip22_state::eisa_io_r));
|
||||
map(0x08000000, 0x0fffffff).share("mainram").ram().w(FUNC(ip22_state::ip22_write_ram)); /* 128 MB of main RAM */
|
||||
map(0x1f0f0000, 0x1f0f1fff).rw(m_newport, FUNC(newport_video_device::rex3_r), FUNC(newport_video_device::rex3_w));
|
||||
//map(0x1f4f0100, 0x1f4f0103).r(FUNC(ip22_state::unknown_r));
|
||||
map(0x1fa00000, 0x1fa1ffff).rw(m_mem_ctrl, FUNC(sgi_mc_device::read), FUNC(sgi_mc_device::write));
|
||||
|
||||
map(0x1fb80000, 0x1fb8ffff).rw(m_hpc3, FUNC(hpc3_device::pbusdma_r), FUNC(hpc3_device::pbusdma_w));
|
||||
@ -278,9 +271,9 @@ INPUT_PORTS_END
|
||||
|
||||
void ip22_state::cdrom_config(device_t *device)
|
||||
{
|
||||
device = device->subdevice("cdda");
|
||||
MCFG_SOUND_ROUTE(0, ":lspeaker", 1.0)
|
||||
MCFG_SOUND_ROUTE(1, ":rspeaker", 1.0)
|
||||
cdda_device *cdda = device->subdevice<cdda_device>("cdda");
|
||||
cdda->add_route(0, ":lspeaker", 1.0);
|
||||
cdda->add_route(1, ":rspeaker", 1.0);
|
||||
}
|
||||
|
||||
void ip22_state::ip22_base(machine_config &config)
|
||||
|
@ -17,7 +17,7 @@
|
||||
#define LOG_PBUS4 (1 << 5)
|
||||
#define LOG_CHAIN (1 << 6)
|
||||
|
||||
#define VERBOSE (LOG_SCSI_DMA)
|
||||
#define VERBOSE (0)
|
||||
#include "logmacro.h"
|
||||
|
||||
DEFINE_DEVICE_TYPE(SGI_HPC3, hpc3_device, "hpc3", "SGI HPC3")
|
||||
|
@ -208,12 +208,14 @@ void ioc2_device::lower_local1_irq(uint8_t source_mask)
|
||||
|
||||
WRITE_LINE_MEMBER(ioc2_device::timer0_int)
|
||||
{
|
||||
m_maincpu->set_input_line(MIPS3_IRQ2, ASSERT_LINE);
|
||||
if (state)
|
||||
m_maincpu->set_input_line(MIPS3_IRQ2, ASSERT_LINE);
|
||||
}
|
||||
|
||||
WRITE_LINE_MEMBER(ioc2_device::timer1_int)
|
||||
{
|
||||
m_maincpu->set_input_line(MIPS3_IRQ3, ASSERT_LINE);
|
||||
if (state)
|
||||
m_maincpu->set_input_line(MIPS3_IRQ3, ASSERT_LINE);
|
||||
}
|
||||
|
||||
WRITE_LINE_MEMBER(ioc2_device::kbdc_int_w)
|
||||
|
Loading…
Reference in New Issue
Block a user