diff options
Diffstat (limited to 'src/mame/drivers/compucolor.cpp')
-rw-r--r-- | src/mame/drivers/compucolor.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mame/drivers/compucolor.cpp b/src/mame/drivers/compucolor.cpp index ce332b09492..04ac1b8895c 100644 --- a/src/mame/drivers/compucolor.cpp +++ b/src/mame/drivers/compucolor.cpp @@ -79,15 +79,17 @@ public: uint8_t m_xo; void compucolor2(machine_config &config); + void compucolor2_io(address_map &map); + void compucolor2_mem(address_map &map); }; -static ADDRESS_MAP_START( compucolor2_mem, AS_PROGRAM, 8, compucolor2_state ) +ADDRESS_MAP_START(compucolor2_state::compucolor2_mem) AM_RANGE(0x0000, 0x3fff) AM_ROM AM_REGION(I8080_TAG, 0) AM_RANGE(0x6000, 0x6fff) AM_MIRROR(0x1000) AM_RAM AM_SHARE("videoram") AM_RANGE(0x8000, 0xffff) AM_RAM ADDRESS_MAP_END -static ADDRESS_MAP_START( compucolor2_io, AS_IO, 8, compucolor2_state ) +ADDRESS_MAP_START(compucolor2_state::compucolor2_io) AM_RANGE(0x00, 0x0f) AM_MIRROR(0x10) AM_DEVICE(TMS5501_TAG, tms5501_device, io_map) AM_RANGE(0x60, 0x6f) AM_MIRROR(0x10) AM_DEVREADWRITE(CRT5027_TAG, crt5027_device, read, write) AM_RANGE(0x80, 0x9f) AM_MIRROR(0x60) AM_ROM AM_REGION("ua1", 0) |