new NOT WORKING ---- Storio [Team Europe] (#4514)

* new NOT WORKING
----
Storio [Team Europe]

created this so that Clawgrip can add to it

* add seemingly pointless line to seemingly pointless file

* move info (nw)

* vtech (nw)
This commit is contained in:
David Haywood 2019-01-19 01:08:05 +00:00 committed by R. Belmont
parent b4a36bb3e2
commit 6a9f8b89a0
6 changed files with 171 additions and 50 deletions

View File

@ -1,50 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE softwarelist SYSTEM "softwarelist.dtd">
<!--
NOTE: This list is here only to document available dumps and it's not used (yet) by MESS!
-->
<softwarelist name="vreader" description="VTech V.Reader / Storio cartridges">
<!--
Language:
********0 = US
********1 = Italy
********2 = Netherlands
********3 = UK
********4 = Germany
********5 = France
********6 = Portugal
********7 = Spain
80-280000(US) | Animated E-Book Cartridge - Shrek's Vacation
80-280003(UK) | Animated E-Book Cartridge - Shrek's Holiday
80-280100(US) | Animated E-Book Cartridge - Toy Story 3
80-280200(US) | Animated E-Book Cartridge - Mr. Men/Little Miss
80-280300(US) | Animated E-Book Cartridge - Tinkerbell and The Great Fairy Rescue
80-280400(US) | Animated E-Book Cartridge - Scooby Doo! - Scooby Doo and a Mummy, Too!
80-280403(UK) | Animated E-Book Cartridge - Scooby Doo! - Scooby Doo and a Mummy, Too!
80-280600(US) | Animated E-Book Cartridge - Olivia
80-280700(US) | Animated E-Book Cartridge - The Little Engine That Could
80-280900(US) | Animated E-Book Cartridge - Dora and the Three Little Pigs
80-281000(US) | Animated E-Book Cartridge - Mickey Mouse Clubhouse
80-281100(US) | Animated E-Book Cartridge - Disney Princess
80-281103(UK) | Animated E-Book Cartridge - Disney Princess
80-281200(US) | Animated E-Book Cartridge - Cars
80-281300(US) | Animated E-Book Cartridge - Sesame Street The Happy Scientists
80-281400(US) | Animated E-Book Cartridge - SpongeBob SquarePants Model Sponge
80-281500(US) | Animated E-Book Cartridge - Tangled
80-281600(US) | Animated E-Book Cartridge - Chuggington - Babysitter Brewster
80-281700(US) | Animated E-Book Cartridge - Penguins of Madagascar - The Helmet
80-281800(US) | Animated E-Book Cartridge - Kung Fu Panda 2
80-281900(US) | Animated E-Book Cartridge - Cars 2
80-282000(US) | Animated E-Book Cartridge - Winnie the Pooh
80-282100(US) | Animated E-Book Cartridge - Super Why! - Attack of the Eraser
80-282200(US) | Animated E-Book Cartridge - Madagascar 3
80-282300(US) | Animated E-Book Cartridge - Dinosaur Train - T.Rex Teeth
80-282400(US) | Animated E-Book Cartridge - Hello Kitty's Surprise
-->
</softwarelist>

View File

@ -0,0 +1,60 @@
<?xml version="1.0"?>
<!DOCTYPE softwarelist SYSTEM "softwarelist.dtd">
<softwarelist name="vtech_storio_cart" description="VTech Storio V.Reader Cartridges">
<!-- These are NAND Flash ROMs containing a FAT16 filesystem -->
<!--
Language:
********0 = US
********1 = Italy
********2 = Netherlands
********3 = UK
********4 = Germany
********5 = France
********6 = Portugal
********7 = Spain
xx
80-280000(US) | Animated E-Book Cartridge - Shrek's Vacation
80-280003(UK) | Animated E-Book Cartridge - Shrek's Holiday
80-280100(US) | Animated E-Book Cartridge - Toy Story 3
80-280200(US) | Animated E-Book Cartridge - Mr. Men/Little Miss
80-280300(US) | Animated E-Book Cartridge - Tinkerbell and The Great Fairy Rescue
80-280400(US) | Animated E-Book Cartridge - Scooby Doo! - Scooby Doo and a Mummy, Too!
80-280403(UK) | Animated E-Book Cartridge - Scooby Doo! - Scooby Doo and a Mummy, Too!
80-280600(US) | Animated E-Book Cartridge - Olivia
80-280700(US) | Animated E-Book Cartridge - The Little Engine That Could
80-280900(US) | Animated E-Book Cartridge - Dora and the Three Little Pigs
80-281000(US) | Animated E-Book Cartridge - Mickey Mouse Clubhouse
80-281100(US) | Animated E-Book Cartridge - Disney Princess
80-281103(UK) | Animated E-Book Cartridge - Disney Princess
80-281200(US) | Animated E-Book Cartridge - Cars
80-281300(US) | Animated E-Book Cartridge - Sesame Street The Happy Scientists
80-281400(US) | Animated E-Book Cartridge - SpongeBob SquarePants Model Sponge
80-281500(US) | Animated E-Book Cartridge - Tangled
80-281600(US) | Animated E-Book Cartridge - Chuggington - Babysitter Brewster
80-281700(US) | Animated E-Book Cartridge - Penguins of Madagascar - The Helmet
80-281800(US) | Animated E-Book Cartridge - Kung Fu Panda 2
80-281900(US) | Animated E-Book Cartridge - Cars 2
80-282000(US) | Animated E-Book Cartridge - Winnie the Pooh
80-282100(US) | Animated E-Book Cartridge - Super Why! - Attack of the Eraser
80-282200(US) | Animated E-Book Cartridge - Madagascar 3
80-282300(US) | Animated E-Book Cartridge - Dinosaur Train - T.Rex Teeth
80-282400(US) | Animated E-Book Cartridge - Hello Kitty's Surprise
-->
<software name="scoobysp" supported="no">
<description>Scooby-Doo!-Scooby-Doo y la momia (Spain)</description>
<year>200?</year>
<publisher>VTech</publisher>
<part name="cart" interface="vtech_storio_cart">
<dataarea name="rom" size="0x4200000">
<rom name="80-280422 - scooby-doo-scooby-doo y la momia (sp).bin" size="0x4200000" crc="cd1ee924" sha1="83e561af5910dc547829d54c84fbef60350f4f54" offset="0" />
</dataarea>
</part>
</software>
</softwarelist>

View File

@ -3624,6 +3624,7 @@ files {
MAME_DIR .. "src/mame/drivers/inteladv.cpp",
MAME_DIR .. "src/mame/drivers/vsmile.cpp",
MAME_DIR .. "src/mame/drivers/clickstart.cpp",
MAME_DIR .. "src/mame/drivers/storio.cpp",
}
createMESSProjects(_target, _subtarget, "wang")

106
src/mame/drivers/storio.cpp Normal file
View File

@ -0,0 +1,106 @@
// license:BSD-3-Clause
// copyright-holders:David Haywood
/******************************************************************************
vtech Storio
Skeleton driver, to reference Software List so that it gets validated
TODO: everything!
*******************************************************************************/
#include "emu.h"
#include "bus/generic/slot.h"
#include "bus/generic/carts.h"
#include "screen.h"
#include "softlist.h"
#include "speaker.h"
class vtech_storio_state : public driver_device
{
public:
vtech_storio_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag)
, m_screen(*this, "screen")
, m_cart(*this, "cartslot")
, m_cart_region(nullptr)
{ }
void vtech_storio(machine_config &config);
private:
virtual void machine_start() override;
virtual void machine_reset() override;
DECLARE_DEVICE_IMAGE_LOAD_MEMBER(cart);
required_device<screen_device> m_screen;
required_device<generic_slot_device> m_cart;
memory_region *m_cart_region;
uint32_t screen_update_storio(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
};
uint32_t vtech_storio_state::screen_update_storio(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect)
{
return 0;
}
void vtech_storio_state::machine_start()
{
// if there's a cart, override the standard mapping
if (m_cart && m_cart->exists())
{
std::string region_tag;
m_cart_region = memregion(region_tag.assign(m_cart->tag()).append(GENERIC_ROM_REGION_TAG).c_str());
}
}
void vtech_storio_state::machine_reset()
{
}
DEVICE_IMAGE_LOAD_MEMBER(vtech_storio_state, cart)
{
uint32_t size = m_cart->common_get_size("rom");
m_cart->rom_alloc(size, GENERIC_ROM16_WIDTH, ENDIANNESS_LITTLE);
m_cart->common_load_rom(m_cart->get_rom_base(), size, "rom");
return image_init_result::PASS;
}
static INPUT_PORTS_START( vtech_storio )
INPUT_PORTS_END
void vtech_storio_state::vtech_storio(machine_config &config)
{
//ARM(config, m_maincpu, XTAL(200'000'000)); // What type of CPU?
SCREEN(config, m_screen, SCREEN_TYPE_RASTER);
m_screen->set_refresh_hz(60);
m_screen->set_size(320, 262);
m_screen->set_visarea(0, 320-1, 0, 240-1);
m_screen->set_screen_update(FUNC(vtech_storio_state::screen_update_storio));
SPEAKER(config, "lspeaker").front_left();
SPEAKER(config, "rspeaker").front_right();
GENERIC_CARTSLOT(config, m_cart, generic_plain_slot, "vtech_storio_cart");
m_cart->set_width(GENERIC_ROM16_WIDTH);
m_cart->set_device_load(device_image_load_delegate(&vtech_storio_state::device_image_load_cart, this));
SOFTWARE_LIST(config, "cart_list").set_original("vtech_storio_cart");
}
ROM_START( storio )
ROM_REGION( 0x800000, "maincpu", ROMREGION_ERASEFF )
/* load BIOS roms here if it doesn't boot straight from cart? */
ROM_END
// year, name, parent, compat, machine, input, class, init, company, fullname, flags
CONS( 200?, storio, 0, 0, vtech_storio, vtech_storio, vtech_storio_state, empty_init, "VTech", "Storio", MACHINE_IS_SKELETON )

View File

@ -35640,6 +35640,9 @@ sorcerer // Sorcerer
sorcerer2 // monitor 1.1 1979
sorcererd // Sorcerer with floppies
@source:storio.cpp
storio // (c)200? VTech
@source:sothello.cpp
sothello // (c) 1986 Success / Fujiwara.

View File

@ -697,6 +697,7 @@ squale.cpp
ssem.cpp
ssystem3.cpp
st17xx.cpp
storio.cpp
stratos.cpp
studio2.cpp
sun1.cpp