mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
Added skeleton driver for Nikko Entertainment/Grey Innovation digiBLAST (#10295)
bus/centronics/digiblst.cpp: Changed device short name to make it more explicit. new NOT WORKING machine ------------- Nikko Entertainment B.V. / Grey Innovation digiBLAST [TeamEurope] new NOT WORKING software list items --------------- digiblast_cart.xml: Sonic X 1 (Italy / Spain) [Most-Student-5165] Sponge Bob Square Pants 1 (Italy / Spain) [Most-Student-5165] Totally Spies! 1 (Italy) [Most-Student-5165] Yu-Gi-Oh! (Italy / Spain) [Most-Student-5165] Winx Club 1 (Italy / Spain) [Most-Student-5165] Winx Club + 5 Atari Games (Italy / Spain) [Most-Student-5165]
This commit is contained in:
parent
2d40e698da
commit
933f60e452
4 changed files with 209 additions and 1 deletions
78
hash/digiblast_cart.xml
Normal file
78
hash/digiblast_cart.xml
Normal file
|
@ -0,0 +1,78 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE softwarelist SYSTEM "softwarelist.dtd">
|
||||
<!--
|
||||
license:CC0
|
||||
-->
|
||||
|
||||
<!--
|
||||
These dumps seem to have blank ECC data, it might need to be reconstructed as done in eolith/ghosteo.cpp
|
||||
-->
|
||||
<softwarelist name="digiblast_cart" description="Nikko Entertainment B.V. / Grey Innovation digiBLAST Cartridges">
|
||||
|
||||
<software name="sonicx1" supported="no">
|
||||
<description>Sonic X 1 (Italy / Spain)</description>
|
||||
<year>2005</year>
|
||||
<publisher>Nikko Entertainment B.V. / Grey Innovation</publisher>
|
||||
<part name="cart" interface="digiblast_cart">
|
||||
<dataarea name="rom" size="0x4200000">
|
||||
<rom name="sonic x 1 (ita esp).bin" size="0x4200000" crc="63c9ccc0" sha1="762a7b488a3c8b8ee37eaabf85245bfc3e71bbc3" />
|
||||
</dataarea>
|
||||
</part>
|
||||
</software>
|
||||
|
||||
<software name="sbsp1" supported="no">
|
||||
<description>Sponge Bob Square Pants 1 (Italy / Spain)</description>
|
||||
<year>2005</year>
|
||||
<publisher>Nikko Entertainment B.V. / Grey Innovation</publisher>
|
||||
<part name="cart" interface="digiblast_cart">
|
||||
<dataarea name="rom" size="0x4200000">
|
||||
<rom name="sponge bob square pants 1 (ita spa).bin" size="0x4200000" crc="56deccb3" sha1="251967cdc72cf06bb92957ecc3ad8a3b1573c91e" />
|
||||
</dataarea>
|
||||
</part>
|
||||
</software>
|
||||
|
||||
<software name="totsp1" supported="no">
|
||||
<description>Totally Spies! 1 (Italy)</description>
|
||||
<year>2005</year>
|
||||
<publisher>Nikko Entertainment B.V. / Grey Innovation</publisher>
|
||||
<part name="cart" interface="digiblast_cart">
|
||||
<dataarea name="rom" size="0x4200000">
|
||||
<rom name="totally spies 1 (ita).bin" size="0x4200000" crc="2f88baaf" sha1="5cda9f4844cd708e577426285a0d7f0024e83168" />
|
||||
</dataarea>
|
||||
</part>
|
||||
</software>
|
||||
|
||||
<software name="yugi" supported="no">
|
||||
<description>Yu-Gi-Oh! (Italy / Spain)</description>
|
||||
<year>2005</year>
|
||||
<publisher>Nikko Entertainment B.V. / Grey Innovation</publisher>
|
||||
<part name="cart" interface="digiblast_cart">
|
||||
<dataarea name="rom" size="0x4200000">
|
||||
<rom name="yu-gi-oh (ita esp).bin" size="0x4200000" crc="2494e958" sha1="76594cebc642c61afa84d20370b40d18e9aabc80" />
|
||||
</dataarea>
|
||||
</part>
|
||||
</software>
|
||||
|
||||
<software name="wxatari" supported="no">
|
||||
<description>Winx Club + 5 Atari Games (Italy / Spain)</description>
|
||||
<year>2005</year>
|
||||
<publisher>Nikko Entertainment B.V. / Grey Innovation</publisher>
|
||||
<part name="cart" interface="digiblast_cart">
|
||||
<dataarea name="rom" size="0x4200000">
|
||||
<rom name="winx club + 5 atari games (ita esp).bin" size="0x4200000" crc="09897866" sha1="df1b42368ae776d9028a27796874d5830bfd38c2" />
|
||||
</dataarea>
|
||||
</part>
|
||||
</software>
|
||||
|
||||
<software name="winx1" supported="no">
|
||||
<description>Winx Club 1 (Italy / Spain)</description>
|
||||
<year>2005</year>
|
||||
<publisher>Nikko Entertainment B.V. / Grey Innovation</publisher>
|
||||
<part name="cart" interface="digiblast_cart">
|
||||
<dataarea name="rom" size="0x4200000">
|
||||
<rom name="winx club 1 (ita esp).bin" size="0x4200000" crc="a870766e" sha1="ade470b1e574761bf35254064b2437dccf1a3c2c" />
|
||||
</dataarea>
|
||||
</part>
|
||||
</software>
|
||||
|
||||
</softwarelist>
|
|
@ -15,7 +15,7 @@
|
|||
//**************************************************************************
|
||||
|
||||
// device type definition
|
||||
DEFINE_DEVICE_TYPE(CENTRONICS_DIGIBLASTER, centronics_digiblaster_device, "digiblst", "Digiblaster (DIY)")
|
||||
DEFINE_DEVICE_TYPE(CENTRONICS_DIGIBLASTER, centronics_digiblaster_device, "cpcdigiblst", "Digiblaster (DIY)")
|
||||
|
||||
|
||||
/***************************************************************************
|
||||
|
|
|
@ -12505,6 +12505,9 @@ dietgou // MAY (c) 1993
|
|||
digel804 //
|
||||
ep804 //
|
||||
|
||||
@source:skeleton/digiblast.cpp
|
||||
digiblst
|
||||
|
||||
@source:skeleton/digilog320.cpp
|
||||
digilog320 //
|
||||
|
||||
|
|
127
src/mame/skeleton/digiblast.cpp
Normal file
127
src/mame/skeleton/digiblast.cpp
Normal file
|
@ -0,0 +1,127 @@
|
|||
// license:BSD-3-Clause
|
||||
// copyright-holders:David Haywood
|
||||
|
||||
// a generic looking s3c2410 SoC setup, with very little of note in the system, and a NAND ROM in the cartriges
|
||||
// if you copy the NAND plumbing from ghosteo.cpp (and add the ID command) the software begins to boot, but
|
||||
// the NAND should be included in the cartridge bus device, not the driver.
|
||||
|
||||
#include "emu.h"
|
||||
|
||||
#include "bus/generic/slot.h"
|
||||
#include "bus/generic/carts.h"
|
||||
#include "cpu/arm7/arm7.h"
|
||||
#include "cpu/arm7/arm7core.h"
|
||||
#include "machine/s3c2410.h"
|
||||
|
||||
#include "emupal.h"
|
||||
#include "screen.h"
|
||||
#include "softlist_dev.h"
|
||||
#include "speaker.h"
|
||||
|
||||
|
||||
namespace {
|
||||
|
||||
class digiblast_state : public driver_device
|
||||
{
|
||||
public:
|
||||
digiblast_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||
: driver_device(mconfig, type, tag)
|
||||
, m_maincpu(*this, "maincpu")
|
||||
, m_s3c2410(*this, "s3c2410")
|
||||
, m_system_memory(*this, "systememory")
|
||||
, m_cart(*this, "cartslot")
|
||||
{
|
||||
}
|
||||
|
||||
void digiblast(machine_config &config);
|
||||
|
||||
protected:
|
||||
virtual void machine_start() override;
|
||||
virtual void machine_reset() override;
|
||||
|
||||
private:
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<s3c2410_device> m_s3c2410;
|
||||
required_shared_ptr<uint32_t> m_system_memory;
|
||||
|
||||
required_device<generic_slot_device> m_cart;
|
||||
|
||||
DECLARE_DEVICE_IMAGE_LOAD_MEMBER(cart_load);
|
||||
|
||||
void digiblast_map(address_map &map);
|
||||
};
|
||||
|
||||
void digiblast_state::digiblast_map(address_map &map)
|
||||
{
|
||||
map(0x30000000, 0x31ffffff).ram().share("systememory").mirror(0x02000000);
|
||||
}
|
||||
|
||||
static INPUT_PORTS_START( digiblast )
|
||||
INPUT_PORTS_END
|
||||
|
||||
void digiblast_state::machine_start()
|
||||
{
|
||||
}
|
||||
|
||||
void digiblast_state::machine_reset()
|
||||
{
|
||||
}
|
||||
|
||||
DEVICE_IMAGE_LOAD_MEMBER(digiblast_state::cart_load)
|
||||
{
|
||||
uint32_t size = m_cart->common_get_size("rom");
|
||||
|
||||
m_cart->rom_alloc(size, GENERIC_ROM8_WIDTH, ENDIANNESS_LITTLE);
|
||||
m_cart->common_load_rom(m_cart->get_rom_base(), size, "rom");
|
||||
|
||||
return image_init_result::PASS;
|
||||
}
|
||||
|
||||
|
||||
void digiblast_state::digiblast(machine_config &config)
|
||||
{
|
||||
/* basic machine hardware */
|
||||
ARM9(config, m_maincpu, 200000000);
|
||||
m_maincpu->set_addrmap(AS_PROGRAM, &digiblast_state::digiblast_map);
|
||||
|
||||
screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER));
|
||||
screen.set_refresh_hz(60);
|
||||
screen.set_vblank_time(ATTOSECONDS_IN_USEC(2500)); /* not accurate */
|
||||
screen.set_size(455, 262);
|
||||
screen.set_visarea(0, 320-1, 0, 256-1);
|
||||
screen.set_screen_update("s3c2410", FUNC(s3c2410_device::screen_update));
|
||||
|
||||
PALETTE(config, "palette").set_entries(256);
|
||||
|
||||
S3C2410(config, m_s3c2410, 12000000);
|
||||
m_s3c2410->set_palette_tag("palette");
|
||||
m_s3c2410->set_screen_tag("screen");
|
||||
//m_s3c2410->core_pin_r_callback().set(FUNC(digiblast_state::s3c2410_core_pin_r));
|
||||
//m_s3c2410->gpio_port_r_callback().set(FUNC(digiblast_state::s3c2410_gpio_port_r));
|
||||
//m_s3c2410->gpio_port_w_callback().set(FUNC(digiblast_state::s3c2410_gpio_port_w));
|
||||
//m_s3c2410->i2c_scl_w_callback().set(FUNC(digiblast_state::s3c2410_i2c_scl_w));
|
||||
//m_s3c2410->i2c_sda_r_callback().set(FUNC(digiblast_state::s3c2410_i2c_sda_r));
|
||||
//m_s3c2410->i2c_sda_w_callback().set(FUNC(digiblast_state::s3c2410_i2c_sda_w));
|
||||
//m_s3c2410->nand_command_w_callback().set(FUNC(digiblast_state::s3c2410_nand_command_w));
|
||||
//m_s3c2410->nand_address_w_callback().set(FUNC(digiblast_state::s3c2410_nand_address_w));
|
||||
//m_s3c2410->nand_data_r_callback().set(FUNC(digiblast_state::s3c2410_nand_data_r));
|
||||
//m_s3c2410->nand_data_w_callback().set(FUNC(digiblast_state::s3c2410_nand_data_w));
|
||||
|
||||
/* sound hardware */
|
||||
SPEAKER(config, "front").front_center();
|
||||
|
||||
GENERIC_CARTSLOT(config, m_cart, generic_plain_slot, "digiblast_cart");
|
||||
m_cart->set_width(GENERIC_ROM8_WIDTH);
|
||||
m_cart->set_device_load(FUNC(digiblast_state::cart_load));
|
||||
|
||||
SOFTWARE_LIST(config, "cart_list").set_original("digiblast_cart");
|
||||
|
||||
}
|
||||
|
||||
ROM_START( digiblst )
|
||||
//ROM_REGION( 0x4200000, "flash", ROMREGION_ERASEFF )
|
||||
ROM_END
|
||||
|
||||
} // Anonymous namespace
|
||||
|
||||
CONS( 2005, digiblst, 0, 0, digiblast, digiblast, digiblast_state, empty_init, "Nikko Entertainment B.V. / Grey Innovation", "digiBLAST", MACHINE_IS_SKELETON )
|
Loading…
Reference in a new issue