summaryrefslogtreecommitdiffstatshomepage
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/source/commandline/commandline-all.rst27
-rw-r--r--docs/source/commandline/commandline-index.rst1
2 files changed, 25 insertions, 3 deletions
diff --git a/docs/source/commandline/commandline-all.rst b/docs/source/commandline/commandline-all.rst
index ac3220aeb16..208cc9810d0 100644
--- a/docs/source/commandline/commandline-all.rst
+++ b/docs/source/commandline/commandline-all.rst
@@ -3923,7 +3923,9 @@ Core Misc Options
**-[no]drc**
- Enable DRC (dynamic recompiler) CPU core if available for maximum speed.
+ Enable DRC (dynamic recompiler) CPU cores if available. Turn this option
+ off to use interpreter CPU cores if available. This option does not affect
+ CPUs that only support one core type.
The default is ON (**-drc**).
@@ -3932,18 +3934,37 @@ Core Misc Options
mame ironfort -nodrc
+.. _mame-commandline-drcrwx:
+
+**\-[no]drc_rwx**
+
+ Allow DRC CPU cores to use memory that is simultaneously writable and
+ executable if supported. Turning this option off may decrease performance.
+ This option only affects DRC CPU cores, and has no effect in configurations
+ that do not allow memory to be simultaneously writable and executable (e.g.
+ recent versions of macOS and NetBSD).
+
+ The default is ON (**-drc_rwx**).
+
+ Example:
+ .. code-block:: bash
+
+ mame fiveside -nodrc_rwx
+
.. _mame-commandline-drcusec:
**\-[no]drc_use_c**
- Force DRC to use the C code backend.
+ Force DRC CPU cores to use the portable C code back-end when a native
+ back-end is available. This option only affects DRC CPU cores, and has no
+ effect if a native DRC back-end is not available.
The default is OFF (**-nodrc_use_c**).
Example:
.. code-block:: bash
- mame ironfort -drc_use_c
+ mame vamphalf -drc_use_c
.. _mame-commandline-drcloguml:
diff --git a/docs/source/commandline/commandline-index.rst b/docs/source/commandline/commandline-index.rst
index 8d3ee9f516a..07808ee4445 100644
--- a/docs/source/commandline/commandline-index.rst
+++ b/docs/source/commandline/commandline-index.rst
@@ -318,6 +318,7 @@ Core Misc Options
~~~~~~~~~~~~~~~~~
| :ref:`[no]drc <mame-commandline-drc>`
+| :ref:`[no]drc_rwx <mame-commandline-drcrwx>`
| :ref:`[no]drc_use_c <mame-commandline-drcusec>`
| :ref:`[no]drc_log_uml <mame-commandline-drcloguml>`
| :ref:`[no]drc_log_native <mame-commandline-drclognative>`