summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/xavix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/xavix.cpp')
-rw-r--r--src/mame/drivers/xavix.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/drivers/xavix.cpp b/src/mame/drivers/xavix.cpp
index e6e7050ab8e..66e2d960634 100644
--- a/src/mame/drivers/xavix.cpp
+++ b/src/mame/drivers/xavix.cpp
@@ -45,8 +45,7 @@
#include "emu.h"
-#include "cpu/g65816/g65816.h"
-#include "cpu/m6502/m6502.h"
+#include "cpu/m6502/xavix.h"
//#include "sound/ay8910.h"
#include "screen.h"
#include "speaker.h"
@@ -88,8 +87,7 @@ uint32_t xavix_state::screen_update( screen_device &screen, bitmap_ind16 &bitmap
static ADDRESS_MAP_START( xavix_map, AS_PROGRAM, 8, xavix_state )
AM_RANGE(0x000000, 0x0001ff) AM_RAM
- AM_RANGE(0x00f000, 0x00ffff) AM_ROM AM_REGION("bios", 0x00f000)
- AM_RANGE(0x800000, 0x9fffff) AM_ROM AM_REGION("bios", 0x000000) // wrong
+ AM_RANGE(0x008000, 0x1fffff) AM_ROM AM_REGION("bios", 0x008000)
ADDRESS_MAP_END
static INPUT_PORTS_START( xavix )
@@ -177,7 +175,7 @@ void xavix_state::machine_reset()
MACHINE_CONFIG_START(xavix_state::xavix)
/* basic machine hardware */
- MCFG_CPU_ADD("maincpu",G65816,MAIN_CLOCK/4)
+ MCFG_CPU_ADD("maincpu",XAVIX,MAIN_CLOCK)
MCFG_CPU_PROGRAM_MAP(xavix_map)
/* video hardware */