mirror of
https://github.com/holub/mame
synced 2025-04-20 23:42:22 +03:00
jazz.cpp: Correct SCSI controller type
This commit is contained in:
parent
ad701c0caf
commit
8a9c1aa573
@ -43,7 +43,7 @@ MPCs on other hardware:
|
||||
|
||||
MPC4000:
|
||||
CPU, LCD, panel controller: SA1110 StrongARM @ 176 MHz
|
||||
SCSI: FAS236 (same as NCR 53C96)
|
||||
SCSI: FAS236 (same as NCR 53CF96)
|
||||
IDE, UART, DMA controller: FPGA XC2S100-5TQ144C
|
||||
USB Host: SL811HST
|
||||
USB function controller: NET2890
|
||||
|
@ -113,7 +113,7 @@ public:
|
||||
, m_vram(*this, "vram")
|
||||
, m_mct_adr(*this, "mct_adr")
|
||||
, m_scsibus(*this, "scsi")
|
||||
, m_scsi(*this, "scsi:7:ncr53c94")
|
||||
, m_scsi(*this, "scsi:7:ncr53cf94")
|
||||
, m_fdc(*this, "fdc")
|
||||
, m_rtc(*this, "rtc")
|
||||
, m_nvram(*this, "nvram")
|
||||
@ -158,7 +158,7 @@ protected:
|
||||
required_device<ram_device> m_vram;
|
||||
required_device<mct_adr_device> m_mct_adr;
|
||||
required_device<nscsi_bus_device> m_scsibus;
|
||||
required_device<ncr53c94_device> m_scsi;
|
||||
required_device<ncr53cf94_device> m_scsi;
|
||||
required_device<n82077aa_device> m_fdc;
|
||||
required_device<mc146818_device> m_rtc;
|
||||
required_device<nvram_device> m_nvram;
|
||||
@ -223,7 +223,7 @@ void jazz_state::mct_map(address_map &map)
|
||||
map(0x80000000, 0x80000fff).m(m_mct_adr, FUNC(mct_adr_device::map));
|
||||
|
||||
map(0x80001000, 0x800010ff).m(m_net, FUNC(dp83932c_device::map)).umask32(0x0000ffff);
|
||||
map(0x80002000, 0x8000200f).m(m_scsi, FUNC(ncr53c94_device::map));
|
||||
map(0x80002000, 0x8000200f).m(m_scsi, FUNC(ncr53cf94_device::map));
|
||||
map(0x80003000, 0x8000300f).m(m_fdc, FUNC(n82077aa_device::map));
|
||||
|
||||
// LE: only reads 4000
|
||||
@ -313,16 +313,16 @@ void jazz_state::jazz(machine_config &config)
|
||||
NSCSI_CONNECTOR(config, "scsi:6", jazz_scsi_devices, "cdrom");
|
||||
|
||||
// scsi host adapter
|
||||
NSCSI_CONNECTOR(config, "scsi:7").option_set("ncr53c94", NCR53C94).clock(24_MHz_XTAL).machine_config(
|
||||
NSCSI_CONNECTOR(config, "scsi:7").option_set("ncr53cf94", NCR53CF94).clock(24_MHz_XTAL).machine_config(
|
||||
[this] (device_t *device)
|
||||
{
|
||||
ncr53c94_device &adapter = downcast<ncr53c94_device &>(*device);
|
||||
ncr53cf94_device &adapter = downcast<ncr53cf94_device &>(*device);
|
||||
|
||||
adapter.irq_handler_cb().set(m_mct_adr, FUNC(mct_adr_device::irq<5>));
|
||||
adapter.drq_handler_cb().set(m_mct_adr, FUNC(mct_adr_device::drq<0>));
|
||||
|
||||
subdevice<mct_adr_device>(":mct_adr")->dma_r_cb<0>().set(adapter, FUNC(ncr53c94_device::dma_r));
|
||||
subdevice<mct_adr_device>(":mct_adr")->dma_w_cb<0>().set(adapter, FUNC(ncr53c94_device::dma_w));
|
||||
subdevice<mct_adr_device>(":mct_adr")->dma_r_cb<0>().set(adapter, FUNC(ncr53cf94_device::dma_r));
|
||||
subdevice<mct_adr_device>(":mct_adr")->dma_w_cb<0>().set(adapter, FUNC(ncr53cf94_device::dma_w));
|
||||
});
|
||||
|
||||
// floppy controller and drive
|
||||
|
Loading…
Reference in New Issue
Block a user