diff options
author | 2023-11-04 00:37:48 +1100 | |
---|---|---|
committer | 2023-11-04 00:37:48 +1100 | |
commit | 6e60af32c1e2c2a91937d9184778dad97182f36e (patch) | |
tree | c5645d074ecff8d23eba2d6e87bcd4587da0969d /docs/source/luascript | |
parent | ddbdbb3a616a704a9d0bb43731e424b2bf98ba2b (diff) |
sega/sega_beena.cpp: Added basic book page display.
sega_beena_cart.xml: Put page scans in individual data areas.
frontend/mame/luaengine_mem.cpp: Added a raw read function for memory
regions.
plugins/layout: Added bitmap classes to layout sandbox.
Diffstat (limited to 'docs/source/luascript')
-rw-r--r-- | docs/source/luascript/ref-mem.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/source/luascript/ref-mem.rst b/docs/source/luascript/ref-mem.rst index 24c16670c47..0987889d3dc 100644 --- a/docs/source/luascript/ref-mem.rst +++ b/docs/source/luascript/ref-mem.rst @@ -419,6 +419,12 @@ manager.machine.devices[tag]:memregion(tag) Methods ~~~~~~~ +region:read(offs, len) + Reads up to the specified length in bytes from the specified offset in the + memory region. The bytes read will be returned as a string. If the + specified length extends beyond the end of the memory region, the returned + string will be shorter than requested. Note that the data will be in host + byte order. region:read_i{8,16,32,64}(offs) Reads a signed integer value of the size in bits from the specified offset in the memory region. The offset is specified in bytes. Reading beyond the |