Previous 199869 Revisions Next

r24569 Tuesday 30th July, 2013 at 06:04:04 UTC by Curt Coder
(MESS) Added skeleton for WD1002A-WX1 hard disk controller card. (nw)
[src/mess]mess.mak
[src/mess/machine]c1571.c c1571.h isa_cards.c isa_cards.h isa_wd1002a_wx1.c* isa_wd1002a_wx1.h*

trunk/src/mess/mess.mak
r24568r24569
797797   $(MESS_MACHINE)/isa_ide8.o   \
798798   $(MESS_MACHINE)/isa_ide_cd.o\
799799   $(MESS_MACHINE)/isa_aha1542.o   \
800   $(MESS_MACHINE)/isa_wd1002a_wx1.o\
800801   $(MESS_VIDEO)/isa_cga.o     \
801802   $(MESS_VIDEO)/isa_svga_cirrus.o \
802803   $(MESS_VIDEO)/isa_ega.o     \
trunk/src/mess/machine/c1571.c
r24568r24569
129129ROM_START( minichief )
130130   ROM_REGION( 0x8000, M6502_TAG, 0 )
131131   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) )
135132ROM_END
136133
137134
r24568r24569
717714//-------------------------------------------------
718715
719716static SLOT_INTERFACE_START( mini_chief_isa8_cards )
720   //SLOT_INTERFACE("wd1002a_wx1", WD1002A_WX1)
717   SLOT_INTERFACE("wd1002a_wx1", ISA8_WD1002A_WX1)
721718SLOT_INTERFACE_END
722719
723720static const isa8bus_interface isabus_intf =
r24568r24569
863860   MCFG_64H156_ADD(C64H156_TAG, XTAL_16MHz, ga_intf)
864861
865862   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)
867864
868865   MCFG_CBM_IEC_SLOT_ADD("iec", cbm_iec_devices, NULL)
869866MACHINE_CONFIG_END
trunk/src/mess/machine/c1571.h
r24568r24569
2525#include "machine/isa.h"
2626#include "machine/mos6526.h"
2727#include "machine/wd_fdc.h"
28#include "machine/isa_wd1002a_wx1.h"
2829
2930
3031
trunk/src/mess/machine/isa_wd1002a_wx1.c
r0r24569
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
18const device_type ISA8_WD1002A_WX1 = &device_creator<isa8_wd1002a_wx1_device>;
19
20
21//-------------------------------------------------
22//  ROM( wd1002a_wx1 )
23//-------------------------------------------------
24
25ROM_START( wd1002a_wx1 )
26   ROM_REGION( 0x2000, "wd1002a_wx1", 0 )
27   ROM_LOAD( "600693-001 type 5.u12", 0x0000, 0x2000, CRC(f3daf85f) SHA1(3bd29538832d3084cbddeec92593988772755283) )
28ROM_END
29
30
31//-------------------------------------------------
32//  rom_region - device-specific ROM region
33//-------------------------------------------------
34
35const 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
49isa8_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
60void isa8_wd1002a_wx1_device::device_start()
61{
62}
63
64
65//-------------------------------------------------
66//  device_reset - device-specific reset
67//-------------------------------------------------
68
69void isa8_wd1002a_wx1_device::device_reset()
70{
71}
Property changes on: trunk/src/mess/machine/isa_wd1002a_wx1.c
Added: svn:mime-type
   + text/plain
Added: svn:eol-style
   + native
trunk/src/mess/machine/isa_wd1002a_wx1.h
r0r24569
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
26class isa8_wd1002a_wx1_device : public device_t,
27                        public device_isa8_card_interface
28{
29public:
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
36protected:
37   // device-level overrides
38   virtual void device_start();
39   virtual void device_reset();
40};
41
42
43// device type definition
44extern const device_type ISA8_WD1002A_WX1;
45
46
47#endif
Property changes on: trunk/src/mess/machine/isa_wd1002a_wx1.h
Added: svn:mime-type
   + text/plain
Added: svn:eol-style
   + native
trunk/src/mess/machine/isa_cards.c
r24568r24569
3434   SLOT_INTERFACE("3c503", EL2_3C503)
3535   SLOT_INTERFACE("lpt", ISA8_LPT)
3636   SLOT_INTERFACE("ibm_mfc", ISA8_IBM_MFC)
37   SLOT_INTERFACE("wd1002a_wx1", ISA8_WD1002A_WX1)
3738SLOT_INTERFACE_END
3839
3940SLOT_INTERFACE_START( pc_isa16_cards )
trunk/src/mess/machine/isa_cards.h
r24568r24569
3232#include "machine/isa_ide8.h"
3333#include "machine/isa_ide_cd.h"
3434#include "machine/isa_aha1542.h"
35#include "machine/isa_wd1002a_wx1.h"
3536
3637// sound
3738#include "machine/isa_adlib.h"

Previous 199869 Revisions Next


© 1997-2024 The MAME Team