From 5e779667e637f6b35b72d6310a7e630437a5dcbb Mon Sep 17 00:00:00 2001 From: Ivan Vangelista Date: Tue, 18 Apr 2023 18:09:30 +0200 Subject: [PATCH] New systems marked not working ------------------------------ Shamisen Brothers Vol 1 [angeryer] unknown AnyWorks / Sega medal game bios [Mr. CAST, Smitdogg, The Dumping Union] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit New clones marked not working ----------------------------- Strikers 1945 III (World) / Strikers 1999 (Japan) (bootleg, set 2) [twistedsymphony] Teenage Mutant Ninja Turtles (A 0.7 VUK Prototype) [Matt’s Basement Arcade] --- src/mame/mame.lst | 8 +++ src/mame/misc/shambros.cpp | 110 +++++++++++++++++++++++++++++++++ src/mame/pinball/de_3.cpp | 15 +++++ src/mame/psikyo/psikyosh.cpp | 53 +++++++++++++++- src/mame/psikyo/psikyosh.h | 8 ++- src/mame/sega/anyworks.cpp | 115 +++++++++++++++++++++++++++++++++++ 6 files changed, 304 insertions(+), 5 deletions(-) create mode 100644 src/mame/misc/shambros.cpp create mode 100644 src/mame/sega/anyworks.cpp diff --git a/src/mame/mame.lst b/src/mame/mame.lst index 7a8a81d4cb0..64f689928f1 100755 --- a/src/mame/mame.lst +++ b/src/mame/mame.lst @@ -31262,6 +31262,9 @@ version4v // (c) 2006 Amcoe version4v2 // (c) 2006 Amcoe version4v3 // (c) 2006 Amcoe +@source:misc/shambros.cpp +shambros + @source:misc/shangkid.cpp chinhero // (c) 1984 Taiyo chinhero2 // (c) 1984 Taiyo @@ -35752,6 +35755,7 @@ tmnt_101 // tmnt_103 // tmnt_104 // tmnt_104g // +tmnt_a07 // tomy_102 // tomy_102be // tomy_300h // @@ -37601,6 +37605,7 @@ mjgtaste // (c) 2002 s1945ii // (c) 1997 s1945iii // (c) 1999 s1945iiibl // bootleg +s1945iiibla // bootleg sbomber // (c) 1998 sbombera // (c) 1998 soldivid // (c) 1997 @@ -38032,6 +38037,9 @@ st1714 // angelkds // 833-6599 (c) 1988 Sega / Nasco? spcpostn // (c) 1986 Sega / Nasco +@source:sega/anyworks.cpp +unkanyw + @source:sega/bingoc.cpp bingoc // (c) 1989 Sega diff --git a/src/mame/misc/shambros.cpp b/src/mame/misc/shambros.cpp new file mode 100644 index 00000000000..3370380c066 --- /dev/null +++ b/src/mame/misc/shambros.cpp @@ -0,0 +1,110 @@ +// license:BSD-3-Clause +// copyright-holders: + +/* +Kato's STV01 MainPCB Rev. C + + +Only known game: Shamisen Brothers Vol 1 (2003) +The game was also ported for Namco System 10 + +The dumper only had the CD-ROM. +A low quality picture of the PCB found on the internet shows: +- M68K-based processor +- program ROM +- multiple flash chips +- 3 FPGAs +- Mitsumi CD drive + +TODO: only a placeholder for the CD dump for now +*/ + +#include "emu.h" + +#include "cpu/m68000/m68000.h" + +#include "emupal.h" +#include "screen.h" +#include "speaker.h" + + +namespace { + +class shambros_state : public driver_device +{ +public: + shambros_state(const machine_config &mconfig, device_type type, const char *tag) + : driver_device(mconfig, type, tag) + {} + + void shambros(machine_config &config) ATTR_COLD; + +private: + uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); +}; + + +uint32_t shambros_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) +{ + return 0; +} + + +static INPUT_PORTS_START( shambros ) + PORT_START("IN0") + PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) + PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) + PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) + PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) + PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) + PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) + PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) + PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) + + PORT_START("IN1") + PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) + PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) + PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) + PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) + PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) + PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) + PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) + PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) + + // no dips on PCB +INPUT_PORTS_END + + +void shambros_state::shambros(machine_config &config) +{ + M68000(config, "maincpu", 12'000'000); // exact type not known, XTAL unreadable + + // all wrong + screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER)); + screen.set_refresh_hz(60); + screen.set_vblank_time(ATTOSECONDS_IN_USEC(0)); + screen.set_size(64*8, 32*8); + screen.set_visarea_full(); + screen.set_screen_update(FUNC(shambros_state::screen_update)); + screen.set_palette("palette"); + + PALETTE(config, "palette").set_entries(0x100); // wrong + + SPEAKER(config, "mono").front_center(); +} + + +ROM_START( shambros ) + ROM_REGION(0x20000, "maincpu", 0) + ROM_LOAD( "g112 v1.01.prg", 0x00000, 0x20000, NO_DUMP ) // actual size unknown + + // numerous undumped flash ROMs + + DISK_REGION( "cdrom" ) + DISK_IMAGE( "sb01-100", 0, SHA1(abd1d61871bcb4635acc691e35ec386823763ba2) ) +ROM_END + +} // anonymous namespace + + +GAME( 2003, shambros, 0, shambros, shambros, shambros_state, empty_init, ROT0, "Kato's", "Shamisen Brothers Vol 1", MACHINE_IS_SKELETON ) diff --git a/src/mame/pinball/de_3.cpp b/src/mame/pinball/de_3.cpp index 96fa4107610..85d1d184b3b 100644 --- a/src/mame/pinball/de_3.cpp +++ b/src/mame/pinball/de_3.cpp @@ -1429,6 +1429,20 @@ ROM_START(tmnt_101) ROM_LOAD("tmntf4.rom", 0x20000, 0x20000, CRC(6c38cd84) SHA1(bbe8797fe1622cb8f0842c4d7159760fed080880)) ROM_END +ROM_START(tmnt_a07) + ROM_REGION(0x10000, "maincpu", 0) + ROM_LOAD("tmntb5a.007", 0x4000, 0x4000, CRC(7314f444) SHA1(e18c46009b90d8671a1f15542eb882f391bd57db)) + ROM_LOAD("tmntc5a.007", 0x8000, 0x8000, CRC(f0ec9ac0) SHA1(c7c70c1185dffa725fbba09aa1c5ea52cabbc4a5)) + ROM_REGION(0x20000, "dmdcpu", 0) + ROM_LOAD("tmntdsp16.491", 0x00000, 0x10000, CRC(6ed5744e) SHA1(7d02ed19d3bc479386c58282826a3dc06999307f)) + ROM_RELOAD(0x10000, 0x10000) + ROM_REGION(0x10000, "audiocpu", 0) + ROM_LOAD("tmntf7.rom", 0x8000, 0x8000, CRC(59ba0153) SHA1(e7b02a656c67a0d866020a60ee90e30bef77f67f)) + ROM_REGION(0x40000, "sound1", 0) + ROM_LOAD("tmntf6.rom", 0x00000, 0x20000, CRC(5668d45a) SHA1(65766cb47791ec0a2243015d487f1156a2819fe6)) + ROM_LOAD("tmntf4.rom", 0x20000, 0x20000, CRC(6c38cd84) SHA1(bbe8797fe1622cb8f0842c4d7159760fed080880)) +ROM_END + /*------------------------------------------------------------- / The Who's Tommy Pinball Wizard - CPU Rev 3b /DMD Type 2 512K Rom - 64K CPU Rom /------------------------------------------------------------*/ @@ -2064,6 +2078,7 @@ GAME(1991, tmnt_104, 0, de_3_dmdo, de3, de_3_state, empty_init, ROT GAME(1991, tmnt_104g, tmnt_104, de_3_dmdo, de3, de_3_state, empty_init, ROT0, "Data East", "Teenage Mutant Ninja Turtles (Germany 1.04, display A1.04)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE ) // T.M.N.T. GERMANY 1.04. GAME(1991, tmnt_103, tmnt_104, de_3_dmdo, de3, de_3_state, empty_init, ROT0, "Data East", "Teenage Mutant Ninja Turtles (1.03)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE ) // T.M.N.T. A 1.03 GAME(1991, tmnt_101, tmnt_104, de_3_dmdo, de3, de_3_state, empty_init, ROT0, "Data East", "Teenage Mutant Ninja Turtles (1.01)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE ) // T.M.N.T. A 1.01 +GAME(1991, tmnt_a07, tmnt_104, de_3_dmdo, de3, de_3_state, empty_init, ROT0, "Data East", "Teenage Mutant Ninja Turtles (A 0.7 VUK prototype)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE ) // T.M.N.T. A 0.7 VUK GAME(1994, tomy_400, 0, de_3_dmd2, de3, de_3_state, empty_init, ROT0, "Data East", "The Who's Tommy Pinball Wizard (USA 4.00, display A4.00)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE ) // TOMMY APRIL 6, 1994 USA CPU 4.00. DISPLAY VERSION- TOMMY A4.00 MAY 5, 1994 GAME(1994, tomy_301g, tomy_400, de_3_dmd2, de3, de_3_state, empty_init, ROT0, "Data East", "The Who's Tommy Pinball Wizard (German 3.01, display G3.00)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE ) // TOMMY MARCH 22, 1994 GERMAN CPU 3.01. DISPLAY VERSION- TOMMY G3.00 FEBRUARY 16, 1994 GAME(1994, tomy_300h, tomy_400, de_3_dmd2, de3, de_3_state, empty_init, ROT0, "Data East", "The Who's Tommy Pinball Wizard (Dutch 3.00, display A3.00)", MACHINE_IS_SKELETON_MECHANICAL | MACHINE_SUPPORTS_SAVE ) // TOMMY FEBRUARY 16, 1994 DUTCH CPU 3.00. DISPLAY VERSION- TOMMY A3.00 FEBRUARY 15, 1994 diff --git a/src/mame/psikyo/psikyosh.cpp b/src/mame/psikyo/psikyosh.cpp index c80b7a2b7e4..52e620ea258 100644 --- a/src/mame/psikyo/psikyosh.cpp +++ b/src/mame/psikyo/psikyosh.cpp @@ -581,6 +581,19 @@ void psikyosh_state::s1945iiibl_map(address_map &map) map(0x05000000, 0x0507ffff).rom().region("maincpu", 0x200000); // data ROM } +void psikyosh_state::s1945iiibla_map(address_map &map) +{ + ps5_map(map); + + map(0x04003000, 0x040031ff).ram().share("zoomram"); + map(0x04030000, 0x040301ff).ram(); // fails RAM test otherwise + map(0x04053fdc, 0x04053fdf).nopr().w(FUNC(psikyosh_state::irqctrl_w)); + map(0x04053fe0, 0x04053fff).ram().w(FUNC(psikyosh_state::vidregs_w)).share("vidregs"); + map(0x0405ffdc, 0x0405ffdf).unmaprw(); + map(0x0405ffe0, 0x0405ffff).unmaprw(); +} + + static INPUT_PORTS_START( common ) PORT_START("INPUTS") PORT_BIT( 0x00000001, IP_ACTIVE_LOW, IPT_COIN1 ) @@ -785,7 +798,7 @@ static INPUT_PORTS_START( mjgtaste ) PORT_CONFSETTING( 0x00000000, DEF_STR( Joystick ) ) PORT_CONFSETTING( 0x00000001, "Mahjong Panel" ) - PORT_START("MAHJONG") /* articifial enumeration for mahjong encoder */ + PORT_START("MAHJONG") /* artificial enumeration for mahjong encoder */ PORT_BIT( 0x00000001, IP_ACTIVE_HIGH, IPT_MAHJONG_A ) PORT_PLAYER(1) PORT_BIT( 0x00000002, IP_ACTIVE_HIGH, IPT_MAHJONG_B ) PORT_PLAYER(1) PORT_BIT( 0x00000004, IP_ACTIVE_HIGH, IPT_MAHJONG_C ) PORT_PLAYER(1) @@ -887,6 +900,16 @@ void psikyosh_state::s1945iiibl(machine_config &config) // TODO: this uses a YMF268-F sound chip. Seems compatible with YMF278B but verify if it has differences. } +void psikyosh_state::s1945iiibla(machine_config &config) +{ + psikyo5(config); + + /* basic machine hardware */ + m_maincpu->set_addrmap(AS_PROGRAM, &psikyosh_state::s1945iiibla_map); + + // TODO: this uses a YMF268-F sound chip. Seems compatible with YMF278B but verify if it has differences. +} + /* PS3 */ ROM_START( soldivid ) @@ -1137,6 +1160,29 @@ ROM_START( s1945iiibl ) // BM1045 PCB - has HD6417098 CPU + YMF268-F sound chip ROM_LOAD( "eeprom-s1945iii.bin", 0x0000, 0x0100, CRC(b39f3604) SHA1(d7c66210598096fcafb20adac2f0b293755f4926) ) ROM_END +ROM_START( s1945iiibla ) // SK000420 PCB + ROM_REGION( 0x180000, "maincpu", ROMREGION_ERASE00 ) + ROM_LOAD32_WORD_SWAP( "u3", 0x000002, 0x080000, CRC(c111ed1a) SHA1(45125287641373f7b9184846de9b4b9262cbf602) ) + ROM_LOAD32_WORD_SWAP( "u1", 0x000000, 0x080000, CRC(f67016d0) SHA1(3b52690c450524d54a0c74639049f1b648b6ceb9) ) + ROM_LOAD16_WORD_SWAP( "u2", 0x100000, 0x080000, CRC(4922685b) SHA1(9af39abeed55459981d6dd74aaeff35293c66892) ) + + ROM_REGION( 0x3800000, "gfx1", 0 ) // not dumped for this bootleg + ROM_LOAD32_WORD( "0l.u3", 0x0000000, 0x800000, BAD_DUMP CRC(70a0d52c) SHA1(c9d9534da59123b577dc22020273b94ccdeeb67d) ) + ROM_LOAD32_WORD( "0h.u10", 0x0000002, 0x800000, BAD_DUMP CRC(4dcd22b4) SHA1(2df7a7d08df17d2a62d574fccc8ba40aaae21a13) ) + ROM_LOAD32_WORD( "1l.u4", 0x1000000, 0x800000, BAD_DUMP CRC(de1042ff) SHA1(468f6dfd5c1f2084c573b6851e314ff2826dc350) ) + ROM_LOAD32_WORD( "1h.u11", 0x1000002, 0x800000, BAD_DUMP CRC(b51a4430) SHA1(b51117591b0e351e922f9a6a7930e8b50237e54e) ) + ROM_LOAD32_WORD( "2l.u5", 0x2000000, 0x800000, BAD_DUMP CRC(23b02dca) SHA1(0249dceca02b312301a917d98fac481b6a0a9122) ) + ROM_LOAD32_WORD( "2h.u12", 0x2000002, 0x800000, BAD_DUMP CRC(9933ab04) SHA1(710e6b20e111c1898666b4466554d039309883cc) ) + ROM_LOAD32_WORD( "3l.u6", 0x3000000, 0x400000, BAD_DUMP CRC(f693438c) SHA1(d70e25a3f56aae6575c696d9b7b6d7a9d04f0104) ) + ROM_LOAD32_WORD( "3h.u13", 0x3000002, 0x400000, BAD_DUMP CRC(2d0c334f) SHA1(74d94abb34484c7b79dbb989645f53124e53e3b7) ) + + ROM_REGION( 0x400000, "ymf", 0 ) // not dumped for this bootleg + ROM_LOAD( "sound.u9", 0x000000, 0x400000, BAD_DUMP CRC(c5374beb) SHA1(d13e12cbd249246d953c45bb3bfa576a0ec75595) ) + + ROM_REGION( 0x100, "eeprom", 0 ) + ROM_LOAD( "eeprom-s1945iii.bin", 0x0000, 0x0100, CRC(b39f3604) SHA1(d7c66210598096fcafb20adac2f0b293755f4926) ) +ROM_END + /* PS5v2 */ ROM_START( dragnblz ) @@ -1333,7 +1379,7 @@ void psikyosh_state::init_s1945iiibl() { m_maincpu->sh2drc_set_options(SH2DRC_FASTEST_OPTIONS); m_maincpu->sh2drc_add_fastram(0x04000000, 0x0400ffff, 0, &m_spriteram[0]); - //m_maincpu->sh2drc_add_fastram(0x04003000, 0x040031ff, 0, &m_zoomram[0]); // zoomram is in spriteram here + m_maincpu->sh2drc_add_fastram(0x04003000, 0x040031ff, 0, &m_zoomram[0]); // zoomram is in spriteram here m_maincpu->sh2drc_add_fastram(0x06000000, 0x060fffff, 0, &m_ram[0]); } @@ -1352,7 +1398,8 @@ GAME( 1998, sbombera, sbomber, psikyo3v1, sbomber, psikyosh_state, in GAME( 1998, gunbird2, 0, psikyo5, gunbird2, psikyosh_state, init_ps5, ROT270, "Psikyo", "Gunbird 2 (set 1)", MACHINE_NO_COCKTAIL | MACHINE_SUPPORTS_SAVE ) GAME( 1998, gunbird2a, gunbird2, psikyo5, gunbird2, psikyosh_state, init_ps5, ROT270, "Psikyo", "Gunbird 2 (set 2)", MACHINE_NO_COCKTAIL | MACHINE_SUPPORTS_SAVE ) GAME( 1999, s1945iii, 0, psikyo5, s1945iii, psikyosh_state, init_ps5, ROT270, "Psikyo", "Strikers 1945 III (World) / Strikers 1999 (Japan)", MACHINE_NO_COCKTAIL | MACHINE_SUPPORTS_SAVE ) -GAME( 1999, s1945iiibl, s1945iii, s1945iiibl, s1945iii, psikyosh_state, init_s1945iiibl, ROT270, "bootleg", "Strikers 1945 III (World) / Strikers 1999 (Japan) (bootleg)", MACHINE_NOT_WORKING | MACHINE_NO_COCKTAIL | MACHINE_SUPPORTS_SAVE ) // sprites don't show up in +GAME( 1999, s1945iiibl, s1945iii, s1945iiibl, s1945iii, psikyosh_state, init_s1945iiibl, ROT270, "bootleg", "Strikers 1945 III (World) / Strikers 1999 (Japan) (bootleg, set 1)", MACHINE_NOT_WORKING | MACHINE_NO_COCKTAIL | MACHINE_SUPPORTS_SAVE ) // sprites don't show up if MAME is started without debugger active +GAME( 1999, s1945iiibla,s1945iii, s1945iiibla, s1945iii, psikyosh_state, init_s1945iiibl, ROT270, "bootleg", "Strikers 1945 III (World) / Strikers 1999 (Japan) (bootleg, set 2)", MACHINE_NOT_WORKING | MACHINE_NO_COCKTAIL | MACHINE_SUPPORTS_SAVE ) // sprites don't show up if MAME is started without debugger active /* ps5v2 */ GAME( 2000, dragnblz, 0, psikyo5, dragnblz, psikyosh_state, init_ps5, ROT270, "Psikyo", "Dragon Blaze", MACHINE_NO_COCKTAIL | MACHINE_SUPPORTS_SAVE ) diff --git a/src/mame/psikyo/psikyosh.h b/src/mame/psikyo/psikyosh.h index 89ae2e097cb..e592744d026 100644 --- a/src/mame/psikyo/psikyosh.h +++ b/src/mame/psikyo/psikyosh.h @@ -42,11 +42,16 @@ public: void psikyo5_mahjong(machine_config &config); void psikyo5_240(machine_config &config); void s1945iiibl(machine_config &config); + void s1945iiibla(machine_config &config); void init_ps3(); void init_ps5(); void init_s1945iiibl(); +protected: + virtual void machine_start() override; + virtual void video_start() override; + private: /* memory pointers */ required_shared_ptr m_spriteram; @@ -104,8 +109,6 @@ private: void vidregs_w(offs_t offset, u32 data, u32 mem_mask); u32 mjgtaste_input_r(); void eeprom_w(u8 data); - virtual void machine_start() override; - virtual void video_start() override; u32 screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect); DECLARE_WRITE_LINE_MEMBER(screen_vblank); INTERRUPT_GEN_MEMBER(interrupt); @@ -127,6 +130,7 @@ private: void ps5_map(address_map &map); void ps5_mahjong_map(address_map &map); void s1945iiibl_map(address_map &map); + void s1945iiibla_map(address_map &map); }; #endif // MAME_PSIKYO_PSIKYOSH_H diff --git a/src/mame/sega/anyworks.cpp b/src/mame/sega/anyworks.cpp new file mode 100644 index 00000000000..6075fc9c9b0 --- /dev/null +++ b/src/mame/sega/anyworks.cpp @@ -0,0 +1,115 @@ +// license:BSD-3-Clause +// copyright-holders: + +/* +unknown AnyWorks medal game system bios / boot code (?) +It may be a cooperation with Sega, as some of the codes below seem to imply. +A 'Sega' string is also found in the flash ROM at 0x28b388f. +A '2010.04.16' is found at 0x28b34e8. +The flash ROM contains generic medal-related strings and sound effects. + +PCB has the following codes: 94V-0, AW-128M-65, 838-15023, 834-14963 and AW10Z00100108 + +The recognizable components are: +Peak Microtech Eagle PKM32AG-Q SoC with 32bit EISC(AE32000C) Processor Core +14.3181 MHz XTAL +65.000 MHz XTAL +SD card slot +*/ + +#include "emu.h" + +#include "cpu/se3208/se3208.h" + +#include "emupal.h" +#include "screen.h" +#include "speaker.h" + + +namespace { + +class anyworks_state : public driver_device +{ +public: + anyworks_state(const machine_config &mconfig, device_type type, const char *tag) + : driver_device(mconfig, type, tag), + m_maincpu(*this, "maincpu") + {} + + void unkanyw(machine_config &config) ATTR_COLD; + +private: + required_device m_maincpu; + + uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); + + void program_map(address_map &map) ATTR_COLD; +}; + + +uint32_t anyworks_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) +{ + return 0; +} + + +void anyworks_state::program_map(address_map &map) +{ + map(0x00000000, 0x083fffff).rom(); // map everything here for now +} + + +static INPUT_PORTS_START( unkanyw ) + PORT_START("IN0") + PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) + PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) + PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) + PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) + PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) + PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) + PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) + PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) + + PORT_START("IN1") + PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) + PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) + PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) + PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) + PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) + PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) + PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) + PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) + + // no dips on PCB +INPUT_PORTS_END + + +void anyworks_state::unkanyw(machine_config &config) +{ + SE3208(config, m_maincpu, 14'318'100); // placeholder for unemulated SoC + m_maincpu->set_addrmap(AS_PROGRAM, &anyworks_state::program_map); + + // all wrong + screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER)); + screen.set_refresh_hz(60); + screen.set_vblank_time(ATTOSECONDS_IN_USEC(0)); + screen.set_size(64*8, 32*8); + screen.set_visarea_full(); + screen.set_screen_update(FUNC(anyworks_state::screen_update)); + screen.set_palette("palette"); + + PALETTE(config, "palette").set_entries(0x100); // wrong + + SPEAKER(config, "mono").front_center(); +} + + +ROM_START( unkanyw ) + ROM_REGION(0x8400000, "maincpu", 0) + ROM_LOAD( "u13", 0x0000000, 0x8400000, CRC(fe65f34a) SHA1(0eda682e3f3b5bc8dadf3c536fbe23c1015fee03) ) +ROM_END + +} // anonymous namespace + + +GAME( 2010, unkanyw, 0, unkanyw, unkanyw, anyworks_state, empty_init, ROT0, "AnyWorks / Sega", "unknown AnyWorks / Sega medal game bios", MACHINE_IS_SKELETON )