summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
authorGravatarGravatar Michaël Banaan Ananas <happppp@users.noreply.github.com>2012-09-12 11:24:00 +0000
committerGravatarGravatar Michaël Banaan Ananas <happppp@users.noreply.github.com>2012-09-12 11:24:00 +0000
commitfe659e80fda65fbc2b40bf3d486c68741c9f5d0d (patch)
tree9e98f8f85a8a5c737393406984d8036c6496881c /src
parent7c33f8b8e70eeb4acad3c27f92a381d00b58537a (diff)
Stadium Hero updated info from Guru
Diffstat (limited to 'src')
-rw-r--r--src/mame/drivers/stadhero.c69
-rw-r--r--src/mame/includes/mcr.h1
2 files changed, 42 insertions, 28 deletions
diff --git a/src/mame/drivers/stadhero.c b/src/mame/drivers/stadhero.c
index 3c10b16d16e..00c36c34291 100644
--- a/src/mame/drivers/stadhero.c
+++ b/src/mame/drivers/stadhero.c
@@ -6,6 +6,18 @@
Are the colours correct on the scoreboard screen? they look strange
+=== PCB Info ===
+
+ The OSC on the CPU board(DE-0303-3) is 20MHz
+ The OSC on the video board(DE-0304-3) is 24MHz
+ 68000 = 20 / 2 (10)
+ 6502 = 24 / 16 (1.5)
+ YM3812 = 24 / 8 (3)
+ YM2203 = 24 / 16 (1.5)
+ M6295 is driven by a 1.056MHz resonator, pin 7 is high
+ HSync = 15.6246kHz
+ VSync = 57.4434Hz
+
***************************************************************************/
#include "emu.h"
@@ -215,11 +227,11 @@ static const ym3812_interface ym3812_config =
static MACHINE_CONFIG_START( stadhero, stadhero_state )
/* basic machine hardware */
- MCFG_CPU_ADD("maincpu", M68000, 10000000)
+ MCFG_CPU_ADD("maincpu", M68000, XTAL_20MHz/2)
MCFG_CPU_PROGRAM_MAP(main_map)
- MCFG_CPU_VBLANK_INT("screen", irq5_line_hold)/* VBL */
+ MCFG_CPU_VBLANK_INT("screen", irq5_line_hold)
- MCFG_CPU_ADD("audiocpu", M6502, 1500000)
+ MCFG_CPU_ADD("audiocpu", M6502, XTAL_24MHz/16)
MCFG_CPU_PROGRAM_MAP(audio_map)
/* video hardware */
@@ -244,51 +256,54 @@ static MACHINE_CONFIG_START( stadhero, stadhero_state )
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
- MCFG_SOUND_ADD("ym1", YM2203, 1500000)
+ MCFG_SOUND_ADD("ym1", YM2203, XTAL_24MHz/16)
MCFG_SOUND_ROUTE(0, "mono", 0.95)
MCFG_SOUND_ROUTE(1, "mono", 0.95)
MCFG_SOUND_ROUTE(2, "mono", 0.95)
MCFG_SOUND_ROUTE(3, "mono", 0.40)
- MCFG_SOUND_ADD("ym2", YM3812, 3000000)
+ MCFG_SOUND_ADD("ym2", YM3812, XTAL_24MHz/8)
MCFG_SOUND_CONFIG(ym3812_config)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.80)
- MCFG_OKIM6295_ADD("oki", 1023924, OKIM6295_PIN7_HIGH) // clock frequency & pin 7 not verified
+ MCFG_OKIM6295_ADD("oki", XTAL_1_056MHz, OKIM6295_PIN7_HIGH)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.80)
MACHINE_CONFIG_END
/******************************************************************************/
ROM_START( stadhero )
- ROM_REGION( 0x20000, "maincpu", 0 ) /* 6*64k for 68000 code */
- ROM_LOAD16_BYTE( "ef15.bin", 0x00000, 0x10000, CRC(bbba364e) SHA1(552096102f402085596635f02096462c6b8e13a7) )
- ROM_LOAD16_BYTE( "ef13.bin", 0x00001, 0x10000, CRC(97c6717a) SHA1(6c81260f49a59f70c71f520e51330a6833828684) )
+ ROM_REGION( 0x20000, "maincpu", 0 ) /* 68000 code */
+ ROM_LOAD16_BYTE( "ef15.9a", 0x00000, 0x10000, CRC(bbba364e) SHA1(552096102f402085596635f02096462c6b8e13a7) )
+ ROM_LOAD16_BYTE( "ef13.4e", 0x00001, 0x10000, CRC(97c6717a) SHA1(6c81260f49a59f70c71f520e51330a6833828684) )
- ROM_REGION( 0x10000, "audiocpu", 0 ) /* 6502 Sound */
- ROM_LOAD( "ef18.bin", 0x8000, 0x8000, CRC(20fd9668) SHA1(058e34a0ebfc372aaa9230c2bc9164ee2e85e217) )
+ ROM_REGION( 0x10000, "audiocpu", 0 ) /* 6502 Sound */
+ ROM_LOAD( "ef18.7f", 0x08000, 0x08000, CRC(20fd9668) SHA1(058e34a0ebfc372aaa9230c2bc9164ee2e85e217) )
ROM_REGION( 0x18000, "gfx1", 0 )
- ROM_LOAD( "ef08.bin", 0x000000, 0x10000, CRC(e84752fe) SHA1(9af2140ddbb44be793ab5b39787bac27f5b1c1f2) ) /* chars */
- ROM_LOAD( "ef09.bin", 0x010000, 0x08000, CRC(2ade874d) SHA1(5c884535214438a4ea79fd262700a346bc12ad81) )
+ ROM_LOAD( "ef08.2j", 0x00000, 0x10000, CRC(e84752fe) SHA1(9af2140ddbb44be793ab5b39787bac27f5b1c1f2) ) /* chars */
+ ROM_LOAD( "ef09.4j", 0x10000, 0x08000, CRC(2ade874d) SHA1(5c884535214438a4ea79fd262700a346bc12ad81) )
ROM_REGION( 0x30000, "gfx2", 0 )
- ROM_LOAD( "ef10.bin", 0x000000, 0x10000, CRC(dca3d599) SHA1(2b97a70065f3065e7fbb54fb53cb120d9e5013b3) ) /* tiles */
- ROM_LOAD( "ef11.bin", 0x010000, 0x10000, CRC(af563e96) SHA1(c88eaff4a1ea133d708f4511bb1dbc99ef066eed) )
- ROM_LOAD( "ef12.bin", 0x020000, 0x10000, CRC(9a1bf51c) SHA1(e733c193b305496878551fc6eefc21587ba75c82) )
+ ROM_LOAD( "ef10.11j", 0x00000, 0x10000, CRC(dca3d599) SHA1(2b97a70065f3065e7fbb54fb53cb120d9e5013b3) ) /* tiles */
+ ROM_LOAD( "ef11.13j", 0x10000, 0x10000, CRC(af563e96) SHA1(c88eaff4a1ea133d708f4511bb1dbc99ef066eed) )
+ ROM_LOAD( "ef12.14j", 0x20000, 0x10000, CRC(9a1bf51c) SHA1(e733c193b305496878551fc6eefc21587ba75c82) )
ROM_REGION( 0x80000, "gfx3", 0 )
- ROM_LOAD( "ef00.bin", 0x000000, 0x10000, CRC(94ed257c) SHA1(caa4a4c8bf3b34d2288e117cfc704cca4c6f913b) ) /* sprites */
- ROM_LOAD( "ef01.bin", 0x010000, 0x10000, CRC(6eb9a721) SHA1(0f9dce614e67e57612e3a4ce187f0f9c12b78281) )
- ROM_LOAD( "ef02.bin", 0x020000, 0x10000, CRC(850cb771) SHA1(ccb54036191674d76965270a5831fba3e62f47c0) )
- ROM_LOAD( "ef03.bin", 0x030000, 0x10000, CRC(24338b96) SHA1(7730486bd0b84ba0a69b5547e348ee0058d4e7f1) )
- ROM_LOAD( "ef04.bin", 0x040000, 0x10000, CRC(9e3d97a7) SHA1(d02722376721caa5d8498f15f16959f42b75e7c1) )
- ROM_LOAD( "ef05.bin", 0x050000, 0x10000, CRC(88631005) SHA1(3c1787fb3aabdd9fecf679b2f4a9f833bf660885) )
- ROM_LOAD( "ef06.bin", 0x060000, 0x10000, CRC(9f47848f) SHA1(e23337684c8999483cbd11d3d953b06c34f13069) )
- ROM_LOAD( "ef07.bin", 0x070000, 0x10000, CRC(8859f655) SHA1(b3d69c5808b3ba7347ddb7f9693499903e9bfe6b) )
-
- ROM_REGION( 0x40000, "oki", 0 ) /* ADPCM samples */
- ROM_LOAD( "ef17.bin", 0x0000, 0x10000, CRC(07c78358) SHA1(ce82b429eec0193fd9665b717336756a514db144) )
+ ROM_LOAD( "ef00.2a", 0x00000, 0x10000, CRC(94ed257c) SHA1(caa4a4c8bf3b34d2288e117cfc704cca4c6f913b) ) /* sprites */
+ ROM_LOAD( "ef01.4a", 0x10000, 0x10000, CRC(6eb9a721) SHA1(0f9dce614e67e57612e3a4ce187f0f9c12b78281) )
+ ROM_LOAD( "ef02.5a", 0x20000, 0x10000, CRC(850cb771) SHA1(ccb54036191674d76965270a5831fba3e62f47c0) )
+ ROM_LOAD( "ef03.7a", 0x30000, 0x10000, CRC(24338b96) SHA1(7730486bd0b84ba0a69b5547e348ee0058d4e7f1) )
+ ROM_LOAD( "ef04.8a", 0x40000, 0x10000, CRC(9e3d97a7) SHA1(d02722376721caa5d8498f15f16959f42b75e7c1) )
+ ROM_LOAD( "ef05.9a", 0x50000, 0x10000, CRC(88631005) SHA1(3c1787fb3aabdd9fecf679b2f4a9f833bf660885) )
+ ROM_LOAD( "ef06.11a", 0x60000, 0x10000, CRC(9f47848f) SHA1(e23337684c8999483cbd11d3d953b06c34f13069) )
+ ROM_LOAD( "ef07.12a", 0x70000, 0x10000, CRC(8859f655) SHA1(b3d69c5808b3ba7347ddb7f9693499903e9bfe6b) )
+
+ ROM_REGION( 0x40000, "oki", 0 ) /* ADPCM samples */
+ ROM_LOAD( "ef17.1e", 0x00000, 0x10000, CRC(07c78358) SHA1(ce82b429eec0193fd9665b717336756a514db144) )
+
+ ROM_REGION( 0x00200, "proms", 0 )
+ ROM_LOAD( "ef19.3d", 0x00000, 0x00200, CRC(852ff668) SHA1(d3053b68f86dcc81c3c3be280f75a4acd0b05be2) ) // ?
ROM_END
/******************************************************************************/
diff --git a/src/mame/includes/mcr.h b/src/mame/includes/mcr.h
index e908f889410..3a7115f6974 100644
--- a/src/mame/includes/mcr.h
+++ b/src/mame/includes/mcr.h
@@ -64,7 +64,6 @@ public:
DECLARE_WRITE8_MEMBER(dpoker_output_w);
DECLARE_WRITE8_MEMBER(dpoker_meters_w);
DECLARE_READ8_MEMBER(kick_ip1_r);
-
DECLARE_WRITE8_MEMBER(wacko_op4_w);
DECLARE_READ8_MEMBER(wacko_ip1_r);
DECLARE_READ8_MEMBER(wacko_ip2_r);