|
| 1 | +// license:BSD-3-Clause |
| 2 | +// copyright-holders: |
| 3 | + |
| 4 | +/********************************************************************************* |
| 5 | +
|
| 6 | + Skeleton driver for VTech MagiBook / LeapFrog LeapStart interactive books. |
| 7 | + Video from the real hardware (VTech): https://youtube.com/shorts/OcZ1ADZ_rTo |
| 8 | +
|
| 9 | +*********************************************************************************/ |
| 10 | + |
| 11 | +#include "emu.h" |
| 12 | + |
| 13 | +#include "cpu/arm7/arm7.h" |
| 14 | + |
| 15 | +#include "screen.h" |
| 16 | +#include "speaker.h" |
| 17 | + |
| 18 | + |
| 19 | +namespace { |
| 20 | + |
| 21 | + |
| 22 | +class magibook_state : public driver_device |
| 23 | +{ |
| 24 | +public: |
| 25 | + magibook_state(const machine_config &mconfig, device_type type, const char *tag) : |
| 26 | + driver_device(mconfig, type, tag), |
| 27 | + m_maincpu(*this, "maincpu") |
| 28 | + { } |
| 29 | + |
| 30 | + void magibook(machine_config &config); |
| 31 | + |
| 32 | +protected: |
| 33 | + virtual void machine_start() override ATTR_COLD; |
| 34 | + virtual void machine_reset() override ATTR_COLD; |
| 35 | + |
| 36 | + required_device<cpu_device> m_maincpu; |
| 37 | +}; |
| 38 | + |
| 39 | +void magibook_state::machine_start() |
| 40 | +{ |
| 41 | +} |
| 42 | + |
| 43 | +void magibook_state::machine_reset() |
| 44 | +{ |
| 45 | +} |
| 46 | + |
| 47 | +// Wired touch pen plus "+", "-" and power buttons. |
| 48 | +static INPUT_PORTS_START( magibook ) |
| 49 | +INPUT_PORTS_END |
| 50 | + |
| 51 | +void magibook_state::magibook(machine_config &config) |
| 52 | +{ |
| 53 | + ARM9(config, m_maincpu, 24'000'000); // GeneralPlus GP326813, unknown frequency |
| 54 | + |
| 55 | + // Screenless |
| 56 | + |
| 57 | + SPEAKER(config, "mono").front_left(); |
| 58 | +} |
| 59 | + |
| 60 | +// Spanish machine on VTech 6021 hardware, may be different between regions. |
| 61 | +ROM_START( magibooksp ) |
| 62 | + ROM_REGION( 0x10000, "maincpu", 0 ) |
| 63 | + ROM_LOAD( "internal.u200", 0x00000, 0x10000, NO_DUMP ) // Unknown internal ROM size, if any |
| 64 | + |
| 65 | + ROM_REGION( 0x11000000, "program", 0 ) |
| 66 | + ROM_LOAD( "vtech_magibook_tc58nvg1s3hta00.u302", 0x00000000, 0x11000000, CRC(035aa5ba) SHA1(b118954b764daab217d8b6b6785b0cedfcb88780) ) |
| 67 | +ROM_END |
| 68 | + |
| 69 | +} // anonymous namespace |
| 70 | + |
| 71 | + |
| 72 | +CONS( 2016, magibooksp, 0, 0, magibook, magibook, magibook_state, empty_init, "VTech", "MagiBook (Spanish)", MACHINE_NO_SOUND | MACHINE_NOT_WORKING | MACHINE_REQUIRES_ARTWORK ) |
0 commit comments