Previous 15994 Revisions Next

r13154 Tuesday 1st November, 2011 at 09:28:38 UTC by Curt Coder
[PC1512] HDC WIP. (nw)
[src/emu/drivers]xtal.h
[src/mess]mess.mak
[src/mess/machine]isa_wdxt_gen.c isa_wdxt_gen.h wd2010.c* wd2010.h*

src/emu/drivers/xtal.h
r13153r13154
169169   XTAL_32_22MHz      = 32220000,      /* Typically used on 90's Data East PCBs */
170170   XTAL_32_5304MHz    = 32530400,      /* Seta 2 */
171171   XTAL_33MHz        = 33000000,      /* Sega Model 3 video board */
172   XTAL_33_04MHz        = 33040000,      /* Western Digital WDXT-GEN */
172173   XTAL_33_333MHz     = 33333000,      /* Sega Model 3 CPU board, Vegas */
173174   XTAL_33_8688MHz    = 33868800,      /* Usually used to drive 90's Yamaha OPL/FM chips with /2 divider */
174175   XTAL_36MHz        = 36000000,      /* Sega Model 1 video board */
src/mess/machine/isa_wdxt_gen.c
r13153r13154
3434
3535    ROM      - Toshiba TMM2464AP 8Kx8 ROM "3"
3636   TMM2016   - Toshiba TMM2016BP-10 2Kx8 SRAM
37   WD1015   - Western Digital WD1015-PL Buffer Manager Control Processor
38   WD11C00   - Western Digital WD11C00L-JT 17-02 PC/XT Host Interface Logic Device
39   WD10C20   - Western Digital WD10C20B-PH 05-05 Self-Adjusting Data Separator
40   WD2010   - Western Digital WD2010A-PL 05-02 Winchester Disk Controller
37   WD1015   - Western Digital WD1015-PL-54-02 Buffer Manager Control Processor
38   WD11C00   - Western Digital WD11C00L-JT-17-02 PC/XT Host Interface Logic Device
39   WD10C20   - Western Digital WD10C20B-PH-05-05 Self-Adjusting Data Separator
40   WD2010   - Western Digital WD2010A-PL-05-02 Winchester Disk Controller
4141   CN1      - 2x17 pin PCB header, control
4242   CN2      - 2x10 pin PCB header, drive 0 data
4343   CN3      - 2x10 pin PCB header, drive 1 data
r13153r13154
4747#include "machine/isa_wdxt_gen.h"
4848
4949
50
5051//**************************************************************************
5152//  MACROS / CONSTANTS
5253//**************************************************************************
5354
55#define WD1015_TAG      "u6"
5456
5557
58
5659//**************************************************************************
5760//  DEVICE DEFINITIONS
5861//**************************************************************************
r13153r13154
6568//-------------------------------------------------
6669
6770ROM_START( wdxt_gen )
71   ROM_REGION( 0x800, WD1015_TAG, 0 )
72   ROM_LOAD( "wd1015-pl-54-02.u6", 0x000, 0x800, NO_DUMP )
73
6874   ROM_REGION( 0x2000, "hdc", 0 )
6975   ROM_LOAD( "3.u13", 0x0000, 0x2000, CRC(fbcb5f91) SHA1(8c22bd664177eb6126f3011eda8c5655fffe0ef2) )
7076ROM_END
r13153r13154
8187
8288
8389//-------------------------------------------------
90//  ADDRESS_MAP( wd1015_mem )
91//-------------------------------------------------
92
93static ADDRESS_MAP_START( wd1015_mem, AS_PROGRAM, 8, wdxt_gen_device )
94   AM_RANGE(0x0000, 0x07ff) AM_ROM AM_REGION(WD1015_TAG, 0)
95ADDRESS_MAP_END
96
97
98//-------------------------------------------------
99//  ADDRESS_MAP( wd1015_io )
100//-------------------------------------------------
101
102static ADDRESS_MAP_START( wd1015_io, AS_IO, 8, wdxt_gen_device )
103ADDRESS_MAP_END
104
105
106//-------------------------------------------------
84107//  MACHINE_DRIVER( wdxt_gen )
85108//-------------------------------------------------
86109
87110static MACHINE_CONFIG_FRAGMENT( wdxt_gen )
111   MCFG_CPU_ADD(WD1015_TAG, I8048, 33040000/10) // ?
112   MCFG_CPU_PROGRAM_MAP(wd1015_mem)
113   MCFG_CPU_IO_MAP(wd1015_io)
114
88115   MCFG_HARDDISK_ADD("harddisk0")
89116   MCFG_HARDDISK_ADD("harddisk1")
90117MACHINE_CONFIG_END
src/mess/machine/wd2010.c
r0r13154
1/**********************************************************************
2 
3    Western Digital WD2010 Winchester Disk Controller
4 
5    Copyright MESS Team.
6    Visit http://mamedev.org for licensing and usage restrictions.
7 
8**********************************************************************/
9 
10#include "machine/wd2010.h"
11 
12 
13 
14//**************************************************************************
15//  MACROS / CONSTANTS
16//**************************************************************************
17 
18 
19 
20 
21//**************************************************************************
22//  DEVICE DEFINITIONS
23//**************************************************************************
24 
25const device_type WD2010 = &device_creator<wd2010_device>;
26 
27 
28 
29//**************************************************************************
30//  LIVE DEVICE
31//**************************************************************************
32 
33//-------------------------------------------------
34//  wd2010_device - constructor
35//-------------------------------------------------
36 
37wd2010_device::wd2010_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
38    : device_t(mconfig, WD2010, "Western Digital WD2010", tag, owner, clock)
39{
40}
41 
42 
43//-------------------------------------------------
44//  device_start - device-specific startup
45//-------------------------------------------------
46 
47void wd2010_device::device_start()
48{
49}
50 
51 
52//-------------------------------------------------
53//  device_reset - device-specific reset
54//-------------------------------------------------
55 
56void wd2010_device::device_reset()
57{
58}
src/mess/machine/isa_wdxt_gen.h
r13153r13154
2222#define ADDRESS_MAP_MODERN
2323
2424#include "emu.h"
25#include "cpu/mcs48/mcs48.h"
2526#include "machine/isa.h"
2627#include "imagedev/harddriv.h"
2728
src/mess/machine/wd2010.h
r0r13154
1/**********************************************************************
2 
3    Western Digital WD2010 Winchester Disk Controller
4 
5    Copyright MESS Team.
6    Visit http://mamedev.org for licensing and usage restrictions.
7 
8**********************************************************************/
9 
10#pragma once
11 
12#ifndef __WD2010__
13#define __WD2010__
14 
15#define ADDRESS_MAP_MODERN
16 
17#include "emu.h"
18 
19 
20 
21//**************************************************************************
22//  TYPE DEFINITIONS
23//**************************************************************************
24 
25// ======================> wd2010_device
26 
27class wd2010_device :   public device_t
28{
29public:
30   // construction/destruction
31   wd2010_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
32 
33protected:
34   // device-level overrides
35   virtual void device_start();
36   virtual void device_reset();
37};
38 
39 
40// device type definition
41extern const device_type WD2010;
42 
43#endif
src/mess/mess.mak
r13153r13154
552552   $(MESS_MACHINE)/terminal.o   \
553553   $(MESS_MACHINE)/teleprinter.o   \
554554   $(MESS_MACHINE)/upd7002.o   \
555   $(MESS_MACHINE)/wd2010.o   \
555556   $(MESS_VIDEO)/dl1416.o      \
556557   $(MESS_VIDEO)/hd44780.o      \
557558   $(MESS_VIDEO)/hd66421.o      \

Previous 15994 Revisions Next


© 1998-2018 The MESS Team