diff options
author | Robbbert <Robbbert@users.noreply.github.com> | 2017-11-30 01:51:52 +1100 |
---|---|---|
committer | Robbbert <Robbbert@users.noreply.github.com> | 2017-11-30 01:51:52 +1100 |
commit | 4f536b2d0dcb7649a02d046d550b7142c0426933 (patch) | |
tree | 85fd37d4feed0b98c965612778bfa0e5ca965868 | |
parent | 57cdf5a9d8e083023630ba461f72d1cc39b4ac89 (diff) |
New Not Working machine : Konami Picno
-rw-r--r-- | scripts/target/mame/mess.lua | 1 | ||||
-rw-r--r-- | src/mame/drivers/altos2.cpp | 2 | ||||
-rw-r--r-- | src/mame/drivers/picno.cpp | 71 | ||||
-rw-r--r-- | src/mame/drivers/sh4robot.cpp | 26 | ||||
-rw-r--r-- | src/mame/mame.lst | 3 | ||||
-rw-r--r-- | src/mame/mess.flt | 1 |
6 files changed, 92 insertions, 12 deletions
diff --git a/scripts/target/mame/mess.lua b/scripts/target/mame/mess.lua index c4dc37b2e4f..1396eac2ec2 100644 --- a/scripts/target/mame/mess.lua +++ b/scripts/target/mame/mess.lua @@ -3559,6 +3559,7 @@ files { MAME_DIR .. "src/mame/drivers/perq.cpp", MAME_DIR .. "src/mame/drivers/pes.cpp", MAME_DIR .. "src/mame/includes/pes.h", + MAME_DIR .. "src/mame/drivers/picno.cpp", MAME_DIR .. "src/mame/drivers/pipbug.cpp", MAME_DIR .. "src/mame/drivers/plan80.cpp", MAME_DIR .. "src/mame/drivers/pm68k.cpp", diff --git a/src/mame/drivers/altos2.cpp b/src/mame/drivers/altos2.cpp index 1c1ee33427c..081872f02cd 100644 --- a/src/mame/drivers/altos2.cpp +++ b/src/mame/drivers/altos2.cpp @@ -99,4 +99,4 @@ ROM_START( altos2 ) ROM_LOAD( "us_v1.1_14410.u34", 0x0000, 0x2000, CRC(0ebb78bf) SHA1(96a1f7d34ff35037cbbc93049c0e2b9c9f11f1db) ) ROM_END -COMP( 198?, altos2, 0, 0, altos2, altos2, altos2_state, 0, "Altos", "Altos II Terminal", MACHINE_IS_SKELETON ) +COMP( 1983, altos2, 0, 0, altos2, altos2, altos2_state, 0, "Altos", "Altos II Terminal", MACHINE_IS_SKELETON ) diff --git a/src/mame/drivers/picno.cpp b/src/mame/drivers/picno.cpp new file mode 100644 index 00000000000..08b088b9c04 --- /dev/null +++ b/src/mame/drivers/picno.cpp @@ -0,0 +1,71 @@ +// license:BSD-3-Clause +// copyright-holders:Robbbert +/****************************************************************************************************************************** + +Konami Picno and Picno2 + +Skeleton driver started on 2017-11-30, can be claimed by anyone interested. + +Information provided by Team Europe. + +Chips: HD6435328F10 (H8/532 CPU with inbuilt ROM), HN62334BP (27c040 ROM), Konami custom chip 054715 (rectangular 100 pins), + HM538121JP-10, M514256B-70J, OKI M6585. +Crystals: D200L2 (Y1) and D214A3 (Y2), frequencies unknown. + +The size of the address space and other things is controlled by the 3 mode pins. It's assumed we are in Mode 4. + +Can't do anything until the internal ROM is dumped. + +******************************************************************************************************************************/ + +#include "emu.h" +#include "cpu/h8/h83002.h" +//#include "sound/multipcm.h" +//#include "screen.h" +//#include "speaker.h" + +class picno_state : public driver_device +{ +public: + picno_state(const machine_config &mconfig, device_type type, const char *tag) + : driver_device(mconfig, type, tag) + , m_maincpu(*this, "maincpu") + { } + +private: + required_device<cpu_device> m_maincpu; +}; + +static ADDRESS_MAP_START( mem_map, AS_PROGRAM, 16, picno_state ) + AM_RANGE(0x00000, 0x07fff) AM_ROM AM_REGION("roms", 0) // 32kb internal rom + AM_RANGE(0x0fb80, 0x0ff7f) AM_RAM // internal ram + AM_RANGE(0x0ff80, 0x0ffff) // internal controls + AM_RANGE(0x10000, 0x8ffff) AM_ROM AM_REGION("roms", 0x8000) // guess +ADDRESS_MAP_END + +static ADDRESS_MAP_START( io_map, AS_IO, 8, picno_state ) +// ADDRESS_MAP_GLOBAL_MASK(0xff) +ADDRESS_MAP_END + +static INPUT_PORTS_START( picno ) +INPUT_PORTS_END + +static MACHINE_CONFIG_START( picno ) + /* basic machine hardware */ + MCFG_CPU_ADD("maincpu", H83002, XTAL_20MHz) /* TODO: correct CPU type (H8/532), crystal is a guess, divided by 2 in the cpu */ + MCFG_CPU_PROGRAM_MAP(mem_map) + MCFG_CPU_IO_MAP(io_map) + + //MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") // no speaker in the unit, but there's a couple of sockets on the back + //MCFG_SOUND_ROUTE(0, "lspeaker", 1.0) + //MCFG_SOUND_ROUTE(1, "rspeaker", 1.0) +MACHINE_CONFIG_END + +ROM_START( picno ) + ROM_REGION(0x88000, "roms", 0) + ROM_LOAD( "hd6435328f10.u5", 0x00000, 0x08000, NO_DUMP ) // internal rom + ROM_LOAD( "hn62334bp.u2", 0x08000, 0x80000, CRC(ae89a9a5) SHA1(51ed458ffd151e19019beb23517263efce4be272) ) +ROM_END + +// YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY FULLNAME FLAGS +CONS( 1993, picno, 0, 0, picno, picno, picno_state, 0, "Konami", "Picno", MACHINE_IS_SKELETON ) diff --git a/src/mame/drivers/sh4robot.cpp b/src/mame/drivers/sh4robot.cpp index 68be2643c8e..a61d47ec513 100644 --- a/src/mame/drivers/sh4robot.cpp +++ b/src/mame/drivers/sh4robot.cpp @@ -2,11 +2,14 @@ // copyright-holders:Miodrag Milanovic /*************************************************************************** - SH4 Robot +SH4 Robot - http://perso.telecom-paristech.fr/~polti/robot/ +http://web.archive.org/web/20131127151413/perso.telecom-paristech.fr/~polti/robot/ - 27/11/2013 Skeleton driver. +Original site died. None of the downloads in the above wayback page work, so fairly useless. + + +2013-11-27 Skeleton driver. 0x0000 0000 - 0x7FFF FFFF : P0 area, cachable @@ -34,15 +37,16 @@ class sh4robot_state : public driver_device { public: sh4robot_state(const machine_config &mconfig, device_type type, const char *tag) - : driver_device(mconfig, type, tag), - m_maincpu(*this, "maincpu") { } - + : driver_device(mconfig, type, tag) + , m_maincpu(*this, "maincpu") + { } +private: required_device<cpu_device> m_maincpu; }; -static ADDRESS_MAP_START(sh4robot_mem, AS_PROGRAM, 64, sh4robot_state) +static ADDRESS_MAP_START( mem_map, AS_PROGRAM, 64, sh4robot_state ) ADDRESS_MAP_UNMAP_HIGH AM_RANGE(0x00000000, 0x00000fff) AM_ROM AM_RANGE(0x08000000, 0x08ffffff) AM_RAM // SDRAM 1 @@ -50,7 +54,7 @@ static ADDRESS_MAP_START(sh4robot_mem, AS_PROGRAM, 64, sh4robot_state) AM_RANGE(0xa0000000, 0xa0000fff) AM_ROM AM_REGION("maincpu", 0) ADDRESS_MAP_END -static ADDRESS_MAP_START( sh4robot_io, AS_IO, 64, sh4robot_state ) +static ADDRESS_MAP_START( io_map, AS_IO, 64, sh4robot_state ) ADDRESS_MAP_UNMAP_HIGH ADDRESS_MAP_END @@ -70,8 +74,8 @@ static MACHINE_CONFIG_START( sh4robot ) MCFG_SH4_MD7(1) MCFG_SH4_MD8(0) MCFG_SH4_CLOCK(200000000) - MCFG_CPU_PROGRAM_MAP(sh4robot_mem) - MCFG_CPU_IO_MAP(sh4robot_io) + MCFG_CPU_PROGRAM_MAP(mem_map) + MCFG_CPU_IO_MAP(io_map) MCFG_CPU_FORCE_NO_DRC() MACHINE_CONFIG_END @@ -91,4 +95,4 @@ ROM_END /* Driver */ // YEAR NAME PARENT COMPAT MACHINE INPUT STATE INIT COMPANY FULLNAME FLAGS -COMP( 20??, sh4robot, 0, 0, sh4robot, sh4robot, sh4robot_state, 0, "<unknown>", "Robot", MACHINE_NOT_WORKING | MACHINE_NO_SOUND ) +COMP( 20??, sh4robot, 0, 0, sh4robot, sh4robot, sh4robot_state, 0, "<unknown>", "Robot", MACHINE_IS_SKELETON_MECHANICAL ) diff --git a/src/mame/mame.lst b/src/mame/mame.lst index 92b75cdc74e..e1c5378941f 100644 --- a/src/mame/mame.lst +++ b/src/mame/mame.lst @@ -31351,6 +31351,9 @@ photoply // @source:phunsy.cpp phunsy // +@source:picno.cpp +picno // Konami Picno (1993) + @source:piggypas.cpp 3lilpigs // dumpump // diff --git a/src/mame/mess.flt b/src/mame/mess.flt index 10842fcac1d..d1759860f8e 100644 --- a/src/mame/mess.flt +++ b/src/mame/mess.flt @@ -508,6 +508,7 @@ phc25.cpp phunsy.cpp pimps.cpp pipbug.cpp +picno.cpp pitagjr.cpp pk8000.cpp pk8020.cpp |