From 16cef70dc658d4d76b6dbf05db50d500b0fcf466 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Banaan=20Ananas?= Date: Thu, 27 Sep 2012 15:18:46 +0000 Subject: [PATCH] rm misplaced irem head on pcb info, it already is on top of the m10.c driver where it belongs --- src/emu/drivers/xtal.h | 2 +- src/mame/drivers/m10.c | 15 ++++++ src/mame/drivers/vicdual.c | 92 +++++++------------------------------ src/mame/includes/vicdual.h | 15 ------ 4 files changed, 32 insertions(+), 92 deletions(-) diff --git a/src/emu/drivers/xtal.h b/src/emu/drivers/xtal.h index 75bc11e497e..53cb972206c 100644 --- a/src/emu/drivers/xtal.h +++ b/src/emu/drivers/xtal.h @@ -126,7 +126,7 @@ enum XTAL_14_7456MHz = 14745600, /* Namco System 12 & System Super 22/23 for H8/3002 CPU */ XTAL_15MHz = 15000000, /* Sinclair QL */ XTAL_15_36MHz = 15360000, /* Visual 1050 */ - XTAL_15_468MHz = 15468000, /* Bank Panic h/w, Sega G80 */ + XTAL_15_468MHz = 15468480, /* Bank Panic h/w, Sega G80 */ XTAL_16MHz = 16000000, /* Extremely common, used on 100's of PCBs */ XTAL_16_9344MHz = 16934400, /* Usually used to drive 90's Yamaha OPL/FM chips */ XTAL_17_36MHz = 17360000, /* OMTI Series 10 SCSI controller */ diff --git a/src/mame/drivers/m10.c b/src/mame/drivers/m10.c index 4f45aae9f2b..de56aeac3e1 100644 --- a/src/mame/drivers/m10.c +++ b/src/mame/drivers/m10.c @@ -754,6 +754,21 @@ static INPUT_PORTS_START( headoni ) PORT_DIPSETTING ( 0x10, "1 Coin 1 Play" ) PORT_DIPSETTING ( 0x20, "1 Coin 2 Plays" ) +// PORT_START("VR1") +// PORT_ADJUSTER( 50, "Car Rumble Volume" ) + +// PORT_START("VR2") +// PORT_ADJUSTER( 50, "Collision Volume" ) + +// PORT_START("VR3") +// PORT_ADJUSTER( 50, "Tire Screech Volume" ) + +// PORT_START("VR4") +// PORT_ADJUSTER( 50, "Score Counter Volume" ) + +// PORT_START("VR5") +// PORT_ADJUSTER( 50, "Master Volume" ) + PORT_START("FAKE") PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_CHANGED_MEMBER(DEVICE_SELF, m10_state,coin_inserted, 0) diff --git a/src/mame/drivers/vicdual.c b/src/mame/drivers/vicdual.c index 7646c3631f0..88de841d9e3 100644 --- a/src/mame/drivers/vicdual.c +++ b/src/mame/drivers/vicdual.c @@ -52,6 +52,22 @@ #include "depthch.lh" +#define VICDUAL_MASTER_CLOCK (XTAL_15_468MHz) +#define VICDUAL_MAIN_CPU_CLOCK (VICDUAL_MASTER_CLOCK/8) +#define VICDUAL_PIXEL_CLOCK (VICDUAL_MASTER_CLOCK/3) + +#define VICDUAL_HTOTAL (0x148) +#define VICDUAL_HBEND (0x000) +#define VICDUAL_HBSTART (0x100) +#define VICDUAL_HSSTART (0x110) +#define VICDUAL_HSEND (0x130) +#define VICDUAL_VTOTAL (0x106) +#define VICDUAL_VBEND (0x000) +#define VICDUAL_VBSTART (0x0e0) +#define VICDUAL_VSSTART (0x0ec) +#define VICDUAL_VSEND (0x0f0) + + /************************************* * @@ -2515,82 +2531,6 @@ ROM_START( sspaceatc ) ROM_LOAD( "316-0042.u66", 0x0020, 0x0020, CRC(a1506b9d) SHA1(037c3db2ea40eca459e8acba9d1506dd28d72d10) ) /* sequence PROM */ ROM_END - -/* -Head On -Irem, 1979? / 1980? - -PCB Layout ----------- - - M-15L - |---------------------------------------------------------------------------------| - | | - | DSW(8) 74175 74175 7400 74LS08 74121 M53214 |-------| E1.9A | - | | 6502 | | - | 7432 74175 7404 7427 7442 74LS241 |-------| | - | E2.9B | - | | - | 74LS74 7432 74161 74161 7442 74LS241 74LS367 74LS367 | - |-| E3.9C | - | M53214 74LS367 7442 7486 8216 2114 74LS157 74LS367 | - | | - |4 M53214 74LS367 74161 7486 8216 2114 74LS157 2111 E4.9D | - |4 | - |W M53214 74LS367 74161 7486 8216 2114 74LS157 2111 | - |A E5.9F | - |Y M53214 74LS367 74161 7486 8216 74166 2114 74LS157 | - | 11.73MHz | - | 7400 7432 7404 74161 8216 74166 2114 74LS157 E6.9G | - |-| | - | VR3 VR2 VR1 7432 7404 7400 *74173 7400 74LS139 74LS157 | - | *74S04 | - | | - |---------------------------------------------------------------------------------| -Notes: - All IC's are listed - All ROMs type 2708 (1K x8) - - 6502 clock: 733.125kHz (11.73 /16) - *: These 2 IC's piggybacked. 74S04 on top - VR1/2/3: 5K potentiometers, controls RGB saturation levels - 2114: 1K x4 SRAM - 2111: 256bytes x4 SRAM - 8216: 256bytes x1 SRAM - -Sound PCB ---------- - -M-15S -|---------------------------| -| | -| NE555 NE555 | -| | -| NE555 NE555 | -| LM3900 VR1| -| | -| C1815x9 VR2| -| | -| LM3900 VR3| -| | -| VR4| -| | -| VR5| -| TA7222 | -|---------------------------| -Notes: - PCB contains lots of resistors, capacitors, transistors etc. - - VR1/2/3/4/5: Potentiometers for volume of each sound - VR1 - Car rumble - VR2 - Collision bang - VR3 - Tire screech (when changing lanes) - VR4 - Score counter (numbers incrementing etc) - VR5 - Master volume - C1815: Transistor (x9) - TA7222: Power Amp -*/ - ROM_START( headon ) ROM_REGION( 0x10000, "maincpu", 0 ) ROM_LOAD( "316-163a.u27", 0x0000, 0x0400, CRC(4bb51259) SHA1(43411ffda3fe03b1d694f70791b0bab5786759c0) ) diff --git a/src/mame/includes/vicdual.h b/src/mame/includes/vicdual.h index 363f60b3c23..b8c923b32d4 100644 --- a/src/mame/includes/vicdual.h +++ b/src/mame/includes/vicdual.h @@ -7,21 +7,6 @@ #include "sound/discrete.h" -#define VICDUAL_MASTER_CLOCK (15468480) -#define VICDUAL_MAIN_CPU_CLOCK (VICDUAL_MASTER_CLOCK/8) -#define VICDUAL_PIXEL_CLOCK (VICDUAL_MASTER_CLOCK/3) -#define VICDUAL_HTOTAL (0x148) -#define VICDUAL_HBEND (0x000) -#define VICDUAL_HBSTART (0x100) -#define VICDUAL_HSSTART (0x110) -#define VICDUAL_HSEND (0x130) -#define VICDUAL_VTOTAL (0x106) -#define VICDUAL_VBEND (0x000) -#define VICDUAL_VBSTART (0x0e0) -#define VICDUAL_VSSTART (0x0ec) -#define VICDUAL_VSEND (0x0f0) - - class vicdual_state : public driver_device { public: