summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/mame/drivers/chsuper.cpp74
-rw-r--r--src/mame/mame.lst7
2 files changed, 74 insertions, 7 deletions
diff --git a/src/mame/drivers/chsuper.cpp b/src/mame/drivers/chsuper.cpp
index 226cf66514d..6f7f5349119 100644
--- a/src/mame/drivers/chsuper.cpp
+++ b/src/mame/drivers/chsuper.cpp
@@ -8,13 +8,14 @@
Addittional work by Roberto Fresca.
Notes:
- - To init chsuper3, just soft-reset and keep pressed both service keys (9 & 0)
+ - To init chsuper3, chmpnum & chmpnuma, just keep pressed both service keys (9 & 0),
+ and do a soft-reset (F3).
TODO:
- sound.
- ticket dispenser.
- Trace the hold3 lamp line on the pcb,
- for a properly implementation.
+ for a proper implementation.
*******************************************************************************************/
@@ -63,6 +64,10 @@ public:
+/***************************
+* Video Hardware *
+***************************/
+
void chsuper_state::video_start()
{
m_vram = make_unique_clear<UINT8[]>(1 << 14);
@@ -188,6 +193,10 @@ WRITE8_MEMBER( chsuper_state::chsuper_outportb_w ) // Port EFh
}
+/***************************
+* Memory Map handlers *
+***************************/
+
static ADDRESS_MAP_START( chsuper_prg_map, AS_PROGRAM, 8, chsuper_state )
AM_RANGE(0x00000, 0x0efff) AM_ROM
AM_RANGE(0x00000, 0x01fff) AM_WRITE( chsuper_vram_w )
@@ -246,6 +255,10 @@ ADDRESS_MAP_END
*/
+/***************************
+* Input Ports definition *
+***************************/
+
static INPUT_PORTS_START( chsuper )
PORT_START("IN0")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_Q) PORT_NAME("IN0-1")
@@ -305,6 +318,10 @@ static INPUT_PORTS_START( chsuper )
INPUT_PORTS_END
+/*****************************
+* Graphics Decode Routines *
+*****************************/
+
static const gfx_layout charlayout =
{
4,8,
@@ -325,6 +342,10 @@ static ADDRESS_MAP_START( ramdac_map, AS_0, 8, chsuper_state )
ADDRESS_MAP_END
+/***************************
+* Machine Drivers *
+***************************/
+
static MACHINE_CONFIG_START( chsuper, chsuper_state )
/* basic machine hardware */
@@ -357,8 +378,9 @@ static MACHINE_CONFIG_START( chsuper, chsuper_state )
MACHINE_CONFIG_END
-/* ROM Regions definition
- */
+/***************************
+* ROM Regions definition *
+***************************/
ROM_START( chsuper3 )
ROM_REGION( 0x80000, "maincpu", 0 )
@@ -396,6 +418,49 @@ ROM_START( chmpnum )
ROM_COPY( "maincpu", 0x10000, 0x00000, 0x70000 )
ROM_END
+/*
+ Champion Number (v0.67)
+ Year: 1999
+
+ CPUs
+ 1x Z8018006VSC (8-bit Microprocessor).
+ 1x TDA2003 (Audio Amplifier).
+ 1x oscillator 16.000 (xt1).
+
+ ROMs
+ 1x M27C4001 (3) dumped.
+ 2x TMS27C040 (1, 2) dumped.
+
+ RAMs
+ 2x ZMDU6264ADC-07LL.
+ 1x ADV476KP50.
+
+ PLDs
+ 1x XC9572-PC84AKJ (read protected).
+ 1x XC9536-PC44ASJ (read protected).
+
+ Others
+ 1x 28x2 edge connector.
+ 1x trimmer (volume).
+ 1x battery (3,6V).
+
+*/
+ROM_START( chmpnuma )
+ ROM_REGION( 0x80000, "maincpu", 0 ) // code + samples
+ ROM_LOAD( "c.n.v.6.7.ic11", 0x00000, 0x80000, CRC(11a8cfcc) SHA1(a8ac6cea23841df55d636f48e4071ea4ed16119b) )
+
+ ROM_REGION( 0x100000, "gfx1", 0 )
+ ROM_LOAD( "c.number_1.ic18", 0x00000, 0x80000, CRC(8e202eaa) SHA1(156b498873111e5890c00d447201ba4bcbe6e633) )
+ ROM_LOAD( "c.number_2.ic19", 0x80000, 0x80000, CRC(dc0790b0) SHA1(4550f85e609338635a3987f7832517ed1d6388d4) )
+
+ ROM_REGION( 0x80000, "adpcm", 0 )
+ ROM_COPY( "maincpu", 0x10000, 0x00000, 0x70000 )
+ROM_END
+
+
+/*************************
+* Driver Init *
+*************************/
DRIVER_INIT_MEMBER(chsuper_state,chsuper2)
{
@@ -476,3 +541,4 @@ DRIVER_INIT_MEMBER(chsuper_state,chmpnum)
GAMEL( 1999, chsuper3, 0, chsuper, chsuper, chsuper_state, chsuper3, ROT0, "<unknown>", "Champion Super 3 (V0.35)", MACHINE_IMPERFECT_SOUND, layout_chsuper ) //24/02/99
GAMEL( 1999, chsuper2, chsuper3, chsuper, chsuper, chsuper_state, chsuper2, ROT0, "<unknown>", "Champion Super 2 (V0.13)", MACHINE_IMPERFECT_SOUND, layout_chsuper ) //26/01/99
GAME( 1999, chmpnum, chsuper3, chsuper, chsuper, chsuper_state, chmpnum, ROT0, "<unknown>", "Champion Number (V0.74)", MACHINE_IMPERFECT_SOUND ) //10/11/99
+GAME( 1999, chmpnuma, chsuper3, chsuper, chsuper, chsuper_state, chmpnum, ROT0, "<unknown>", "Champion Number (V0.67)", MACHINE_IMPERFECT_SOUND ) //21/10/99
diff --git a/src/mame/mame.lst b/src/mame/mame.lst
index ceb7214860b..a8066aa9489 100644
--- a/src/mame/mame.lst
+++ b/src/mame/mame.lst
@@ -9382,9 +9382,10 @@ chqflag // GX717 (c) 1988
chqflagj // GX717 (c) 1988 (Japan)
@source:chsuper.cpp
-chmpnum // unknown
-chsuper2 // unknown
-chsuper3 // unknown
+chsuper2 // 1999, unknown
+chsuper3 // 1999, unknown
+chmpnum // 1999, unknown
+chmpnuma // 1999, unknown
@source:cidelsa.cpp
altair // (c) 1981 Cidelsa