summaryrefslogtreecommitdiffstatshomepage
path: root/docs/source/techspecs
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2022-08-24 03:45:50 +1000
committer Vas Crabb <vas@vastheman.com>2022-08-24 03:45:50 +1000
commit74fa8ec1585fe4ce7dd906216ab51755962177c9 (patch)
treea5df4460379c52e7eff6360c628ca1c940e06089 /docs/source/techspecs
parentdf6884eee7a7a35cd4c8de18b7ae63ed9d899665 (diff)
-nintendo/gb.cpp: Use taps to handle the boot ROM overlay.
-Moved some stuff out of misc and skeleton: * Moved Innovative Concepts machines to their own project. * Moved various things out of skeleton to existing company projects.
Diffstat (limited to 'docs/source/techspecs')
-rw-r--r--docs/source/techspecs/luareference.rst14
1 files changed, 8 insertions, 6 deletions
diff --git a/docs/source/techspecs/luareference.rst b/docs/source/techspecs/luareference.rst
index 8e1f4151936..b1d4334e9fb 100644
--- a/docs/source/techspecs/luareference.rst
+++ b/docs/source/techspecs/luareference.rst
@@ -1502,9 +1502,10 @@ space:install_read_tap(start, end, name, callback)
a string, and the callback must be a function.
The callback is passed three arguments for the access offset, the data read,
- and the memory access mask. To modify the data being read, return the
- modified value from the callback function as an integer. If the callback
- does not return an integer, the data will not be modified.
+ and the memory access mask. The offset is the absolute offset into the
+ address space. To modify the data being read, return the modified value
+ from the callback function as an integer. If the callback does not return
+ an integer, the data will not be modified.
space:install_write_tap(start, end, name, callback)
Installs a :ref:`pass-through handler <luareference-mem-tap>` that will
receive notifications on write to the specified range of addresses in the
@@ -1512,9 +1513,10 @@ space:install_write_tap(start, end, name, callback)
a string, and the callback must be a function.
The callback is passed three arguments for the access offset, the data
- written, and the memory access mask. To modify the data being written,
- return the modified value from the callback function as an integer. If the
- callback does not return an integer, the data will not be modified.
+ written, and the memory access mask. The offset is the absolute offset into
+ the address space. To modify the data being written, return the modified
+ value from the callback function as an integer. If the callback does not
+ return an integer, the data will not be modified.
Properties
^^^^^^^^^^