diff options
Diffstat (limited to 'src/mame/drivers/chameleonrx1.cpp')
-rw-r--r-- | src/mame/drivers/chameleonrx1.cpp | 93 |
1 files changed, 93 insertions, 0 deletions
diff --git a/src/mame/drivers/chameleonrx1.cpp b/src/mame/drivers/chameleonrx1.cpp new file mode 100644 index 00000000000..89c55dd0b64 --- /dev/null +++ b/src/mame/drivers/chameleonrx1.cpp @@ -0,0 +1,93 @@ +// license:BSD-3-Clause +// copyright-holders: +/* + Chameleon RX-1 by Digital Sunnil, licensed to Covielsa for distribution in Spain + + Intel Pentium 4 2.66GHZ/512/533 + ASUS P4B533-M motherboard + 2x Samsung 256MB DDR PC2100 CL2.5 RAM + SUMA GFX 5600X 128MB (Model SV3MDN0) + Sound Blaster Live! 5.1 Digital (Model SB0220) + Samsung SP6003H/OMD REV. A PUMA 60.0 GB +*/ + +#include "emu.h" +#include "cpu/i386/i386.h" +#include "screen.h" + +class chameleonrx1_state : public driver_device +{ +public: + chameleonrx1_state(const machine_config &mconfig, device_type type, const char *tag) + : driver_device(mconfig, type, tag), + m_maincpu(*this, "maincpu") + { } + + void chameleonrx1(machine_config &config); + +private: + required_device<cpu_device> m_maincpu; + + virtual void machine_start() override; + virtual void machine_reset() override; + virtual void video_start() override; + uint32_t screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect); + void chameleonrx1_map(address_map &map); +}; + +void chameleonrx1_state::video_start() +{ +} + +uint32_t chameleonrx1_state::screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect) +{ + return 0; +} + +void chameleonrx1_state::chameleonrx1_map(address_map &map) +{ +} + +static INPUT_PORTS_START( chameleonrx1 ) +INPUT_PORTS_END + + +void chameleonrx1_state::machine_start() +{ +} + +void chameleonrx1_state::machine_reset() +{ +} + +void chameleonrx1_state::chameleonrx1(machine_config &config) +{ + /* basic machine hardware */ + PENTIUM4(config, m_maincpu, 100000000); // actually 2.66 GHz + m_maincpu->set_addrmap(AS_PROGRAM, &chameleonrx1_state::chameleonrx1_map); + + /* video hardware */ + screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER)); + screen.set_refresh_hz(60); + screen.set_vblank_time(ATTOSECONDS_IN_USEC(0)); + screen.set_size(640, 480); + screen.set_visarea(0, 640-1, 0, 480-1); + screen.set_screen_update(FUNC(chameleonrx1_state::screen_update)); +} + +/*************************************************************************** + + Game drivers + +***************************************************************************/ + +ROM_START( chamrx1 ) + ROM_REGION(0x40000, "bios", 0) \ + ROM_LOAD("p45m6_1010_c728_gm_u5_sst49lf002a.u26", 0x00000, 0x40000, CRC(2dd3d3eb) SHA1(5bf639442807cc1aa2ad910817a2e8d2a80e7226) ) + + DISK_REGION( "ide:0:hdd:image" ) // S/N: 0488J1FW313240 LBA 117,304,992 + DISK_IMAGE( "chamrx1", 0, SHA1(01da428b8aa347222856afbdfe9dbc083ae2171c) ) +ROM_END + + +GAME( 2003, chamrx1, 0, chameleonrx1, chameleonrx1, chameleonrx1_state, empty_init, ROT0, "Digital Sunnil (Covielsa license)", "Chameleon RX-1", MACHINE_IS_SKELETON ) |