summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/pcfx.c
diff options
context:
space:
mode:
author Angelo Salese <angelosa@users.noreply.github.com>2012-08-23 13:24:03 +0000
committer Angelo Salese <angelosa@users.noreply.github.com>2012-08-23 13:24:03 +0000
commit7d5c6e56647fb0423442e3a3a601627df8db6adf (patch)
tree7f2fe5736f7c3c2e11efe36058fb398d18984761 /src/mess/drivers/pcfx.c
parent5f995d42a423811289af434aa0d59bd3c3cf0e56 (diff)
Template for King device
Diffstat (limited to 'src/mess/drivers/pcfx.c')
-rw-r--r--src/mess/drivers/pcfx.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mess/drivers/pcfx.c b/src/mess/drivers/pcfx.c
index 84e552c8008..ffdd718cc2f 100644
--- a/src/mess/drivers/pcfx.c
+++ b/src/mess/drivers/pcfx.c
@@ -11,6 +11,7 @@
#include "cpu/v810/v810.h"
#include "video/huc6261.h"
#include "video/huc6270.h"
+#include "video/huc6272.h"
typedef struct _pcfx_pad_t pcfx_pad_t;
@@ -165,7 +166,7 @@ static ADDRESS_MAP_START( pcfx_io, AS_IO, 32, pcfx_state )
AM_RANGE( 0x00000300, 0x000003FF ) AM_DEVREADWRITE16( "huc6261", huc6261_device, read, write, 0xffff ) /* HuC6261 */
AM_RANGE( 0x00000400, 0x000004FF ) AM_DEVREADWRITE8( "huc6270_a", huc6270_device, read, write, 0xffff ) /* HuC6270-A */
AM_RANGE( 0x00000500, 0x000005FF ) AM_DEVREADWRITE8( "huc6270_b", huc6270_device, read, write, 0xffff ) /* HuC6270-B */
- AM_RANGE( 0x00000600, 0x000006FF ) AM_NOP /* HuC6272 */
+ AM_RANGE( 0x00000600, 0x000006FF ) AM_DEVREADWRITE16( "huc6272", huc6272_device, read, write, 0xffff ) /* HuC6272 */
AM_RANGE( 0x00000C80, 0x00000C83 ) AM_NOP
AM_RANGE( 0x00000E00, 0x00000EFF ) AM_READWRITE16( irq_read, irq_write, 0xffff ) /* Interrupt controller */
AM_RANGE( 0x00000F00, 0x00000FFF ) AM_NOP
@@ -489,6 +490,7 @@ static MACHINE_CONFIG_START( pcfx, pcfx_state )
MCFG_HUC6270_ADD( "huc6270_a", pcfx_huc6270_a_config )
MCFG_HUC6270_ADD( "huc6270_b", pcfx_huc6270_b_config )
MCFG_HUC6261_ADD( "huc6261", XTAL_21_4772MHz, pcfx_huc6261_config )
+ MCFG_HUC6272_ADD( "huc6272", XTAL_21_4772MHz )
MACHINE_CONFIG_END