mirror of
https://github.com/holub/mame
synced 2025-04-17 22:13:04 +03:00
misc/falgas_m89.cpp: Dumped and added "Rally Montecarlo". (#10073)
This commit is contained in:
parent
be6e923bef
commit
608e77da82
@ -13884,6 +13884,7 @@ ts28 // 1983
|
||||
|
||||
@source:misc/falgas_m89.cpp
|
||||
cbully // (c) 1991 Falgas
|
||||
rmontecarlo // (c) 1991 Falgas
|
||||
|
||||
@source:nintendo/famibox.cpp
|
||||
famibox // 1986
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
M89 hardware for kiddie rides from Falgas
|
||||
|
||||
Falgas M89-4 N/E
|
||||
Base Falgas M89-4 N/E PCB
|
||||
|
||||
_|_|_|_|___|_|_|_|___|_|_|_|_|_|_|____
|
||||
| _______ _______ _______ |
|
||||
@ -41,12 +41,47 @@
|
||||
-Volume knob.
|
||||
|
||||
|
||||
Optional video PCB (25291)
|
||||
______________________________________
|
||||
| Power conn -> :::::: :::::::::: <- Conn to M89E (timer, sound)
|
||||
| __________________|
|
||||
| | NEC D8155HC ||
|
||||
| |_________________||
|
||||
| |
|
||||
| ________________|
|
||||
| __ | GM76C28A-10 ||
|
||||
| | | |_______________||
|
||||
SN74LS14N -> | | _________________|
|
||||
| |_| | EPROM ||
|
||||
| |________________||
|
||||
| __________ __________ |
|
||||
| |_PAL16V8_| |SN74LS373N| |
|
||||
| __________________|
|
||||
| Xtal | OKI M80C85A-2 ||
|
||||
| 6.000 MHz |_________________||
|
||||
| __________________|
|
||||
| Xtal | TMS9129NL ||
|
||||
| 10.738635 MHz |_________________||
|
||||
| __________|
|
||||
| |UD61464DC||
|
||||
| __________|
|
||||
| |UD61464DC||
|
||||
| ___ ___ ___ _________ : |
|
||||
|LM318P LM318P LM318P |CD4016BCN : <- Conn to monitor
|
||||
| : |
|
||||
|_____________________________________|
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
#include "emu.h"
|
||||
|
||||
#include "cpu/i8085/i8085.h"
|
||||
//#include "machine/i8255.h"
|
||||
#include "machine/i8155.h"
|
||||
#include "machine/i8255.h"
|
||||
#include "sound/ay8910.h"
|
||||
#include "video/tms9928a.h"
|
||||
|
||||
#include "screen.h"
|
||||
#include "speaker.h"
|
||||
|
||||
namespace
|
||||
@ -63,7 +98,8 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
void cbully(machine_config &config);
|
||||
void falgasm89_simple(machine_config &config);
|
||||
void falgasm89(machine_config &config);
|
||||
|
||||
protected:
|
||||
virtual void machine_start() override;
|
||||
@ -81,6 +117,21 @@ private:
|
||||
u8 m_psg_pa;
|
||||
};
|
||||
|
||||
class falgasm89_video_state : public falgasm89_state
|
||||
{
|
||||
public:
|
||||
falgasm89_video_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||
: falgasm89_state(mconfig, type, tag)
|
||||
, m_videocpu(*this, "videocpu")
|
||||
{
|
||||
}
|
||||
|
||||
void falgasm89_video(machine_config &config);
|
||||
|
||||
private:
|
||||
required_device<i8085a_cpu_device> m_videocpu;
|
||||
};
|
||||
|
||||
void falgasm89_state::machine_start()
|
||||
{
|
||||
save_item(NAME(m_psg_pa));
|
||||
@ -103,8 +154,7 @@ u8 falgasm89_state::psg_pb_r()
|
||||
|
||||
void falgasm89_state::mem_map(address_map &map)
|
||||
{
|
||||
map(0x0000, 0x7fff).rom().region("maincpu", 0);
|
||||
map(0xf800, 0xffff).ram(); // NVRAM?
|
||||
map(0x0000, 0xffff).rom().region("maincpu", 0);
|
||||
}
|
||||
|
||||
void falgasm89_state::io_map(address_map &map)
|
||||
@ -113,7 +163,7 @@ void falgasm89_state::io_map(address_map &map)
|
||||
map(0x04, 0x04).w("psg", FUNC(ay8910_device::address_w));
|
||||
}
|
||||
|
||||
INPUT_PORTS_START(cbully)
|
||||
INPUT_PORTS_START(falgasm89)
|
||||
PORT_START("IN0")
|
||||
PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_UNKNOWN)
|
||||
PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_UNKNOWN)
|
||||
@ -135,14 +185,14 @@ INPUT_PORTS_START(cbully)
|
||||
PORT_BIT(0xfc, IP_ACTIVE_LOW, IPT_UNUSED)
|
||||
INPUT_PORTS_END
|
||||
|
||||
void falgasm89_state::cbully(machine_config &config)
|
||||
|
||||
// The "simple" PCB has the i8255 socket empty
|
||||
void falgasm89_state::falgasm89_simple(machine_config &config)
|
||||
{
|
||||
I8085A(config, m_maincpu, 6_MHz_XTAL);
|
||||
I8085A(config, m_maincpu, 6_MHz_XTAL); // OKI M80C85A-2
|
||||
m_maincpu->set_addrmap(AS_PROGRAM, &falgasm89_state::mem_map);
|
||||
m_maincpu->set_addrmap(AS_IO, &falgasm89_state::io_map);
|
||||
|
||||
// I8255(config, "i8255"); // "Coche Bully" has the i8255 socket empty
|
||||
|
||||
SPEAKER(config, "mono").front_center();
|
||||
|
||||
ay8910_device &psg(AY8910(config, "psg", 6_MHz_XTAL / 4)); // divider unknown
|
||||
@ -151,8 +201,29 @@ void falgasm89_state::cbully(machine_config &config)
|
||||
psg.port_b_read_callback().set(FUNC(falgasm89_state::psg_pb_r));
|
||||
}
|
||||
|
||||
void falgasm89_state::falgasm89(machine_config &config)
|
||||
{
|
||||
falgasm89_simple(config);
|
||||
|
||||
I8255(config, "i8255"); // NEC D71055C
|
||||
}
|
||||
|
||||
void falgasm89_video_state::falgasm89_video(machine_config &config)
|
||||
{
|
||||
falgasm89(config);
|
||||
|
||||
I8085A(config, m_videocpu, 6_MHz_XTAL); // OKI M80C85A-2
|
||||
|
||||
tms9129_device &vdp(TMS9129(config, "vdp", 10.738635_MHz_XTAL));
|
||||
vdp.set_screen("screen");
|
||||
vdp.set_vram_size(0x10000); // 2 x UD61464DC
|
||||
SCREEN(config, "screen", SCREEN_TYPE_RASTER);
|
||||
|
||||
I8155(config, "i8155", 6_MHz_XTAL); // NEC D8155HC
|
||||
}
|
||||
|
||||
ROM_START(cbully)
|
||||
ROM_REGION(0x8000, "maincpu", 0)
|
||||
ROM_REGION(0x10000, "maincpu", 0)
|
||||
ROM_LOAD("bully-gs_m89-iv_16-1-91.u2", 0x0000, 0x8000, CRC(4cc85230) SHA1(c3851e6610bcb3427f81ecfcd4575603a9edca6e)) // 27C256
|
||||
|
||||
ROM_REGION(0x22e, "plds", 0)
|
||||
@ -160,7 +231,22 @@ ROM_START(cbully)
|
||||
ROM_LOAD("palce16v8_m894-a.u10", 0x117, 0x117, NO_DUMP) // Protected
|
||||
ROM_END
|
||||
|
||||
// Bootleg of Konami's Hyper Rally for MSX
|
||||
ROM_START(rmontecarlo)
|
||||
ROM_REGION(0x10000, "maincpu", 0)
|
||||
ROM_LOAD("uj_504_m-89es_17-7-91.u2", 0x00000, 0x10000, CRC(ff1be338) SHA1(9a3f4760bd7e4d9328d44e546bb588561fc53016)) // 27C512
|
||||
|
||||
ROM_REGION(0x10000, "videocpu", 0)
|
||||
ROM_LOAD("uj_v10_22-5-91.bin", 0x00000, 0x10000, CRC(8ac21706) SHA1(bd399136d4793c1eaa49c2d5a35022864e771833)) // 27C512
|
||||
|
||||
ROM_REGION(0x345, "plds", 0)
|
||||
ROM_LOAD("palce16v8_m894-bt.u11", 0x000, 0x117, NO_DUMP) // Protected, on M89 PCB
|
||||
ROM_LOAD("palce16v8_m894-a.u10", 0x117, 0x117, NO_DUMP) // Protected, on M89 PCB
|
||||
ROM_LOAD("palce16v8_video91.bin", 0x22e, 0x117, NO_DUMP) // Protected, on video PCB
|
||||
ROM_END
|
||||
|
||||
} // anonymous namespace
|
||||
|
||||
// YEAR NAME PARENT MACHINE INPUT CLASS INIT ROT COMPANY FULLNAME FLAGS
|
||||
GAME( 1991, cbully, 0, cbully, cbully, falgasm89_state, empty_init, ROT0, "Falgas", "Coche Bully", MACHINE_IS_SKELETON_MECHANICAL )
|
||||
// YEAR NAME PARENT MACHINE INPUT CLASS INIT ROT COMPANY FULLNAME FLAGS
|
||||
GAME( 1991, cbully, 0, falgasm89_simple, falgasm89, falgasm89_state, empty_init, ROT0, "Falgas", "Coche Bully", MACHINE_IS_SKELETON_MECHANICAL )
|
||||
GAME( 1991, rmontecarlo, 0, falgasm89_video, falgasm89, falgasm89_video_state, empty_init, ROT0, "Falgas", "Rally Montecarlo", MACHINE_IS_SKELETON_MECHANICAL )
|
||||
|
Loading…
Reference in New Issue
Block a user