summaryrefslogtreecommitdiffstatshomepage
path: root/docs/source/techspecs
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2016-11-28 19:16:39 +0100
committer Olivier Galibert <galibert@pobox.com>2016-11-28 19:16:39 +0100
commit0136468462dfe8d235bed2b3f2a4b501e5539b66 (patch)
tree5b53797ead8d7ff9ca8a721acd2051c6779ebdcb /docs/source/techspecs
parent4c0de7982e24e69214256db8a6974d36c30e8289 (diff)
dirom: Document the interface evalution [O. Galibert]
Diffstat (limited to 'docs/source/techspecs')
-rw-r--r--docs/source/techspecs/device_rom_interface.rst12
1 files changed, 9 insertions, 3 deletions
diff --git a/docs/source/techspecs/device_rom_interface.rst b/docs/source/techspecs/device_rom_interface.rst
index 5d5dbc26192..ab5eb18737b 100644
--- a/docs/source/techspecs/device_rom_interface.rst
+++ b/docs/source/techspecs/device_rom_interface.rst
@@ -28,11 +28,17 @@ Use that method at machine config time to provide an address map for
the bus to connect to. It has priority over a rom region if one is
also present.
+| **MCFG_DEVICE_ROM**\ (tag)
+
+Used to select a rom region to use if a device address map is not
+given. Defaults to DEVICE_SELF, e.g. the device tag.
+
| **ROM_REGION**\ (length, tag, flags)
-If a rom region with a tag identical to the device tag is provided in
-the rom description for the system, it will be automatically picked up
-as the connected rom. An address map has priority over the region if
+If a rom region with a tag as given with **MCFG_DEVICE_ROM** if
+present, or identical to the device tag otherwise, is provided in the
+rom description for the system, it will be automatically picked up as
+the connected rom. An address map has priority over the region if
present in the machine config.
| void **set_rom**\ (const void \*base, UINT32 size);