summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/hec2hrp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/hec2hrp.cpp')
-rw-r--r--src/mame/drivers/hec2hrp.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/hec2hrp.cpp b/src/mame/drivers/hec2hrp.cpp
index ecb73e3f77e..d4a5e2c17bf 100644
--- a/src/mame/drivers/hec2hrp.cpp
+++ b/src/mame/drivers/hec2hrp.cpp
@@ -121,6 +121,9 @@ ADDRESS_MAP_END
static ADDRESS_MAP_START(hec2hrp_mem, AS_PROGRAM, 8, hec2hrp_state )
/*****************************************************************************/
ADDRESS_MAP_UNMAP_HIGH
+ /* Main ROM page*/
+ AM_RANGE(0x0000,0x3fff) AM_ROM
+
/* Hardware address mapping*/
AM_RANGE(0x0800,0x0808) AM_WRITE(hector_switch_bank_w)/* Bank management*/
AM_RANGE(0x1000,0x1000) AM_WRITE(hector_color_a_w) /* Color c0/c1*/
@@ -130,9 +133,6 @@ static ADDRESS_MAP_START(hec2hrp_mem, AS_PROGRAM, 8, hec2hrp_state )
AM_RANGE(0x3000,0x3000) AM_READWRITE(hector_cassette_r, hector_sn_3000_w)/* Write necessary*/
AM_RANGE(0x3800,0x3807) AM_READWRITE(hector_keyboard_r, hector_keyboard_w) /* Keyboard*/
- /* Main ROM page*/
- AM_RANGE(0x0000,0x3fff) AM_ROM
-
/* Video br mapping*/
AM_RANGE(0x4000,0x49ff) AM_RAM AM_SHARE("videoram")
/* continous RAM*/
@@ -145,6 +145,9 @@ ADDRESS_MAP_END
static ADDRESS_MAP_START(hec2hrx_mem, AS_PROGRAM, 8, hec2hrp_state )
/*****************************************************************************/
ADDRESS_MAP_UNMAP_HIGH
+ /* Main ROM page*/
+ AM_RANGE(0x0000,0x3fff) AM_ROMBANK("bank2")
+
/* Hardware address mapping*/
AM_RANGE(0x0800,0x0808) AM_WRITE(hector_switch_bank_w)/* Bank management*/
AM_RANGE(0x1000,0x1000) AM_WRITE(hector_color_a_w) /* Color c0/c1*/
@@ -154,9 +157,6 @@ static ADDRESS_MAP_START(hec2hrx_mem, AS_PROGRAM, 8, hec2hrp_state )
AM_RANGE(0x3000,0x3000) AM_READWRITE(hector_cassette_r, hector_sn_3000_w)/* Write necessary*/
AM_RANGE(0x3800,0x3807) AM_READWRITE(hector_keyboard_r, hector_keyboard_w) /* Keyboard*/
- /* Main ROM page*/
- AM_RANGE(0x0000,0x3fff) AM_ROMBANK("bank2")
-
/* Video br mapping*/
AM_RANGE(0x4000,0x49ff) AM_RAM AM_SHARE("videoram")
/* continous RAM*/