mirror of
https://github.com/holub/mame
synced 2025-07-01 16:19:38 +03:00
comebaby.cpp: make it to execute some opcodes (nw)
misc typo fixes (nw)
This commit is contained in:
parent
1f9a0e1f23
commit
c1658db271
@ -213,7 +213,8 @@
|
|||||||
</part>
|
</part>
|
||||||
</software>
|
</software>
|
||||||
|
|
||||||
<software name="necdemo">
|
<!-- Was "Executng", guess a typo? -->
|
||||||
|
<software name="necdemo" supported="no">
|
||||||
<description>NEC APC Self Executng Demo</description>
|
<description>NEC APC Self Executng Demo</description>
|
||||||
<year>198?</year>
|
<year>198?</year>
|
||||||
<publisher>NEC</publisher>
|
<publisher>NEC</publisher>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
American Laser Game Hardware
|
American Laser Game Hardware
|
||||||
|
|
||||||
Amiga 500 + sony ldp1450 laserdisc palyer
|
Amiga 500 + sony ldp1450 laserdisc player
|
||||||
|
|
||||||
Games Supported:
|
Games Supported:
|
||||||
|
|
||||||
|
@ -5,6 +5,8 @@
|
|||||||
|
|
||||||
TODO:
|
TODO:
|
||||||
Nearly everything.
|
Nearly everything.
|
||||||
|
- [:maincpu] WRMSR: invalid MSR write 00000250 (0404040404040404) at 0002e3b6
|
||||||
|
then jumps to 0?
|
||||||
|
|
||||||
There also appears to be a sequel which may be running on the same hardware, but which does not seem to have been released.
|
There also appears to be a sequel which may be running on the same hardware, but which does not seem to have been released.
|
||||||
Come On Baby - Ballympic Heroes! (c) 2001
|
Come On Baby - Ballympic Heroes! (c) 2001
|
||||||
@ -182,15 +184,15 @@ Nearly everything.
|
|||||||
|
|
||||||
#include "emu.h"
|
#include "emu.h"
|
||||||
#include "cpu/i386/i386.h"
|
#include "cpu/i386/i386.h"
|
||||||
|
#include "machine/pcshare.h"
|
||||||
#include "screen.h"
|
#include "screen.h"
|
||||||
|
|
||||||
|
|
||||||
class comebaby_state : public driver_device
|
class comebaby_state : public pcat_base_state
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
comebaby_state(const machine_config &mconfig, device_type type, const char *tag)
|
comebaby_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||||
: driver_device(mconfig, type, tag),
|
: pcat_base_state(mconfig, type, tag)
|
||||||
m_maincpu(*this, "maincpu")
|
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||||
@ -199,7 +201,6 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
|
|
||||||
// devices
|
// devices
|
||||||
required_device<cpu_device> m_maincpu;
|
|
||||||
|
|
||||||
// driver_device overrides
|
// driver_device overrides
|
||||||
virtual void video_start() override;
|
virtual void video_start() override;
|
||||||
@ -216,7 +217,14 @@ uint32_t comebaby_state::screen_update(screen_device &screen, bitmap_ind16 &bitm
|
|||||||
}
|
}
|
||||||
|
|
||||||
static ADDRESS_MAP_START( comebaby_map, AS_PROGRAM, 32, comebaby_state )
|
static ADDRESS_MAP_START( comebaby_map, AS_PROGRAM, 32, comebaby_state )
|
||||||
AM_RANGE(0x00000000, 0x0001ffff) AM_ROM
|
AM_RANGE(0x00000000, 0x0009ffff) AM_RAM
|
||||||
|
AM_RANGE(0x000a0000, 0x000bffff) AM_RAM
|
||||||
|
AM_RANGE(0x000c0000, 0x000fffff) AM_ROM AM_REGION("bios", 0)
|
||||||
|
AM_RANGE(0xfffc0000, 0xffffffff) AM_ROM AM_REGION("bios", 0)
|
||||||
|
ADDRESS_MAP_END
|
||||||
|
|
||||||
|
static ADDRESS_MAP_START( comebaby_io, AS_IO, 32, comebaby_state )
|
||||||
|
AM_IMPORT_FROM(pcat32_io_common)
|
||||||
ADDRESS_MAP_END
|
ADDRESS_MAP_END
|
||||||
|
|
||||||
static INPUT_PORTS_START( comebaby )
|
static INPUT_PORTS_START( comebaby )
|
||||||
@ -225,8 +233,11 @@ INPUT_PORTS_END
|
|||||||
|
|
||||||
MACHINE_CONFIG_START(comebaby_state::comebaby)
|
MACHINE_CONFIG_START(comebaby_state::comebaby)
|
||||||
/* basic machine hardware */
|
/* basic machine hardware */
|
||||||
MCFG_CPU_ADD("maincpu", PENTIUM, 2000000000) /* Probably a Pentium .. ?? Mhz*/
|
MCFG_CPU_ADD("maincpu", PENTIUM, (66666666*19)/2) /* Actually a Celeron */
|
||||||
MCFG_CPU_PROGRAM_MAP(comebaby_map)
|
MCFG_CPU_PROGRAM_MAP(comebaby_map)
|
||||||
|
MCFG_CPU_IO_MAP(comebaby_io)
|
||||||
|
|
||||||
|
MCFG_FRAGMENT_ADD( pcat_common )
|
||||||
|
|
||||||
/* video hardware */
|
/* video hardware */
|
||||||
MCFG_SCREEN_ADD("screen", RASTER)
|
MCFG_SCREEN_ADD("screen", RASTER)
|
||||||
@ -242,7 +253,7 @@ MACHINE_CONFIG_END
|
|||||||
|
|
||||||
|
|
||||||
ROM_START(comebaby)
|
ROM_START(comebaby)
|
||||||
ROM_REGION32_LE(0x80000, "maincpu", 0) /* motherboard bios */
|
ROM_REGION32_LE(0x80000, "bios", 0) /* motherboard bios */
|
||||||
ROM_LOAD("b1120iag.bin", 0x000000, 0x40000, CRC(9b6f95f1) SHA1(65d6a2fea9911593f093b2e2a43d1534b54d60b3) )
|
ROM_LOAD("b1120iag.bin", 0x000000, 0x40000, CRC(9b6f95f1) SHA1(65d6a2fea9911593f093b2e2a43d1534b54d60b3) )
|
||||||
|
|
||||||
DISK_REGION( "disks" )
|
DISK_REGION( "disks" )
|
||||||
|
Loading…
Reference in New Issue
Block a user