mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
(nw) commit these address map changes while i can
This commit is contained in:
parent
d7f5f63ce8
commit
4eb6db5203
@ -22,13 +22,15 @@ DEFINE_DEVICE_TYPE(TMS1370, tms1370_cpu_device, "tms1370", "Texas Instruments TM
|
||||
|
||||
|
||||
// internal memory maps
|
||||
ADDRESS_MAP_START(tms1100_cpu_device::program_11bit_8)
|
||||
AM_RANGE(0x000, 0x7ff) AM_ROM
|
||||
ADDRESS_MAP_END
|
||||
void tms1100_cpu_device::program_11bit_8(address_map &map)
|
||||
{
|
||||
map(0x000, 0x7ff).rom();
|
||||
}
|
||||
|
||||
ADDRESS_MAP_START(tms1100_cpu_device::data_128x4)
|
||||
AM_RANGE(0x00, 0x7f) AM_RAM
|
||||
ADDRESS_MAP_END
|
||||
void tms1100_cpu_device::data_128x4(address_map &map)
|
||||
{
|
||||
map(0x00, 0x7f).ram();
|
||||
}
|
||||
|
||||
|
||||
// device definitions
|
||||
|
@ -27,10 +27,11 @@ DEFINE_DEVICE_TYPE(TP0320, tp0320_cpu_device, "tp0320", "Texas Instruments TP032
|
||||
|
||||
|
||||
// internal memory maps
|
||||
ADDRESS_MAP_START(tp0320_cpu_device::data_192x4)
|
||||
AM_RANGE(0x00, 0x7f) AM_RAM
|
||||
AM_RANGE(0x80, 0xbf) AM_RAM AM_MIRROR(0x40) // DAM
|
||||
ADDRESS_MAP_END
|
||||
void tp0320_cpu_device::data_192x4(address_map &map)
|
||||
{
|
||||
map(0x00, 0x7f).ram();
|
||||
map(0x80, 0xbf).ram().mirror(0x40); // DAM
|
||||
}
|
||||
|
||||
|
||||
// device definitions
|
||||
|
@ -25,9 +25,10 @@ const device_type HD61830B = HD61830;
|
||||
|
||||
|
||||
// default address map
|
||||
ADDRESS_MAP_START(hd61830_device::hd61830)
|
||||
AM_RANGE(0x0000, 0xffff) AM_RAM
|
||||
ADDRESS_MAP_END
|
||||
void hd61830_device::hd61830(address_map &map)
|
||||
{
|
||||
map(0x0000, 0xffff).ram();
|
||||
}
|
||||
|
||||
|
||||
// internal character generator ROM
|
||||
|
@ -27,9 +27,10 @@ DEFINE_DEVICE_TYPE(HUC6271, huc6271_device, "huc6271", "Hudson HuC6271 \"Rainbow
|
||||
// huc6271_device - constructor
|
||||
//-------------------------------------------------
|
||||
|
||||
ADDRESS_MAP_START(huc6271_device::data_map)
|
||||
AM_RANGE(0x000000, 0x0fffff) AM_RAM
|
||||
ADDRESS_MAP_END
|
||||
void huc6271_device::data_map(address_map &map)
|
||||
{
|
||||
map(0x000000, 0x0fffff).ram();
|
||||
}
|
||||
|
||||
huc6271_device::huc6271_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
|
||||
: device_t(mconfig, HUC6271, tag, owner, clock)
|
||||
|
@ -61,9 +61,10 @@ void msm6255_device::map(address_map &map)
|
||||
}
|
||||
|
||||
// default address map
|
||||
ADDRESS_MAP_START(msm6255_device::msm6255)
|
||||
AM_RANGE(0x00000, 0xfffff) AM_RAM
|
||||
ADDRESS_MAP_END
|
||||
void msm6255_device::msm6255(address_map &map)
|
||||
{
|
||||
map(0x00000, 0xfffff).ram();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -195,13 +195,14 @@ void sg1000_state::sc3000_io_map(address_map &map)
|
||||
|
||||
/* This is how the I/O ports are really mapped, but MAME does not support overlapping ranges
|
||||
void sg1000_state::sc3000_io_map(address_map &map)
|
||||
{
|
||||
map.global_mask(0xff);
|
||||
map(0x00, 0x00).mirror(0xdf).rw(UPD9255_TAG, FUNC(i8255_device::read), FUNC(i8255_device::write));
|
||||
map(0x00, 0x00).mirror(0x7f).w(SN76489AN_TAG, FUNC(sn76489a_device::write));
|
||||
map(0x00, 0x00).mirror(0xae).rw(TMS9918A_TAG, FUNC(tms9918a_device::vram_read), FUNC(tms9918a_device::vram_write));
|
||||
map(0x01, 0x01).mirror(0xae).rw(TMS9918A_TAG, FUNC(tms9918a_device::register_read), FUNC(tms9918a_device::register_write));
|
||||
map(0x60, 0x60).mirror(0x9f).r(this, FUNC(sg1000_state::sc3000_r_r));
|
||||
ADDRESS_MAP_END
|
||||
}
|
||||
*/
|
||||
|
||||
/*-------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user