namco/sweetland4.cpp: Add 'Tairyou-Daiko 337 Byoshi' to Namco M151 PCB (#12336)

* namco/sweetland4.cpp: Add 'Tairyou-Daiko 337 Byoshi' o Namco M151 PCB

New not working machine
----------------------------
Tairyou-Daiko 337 Byoshi [Museo del Recreativo]
This commit is contained in:
ClawGrip 2024-05-04 17:49:53 +02:00 committed by GitHub
parent be02f7040e
commit 85cdb22437
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 83 additions and 2 deletions

View File

@ -33306,6 +33306,7 @@ sweetlnd //
@source:namco/sweetland4.cpp
sweetld4 //
tairyouda // (c) 2000 Namco
@source:namco/tankbatt.cpp
tankbatt // (c) 1980 Namco

View File

@ -2,6 +2,9 @@
// copyright-holders:
/*
Sweet Land 4
Namco 'M188 MAIN PCB'
1656960100 (1656970100)
@ -22,6 +25,7 @@ Sweet Land 4 video: https://www.youtube.com/watch?v=Zj8_RRGlCI4
#include "emu.h"
#include "cpu/h8/h83002.h"
#include "cpu/h8/h83006.h"
#include "machine/msm6242.h"
#include "sound/okim9810.h"
@ -43,9 +47,10 @@ public:
{}
void sweetland4(machine_config &config);
void tairyouda(machine_config &config);
private:
required_device<h83007_device> m_maincpu;
required_device<h8h_device> m_maincpu;
//required_device<hd44780_device> m_lcdc;
void lcdc_w(u8 data);
@ -105,6 +110,22 @@ static INPUT_PORTS_START( sweetld4 )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
INPUT_PORTS_END
static INPUT_PORTS_START( tairyouda )
PORT_START("DSW1") // only one bank of 4 dip switches on PCB
PORT_DIPNAME( 0x01, 0x01, "DSW1-01" )
PORT_DIPSETTING( 0x01, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_DIPNAME( 0x02, 0x02, "DSW1-02" )
PORT_DIPSETTING( 0x02, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_DIPNAME( 0x04, 0x04, "DSW1-04" )
PORT_DIPSETTING( 0x04, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_DIPNAME( 0x08, 0x08, "DSW1-08" )
PORT_DIPSETTING( 0x08, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
INPUT_PORTS_END
void sweetland4_state::sweetland4(machine_config &config)
{
@ -121,6 +142,18 @@ void sweetland4_state::sweetland4(machine_config &config)
oki.add_route(1, "rspeaker", 1.00);
}
void sweetland4_state::tairyouda(machine_config &config)
{
H83002(config, m_maincpu, 14.746_MHz_XTAL); // H8/3002 6413002F17
SPEAKER(config, "lspeaker").front_left();
SPEAKER(config, "rspeaker").front_right();
okim9810_device &oki(OKIM9810(config, "oki", 4.096_MHz_XTAL));
oki.add_route(0, "lspeaker", 1.00);
oki.add_route(1, "rspeaker", 1.00);
}
ROM_START( sweetld4 )
ROM_REGION( 0x80000, "maincpu", 0 )
@ -130,7 +163,54 @@ ROM_START( sweetld4 )
ROM_LOAD( "swb 1 snd0.19d", 0x000000, 0x200000, CRC(39294dc7) SHA1(6094a53f10f220d1df8c3e35df11e0566e9c099c) ) // 11xxxxxxxxxxxxxxxxx = 0x00
ROM_END
/* Tairyou-Daiko 337 Byoshi (大漁太鼓337拍子, https://bandainamco-am.co.jp/am/english/aa/tairyodaiko337byoshi/) runs on Namco M151 PCB:
_________________________________________________________________________
| ___ ___ NAMCO |
| |··| ______ ____ | | M151 MAIN |
| |·····| 7805 | | TSK-A |
| |:::::| |__|<-TLP521-3 ________ |
| ____________________ ___ |74HC244| |
| | SND2 (EMPTY) | | | _____ |
| |___________________| | | |····| |
| ____________________ |__|<-TLP521-3 |::::| |
| | SND1 (EMPTY) | ___ ________ |
| |___________________| | | |74HC244| |
| _______ ____________________ | | _______ |
| |OKI | | SND0 | |__|<-TLP521-3 TA8428K |
| |M9810 | |___________________| ___ _______ |
| Xtal|______| ____________________ | | TA8428K |
| 4.09 MHz ___ | PRG0 | | | _______ |
| | | |___________________| |__|<-TLP521-3 TA8428K |
| 74HC04A->|__| _______________ _____ ___ |
| ___ ___ ___ |M48Z35Y-70PC1 | |____|<-74GC273A | | |
| | | | | | | |_______________| _____ SLA7042M->| | |
| |__| |__| |__|<-74HC32A |____|<-74GC273A |__| |
74AC244 74HC138A ___ |
| ___ | |<-TLP521-3 |
| PST592 _______ ___ | | | | |
| |H8/ | | |<-DIPSx4 |__| | |<-PG001M ___ |
| Xtal |3002 | |__| ___ |__| |··| |
| 14.746 |6413002F17 | | |··| |
| MHz | |<-PC910 |··| |
| _____ ________ ________ |__| |
| |62003AF |74HC541A |74HC541A ________ ________ ·· <-JP1 |
| |74HC273A |74HC273A ·· <-JP2 |
| FUSES ·· <-JP3 |
| ____ _____________________ _____________________ |
| |ooo| |::::::::::::::::::::| |::::::::::::::::::::| |
|________________________________________________________________________|
*/
ROM_START( tairyouda ) // 大漁太鼓337拍子
ROM_REGION( 0x80000, "maincpu", 0 )
ROM_LOAD( "t3b1_prg0.5f", 0x00000, 0x80000, CRC(d09dcb0c) SHA1(dbb66f5d548079f19b06dd98d3a44ee6b42b470a) )
ROM_REGION( 0x200000, "oki", 0 )
ROM_LOAD( "t3b2_snd-0a.4f", 0x000000, 0x200000, NO_DUMP )
ROM_END
} // anonymous namespace
GAME( 2004, sweetld4, 0, sweetland4, sweetld4, sweetland4_state, empty_init, ROT0, "Namco", "Sweet Land 4 Bright (ver 2004.9.29)", MACHINE_IS_SKELETON_MECHANICAL )
GAME( 2004, sweetld4, 0, sweetland4, sweetld4, sweetland4_state, empty_init, ROT0, "Namco", "Sweet Land 4 Bright (ver 2004.9.29)", MACHINE_IS_SKELETON_MECHANICAL )
GAME( 2000, tairyouda, 0, tairyouda, tairyouda, sweetland4_state, empty_init, ROT0, "Namco", "Tairyou-Daiko 337 Byoshi", MACHINE_IS_SKELETON_MECHANICAL )