diff options
Diffstat (limited to 'src/devices/bus/abcbus/hdc.cpp')
-rw-r--r-- | src/devices/bus/abcbus/hdc.cpp | 143 |
1 files changed, 0 insertions, 143 deletions
diff --git a/src/devices/bus/abcbus/hdc.cpp b/src/devices/bus/abcbus/hdc.cpp deleted file mode 100644 index 2febc491d79..00000000000 --- a/src/devices/bus/abcbus/hdc.cpp +++ /dev/null @@ -1,143 +0,0 @@ -// license:BSD-3-Clause -// copyright-holders:Curt Coder -/********************************************************************** - - Luxor XEBEC Winchester controller card emulation - -*********************************************************************/ - -#include "emu.h" -#include "hdc.h" - - - -//************************************************************************** -// MACROS / CONSTANTS -//************************************************************************** - -#define Z80_TAG "z80" -#define SASIBUS_TAG "sasi" - - - -//************************************************************************** -// DEVICE DEFINITIONS -//************************************************************************** - -DEFINE_DEVICE_TYPE(ABC_HDC, abc_hdc_device, "abc_hdc", "ABC HDC") - - -//------------------------------------------------- -// ROM( abc_hdc ) -//------------------------------------------------- - -ROM_START( abc_hdc ) - ROM_REGION( 0x800, Z80_TAG, 0 ) - ROM_SYSTEM_BIOS( 0, "st4038", "Seagate ST4038 (CHS: 733,5,17,512)" ) - ROMX_LOAD( "st4038.6c", 0x000, 0x800, CRC(4c803b87) SHA1(1141bb51ad9200fc32d92a749460843dc6af8953), ROM_BIOS(0) ) // Seagate ST4038 (http://stason.org/TULARC/pc/hard-drives-hdd/seagate/ST4038-1987-31MB-5-25-FH-MFM-ST412.html) - ROM_SYSTEM_BIOS( 1, "st225", "Seagate ST225 (CHS: 615,4,17,512)" ) - ROMX_LOAD( "st225.6c", 0x000, 0x800, CRC(c9f68f81) SHA1(7ff8b2a19f71fe0279ab3e5a0a5fffcb6030360c), ROM_BIOS(1) ) // Seagate ST225 (http://stason.org/TULARC/pc/hard-drives-hdd/seagate/ST225-21MB-5-25-HH-MFM-ST412.html) -ROM_END - - -//------------------------------------------------- -// rom_region - device-specific ROM region -//------------------------------------------------- - -const tiny_rom_entry *abc_hdc_device::device_rom_region() const -{ - return ROM_NAME( abc_hdc ); -} - - -//------------------------------------------------- -// ADDRESS_MAP( abc_hdc_mem ) -//------------------------------------------------- - -void abc_hdc_device::abc_hdc_mem(address_map &map) -{ - map(0x0000, 0x0ff).rom().region(Z80_TAG, 0); -} - - -//------------------------------------------------- -// ADDRESS_MAP( abc_hdc_io ) -//------------------------------------------------- - -void abc_hdc_device::abc_hdc_io(address_map &map) -{ -} - - -//------------------------------------------------- -// z80_daisy_config daisy_chain -//------------------------------------------------- - -static const z80_daisy_config daisy_chain[] = -{ - { nullptr } -}; - - -//------------------------------------------------- -// device_add_mconfig - add device configuration -//------------------------------------------------- - -void abc_hdc_device::device_add_mconfig(machine_config &config) -{ - Z80(config, m_maincpu, 4000000); - m_maincpu->set_memory_map(&abc_hdc_device::abc_hdc_mem); - m_maincpu->set_io_map(&abc_hdc_device::abc_hdc_io); - m_maincpu->set_daisy_config(daisy_chain); - - scsi_port_device &scsi(SCSI_PORT(config, SASIBUS_TAG)); - scsi.set_slot_device(1, "harddisk", SCSIHD, DEVICE_INPUT_DEFAULTS_NAME(SCSI_ID_0)); -} - - -//************************************************************************** -// LIVE DEVICE -//************************************************************************** - -//------------------------------------------------- -// abc_hdc_device - constructor -//------------------------------------------------- - -abc_hdc_device::abc_hdc_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) - : device_t(mconfig, ABC_HDC, tag, owner, clock) - , device_abcbus_card_interface(mconfig, *this) - , m_maincpu(*this, Z80_TAG) -{ -} - - -//------------------------------------------------- -// device_start - device-specific startup -//------------------------------------------------- - -void abc_hdc_device::device_start() -{ -} - - -//------------------------------------------------- -// device_reset - device-specific reset -//------------------------------------------------- - -void abc_hdc_device::device_reset() -{ -} - - - -//************************************************************************** -// ABC BUS INTERFACE -//************************************************************************** - -//------------------------------------------------- -// abcbus_cs - -//------------------------------------------------- - -void abc_hdc_device::abcbus_cs(uint8_t data) -{ -} |