Previous 199869 Revisions Next

r32177 Thursday 18th September, 2014 at 14:19:24 UTC by David Haywood
scroll (nw)
[src/mame/drivers]r2dx_v33.c raiden2.c
[src/mame/includes]raiden2.h

trunk/src/mame/includes/raiden2.h
r32176r32177
11#include "audio/seibu.h"
22#include "machine/raiden2cop.h"
3#include "video/seibu_crtc.h"
34
45class raiden2_state : public driver_device
56{
trunk/src/mame/drivers/raiden2.c
r32176r32177
162162#include "machine/eepromser.h"
163163#include "sound/okim6295.h"
164164#include "includes/raiden2.h"
165#include "video/seibu_crtc.h"
166165
167166
168167void raiden2_state::machine_start()
trunk/src/mame/drivers/r2dx_v33.c
r32176r32177
6666      m_eeprom->di_write((data & 0x20) >> 5);
6767      m_eeprom->cs_write((data & 0x08) ? ASSERT_LINE : CLEAR_LINE);
6868
69      if (data&0xc7) logerror("eeprom_w extra bits used %04x\n",data);
69      if (data&0xc7) printf("eeprom_w extra bits used %04x\n",data);
7070   }
7171   else
7272   {
r32176r32177
162162   AM_RANGE(0x00434, 0x00435) AM_READ(rdx_v33_unknown_r)
163163   AM_RANGE(0x00436, 0x00437) AM_READ(rdx_v33_unknown_r)
164164
165   AM_RANGE(0x00600, 0x0064f) AM_RAM AM_SHARE("crtc_regs")
166   AM_RANGE(0x00650, 0x0068f) AM_RAM //???
165   AM_RANGE(0x00600, 0x0064f) AM_DEVREADWRITE("crtc", seibu_crtc_device, read, write)
166//   AM_RANGE(0x00650, 0x0068f) AM_RAM //???
167167
168   AM_RANGE(0x0068e, 0x0068f) AM_WRITENOP // synch for the MCU?
168//   AM_RANGE(0x0068e, 0x0068f) AM_WRITENOP // synch for the MCU?
169169   AM_RANGE(0x006b0, 0x006b1) AM_WRITE(mcu_prog_w)
170170   AM_RANGE(0x006b2, 0x006b3) AM_WRITE(mcu_prog_w2)
171171//  AM_RANGE(0x006b4, 0x006b5) AM_WRITENOP
172172//  AM_RANGE(0x006b6, 0x006b7) AM_WRITENOP
173173   AM_RANGE(0x006bc, 0x006bd) AM_WRITE(mcu_prog_offs_w)
174   AM_RANGE(0x006be, 0x006bf) AM_WRITENOP // MCU program related
174//   AM_RANGE(0x006be, 0x006bf) AM_WRITENOP // MCU program related
175175
176176   // sprite protection not 100% verified as the same
177177   AM_RANGE(0x006c0, 0x006c1) AM_READWRITE(sprite_prot_off_r, sprite_prot_off_w)
r32176r32177
486486
487487   MCFG_VIDEO_START_OVERRIDE(raiden2_state,raiden2)
488488
489   MCFG_DEVICE_ADD("crtc", SEIBU_CRTC, 0)
490   MCFG_SEIBU_CRTC_LAYER_EN_CB(WRITE16(raiden2_state, tilemap_enable_w))
491   MCFG_SEIBU_CRTC_LAYER_SCROLL_CB(WRITE16(raiden2_state, tile_scroll_w))
492
489493   /* sound hardware */
490494   MCFG_SPEAKER_STANDARD_MONO("mono")
491495
r32176r32177
517521
518522   MCFG_VIDEO_START_OVERRIDE(raiden2_state,raiden2)
519523
524   MCFG_DEVICE_ADD("crtc", SEIBU_CRTC, 0)
525   MCFG_SEIBU_CRTC_LAYER_EN_CB(WRITE16(raiden2_state, tilemap_enable_w))
526   MCFG_SEIBU_CRTC_LAYER_SCROLL_CB(WRITE16(raiden2_state, tile_scroll_w))
527
520528   /* sound hardware */
521529//  SEIBU_SOUND_SYSTEM_YM2151_RAIDEN2_INTERFACE(28636360/8,28636360/28,1,2)
522530   SEIBU_SOUND_SYSTEM_YM3812_INTERFACE(14318180/4,1320000)

Previous 199869 Revisions Next


© 1997-2024 The MAME Team