trunk/src/mess/machine/c1571.c
| r24568 | r24569 | |
| 129 | 129 | ROM_START( minichief ) |
| 130 | 130 | ROM_REGION( 0x8000, M6502_TAG, 0 ) |
| 131 | 131 | ROM_LOAD( "ictdos710.u2", 0x0000, 0x8000, CRC(aaacf7e9) SHA1(c1296995238ef23f18e7fec70a144a0566a25a27) ) |
| 132 | | |
| 133 | | ROM_REGION( 0x2000, "wd1002a_wx1", 0 ) |
| 134 | | ROM_LOAD( "600693-001 type 5.u12", 0x0000, 0x2000, CRC(f3daf85f) SHA1(3bd29538832d3084cbddeec92593988772755283) ) |
| 135 | 132 | ROM_END |
| 136 | 133 | |
| 137 | 134 | |
| r24568 | r24569 | |
| 717 | 714 | //------------------------------------------------- |
| 718 | 715 | |
| 719 | 716 | static SLOT_INTERFACE_START( mini_chief_isa8_cards ) |
| 720 | | //SLOT_INTERFACE("wd1002a_wx1", WD1002A_WX1) |
| 717 | SLOT_INTERFACE("wd1002a_wx1", ISA8_WD1002A_WX1) |
| 721 | 718 | SLOT_INTERFACE_END |
| 722 | 719 | |
| 723 | 720 | static const isa8bus_interface isabus_intf = |
| r24568 | r24569 | |
| 863 | 860 | MCFG_64H156_ADD(C64H156_TAG, XTAL_16MHz, ga_intf) |
| 864 | 861 | |
| 865 | 862 | MCFG_ISA8_BUS_ADD(ISA_BUS_TAG, M6502_TAG, isabus_intf) |
| 866 | | MCFG_ISA8_SLOT_ADD(ISA_BUS_TAG, "isa1", mini_chief_isa8_cards, NULL/*"wd1002a_wx1"*/, false) |
| 863 | MCFG_ISA8_SLOT_ADD(ISA_BUS_TAG, "isa1", mini_chief_isa8_cards, "wd1002a_wx1", false) |
| 867 | 864 | |
| 868 | 865 | MCFG_CBM_IEC_SLOT_ADD("iec", cbm_iec_devices, NULL) |
| 869 | 866 | MACHINE_CONFIG_END |
trunk/src/mess/machine/isa_wd1002a_wx1.c
| r0 | r24569 | |
| 1 | /********************************************************************** |
| 2 | |
| 3 | Western Digital WD1002A-WX1 Winchester Disk Controller emulation |
| 4 | |
| 5 | Copyright MESS Team. |
| 6 | Visit http://mamedev.org for licensing and usage restrictions. |
| 7 | |
| 8 | **********************************************************************/ |
| 9 | |
| 10 | #include "isa_wd1002a_wx1.h" |
| 11 | |
| 12 | |
| 13 | |
| 14 | //************************************************************************** |
| 15 | // DEVICE DEFINITIONS |
| 16 | //************************************************************************** |
| 17 | |
| 18 | const device_type ISA8_WD1002A_WX1 = &device_creator<isa8_wd1002a_wx1_device>; |
| 19 | |
| 20 | |
| 21 | //------------------------------------------------- |
| 22 | // ROM( wd1002a_wx1 ) |
| 23 | //------------------------------------------------- |
| 24 | |
| 25 | ROM_START( wd1002a_wx1 ) |
| 26 | ROM_REGION( 0x2000, "wd1002a_wx1", 0 ) |
| 27 | ROM_LOAD( "600693-001 type 5.u12", 0x0000, 0x2000, CRC(f3daf85f) SHA1(3bd29538832d3084cbddeec92593988772755283) ) |
| 28 | ROM_END |
| 29 | |
| 30 | |
| 31 | //------------------------------------------------- |
| 32 | // rom_region - device-specific ROM region |
| 33 | //------------------------------------------------- |
| 34 | |
| 35 | const rom_entry *isa8_wd1002a_wx1_device::device_rom_region() const |
| 36 | { |
| 37 | return ROM_NAME( wd1002a_wx1 ); |
| 38 | } |
| 39 | |
| 40 | |
| 41 | //************************************************************************** |
| 42 | // LIVE DEVICE |
| 43 | //************************************************************************** |
| 44 | |
| 45 | //------------------------------------------------- |
| 46 | // isa8_wd1002a_wx1_device - constructor |
| 47 | //------------------------------------------------- |
| 48 | |
| 49 | isa8_wd1002a_wx1_device::isa8_wd1002a_wx1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 50 | : device_t(mconfig, ISA8_WD1002A_WX1, "WD1002A-WX1", tag, owner, clock, "wd1002a_wx1", __FILE__), |
| 51 | device_isa8_card_interface( mconfig, *this ) |
| 52 | { |
| 53 | } |
| 54 | |
| 55 | |
| 56 | //------------------------------------------------- |
| 57 | // device_start - device-specific startup |
| 58 | //------------------------------------------------- |
| 59 | |
| 60 | void isa8_wd1002a_wx1_device::device_start() |
| 61 | { |
| 62 | } |
| 63 | |
| 64 | |
| 65 | //------------------------------------------------- |
| 66 | // device_reset - device-specific reset |
| 67 | //------------------------------------------------- |
| 68 | |
| 69 | void isa8_wd1002a_wx1_device::device_reset() |
| 70 | { |
| 71 | } |
trunk/src/mess/machine/isa_wd1002a_wx1.h
| r0 | r24569 | |
| 1 | /********************************************************************** |
| 2 | |
| 3 | Western Digital WD1002A-WX1 Winchester Disk Controller emulation |
| 4 | |
| 5 | Copyright MESS Team. |
| 6 | Visit http://mamedev.org for licensing and usage restrictions. |
| 7 | |
| 8 | **********************************************************************/ |
| 9 | |
| 10 | #pragma once |
| 11 | |
| 12 | #ifndef __ISA_WD1002A_WX1__ |
| 13 | #define __ISA_WD1002A_WX1__ |
| 14 | |
| 15 | #include "emu.h" |
| 16 | #include "machine/isa.h" |
| 17 | |
| 18 | |
| 19 | |
| 20 | //************************************************************************** |
| 21 | // TYPE DEFINITIONS |
| 22 | //************************************************************************** |
| 23 | |
| 24 | // ======================> isa16_ide_device |
| 25 | |
| 26 | class isa8_wd1002a_wx1_device : public device_t, |
| 27 | public device_isa8_card_interface |
| 28 | { |
| 29 | public: |
| 30 | // construction/destruction |
| 31 | isa8_wd1002a_wx1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 32 | |
| 33 | // optional information overrides |
| 34 | virtual const rom_entry *device_rom_region() const; |
| 35 | |
| 36 | protected: |
| 37 | // device-level overrides |
| 38 | virtual void device_start(); |
| 39 | virtual void device_reset(); |
| 40 | }; |
| 41 | |
| 42 | |
| 43 | // device type definition |
| 44 | extern const device_type ISA8_WD1002A_WX1; |
| 45 | |
| 46 | |
| 47 | #endif |